Inspiration

The main inspiration for this project is to create a simple and efficient real estate website dedicated to helping new home buyers in both browsing for their perfect match with assistance from Gemini LLM, and also providing a safe and reliable payment platform.

What it does

The main functionalities of this website is the map, which displays all available listings, and a map that shows the location of each listing. It also has a chat feature utilizing Gemini to search our database and return the listings that satisfy the user's requirement and each of the listing details. Lastly, we implemented a full escrow payment process by utilizing a smart contract network such as TRON.

How we built it

We started off with the frontend designs, coming up with the general looks of each page, and then we started the development of the codebase for the frontend, specifically the map page and chat page. We then did some prompt engineering to enable Gemini to interface with the Go backend. This enabled Gemini to make SQL queries to our DB. Lastly, we worked on implementing the smart contracts to fully replace the escrow agent. With blockchain, we can have a unbiased third-party validate each home transaction. The smart contract will hold the buyer's payment until the house is officially transferred to the owner. There are provided conditions under which the buyer and seller can back out. Blockchain made this process transparent and secure. Side note: we can also use a stablecoin like USDT to avoid the volatility of the base cryptocurrency.

Challenges we ran into

On the day of submission, we encountered issues with the Google API because a new field was introduced to the API response. This broke the Golang SDK. Luckily this was reverted on 05/03, which means it is now working again. This was a struggle because it took significant time to debug and realize the issue was not actually on our end.

What we learned

  • Golang
  • Solidity
  • Prompt engineering

Accomplishments we're proud of

We were able to enable Gemini to interface with the outside world, through intelligent prompt design. Gemini can signal to the backend certain hidden commands and intents that enable it to perform different actions such as querying a DB.

Full escrow functionality using smart contracts.

What's next for KeyFi

We will create the seller side of the escrow service that would streamline selling real estate. This end-to-end service would utilize AI to verify the home listings within the MLS system, appraise homes with comparative market analysis, and act as an intermediary between the buyer and seller to close a transaction. The product would eliminate transaction costs between buyers and sellers and streamline the purchasing of real estate.

Share this project:

Updates