Inspiration
SOL provides a billion of amazing use cases to gamify human activities. Debates on social media is a valuable social phenomenon. I found a way to integrate AI agents based on LLMs in SOL blockchain to gamify debates among online users with SOL wallets.
What it does
In this game, any user can connect their SOL wallet to participate in debates. The goal is to win a debate against a LLM. If user provides clear and persuasive arguments, the user takes the whole bank, composed of donations made by participants in SOL.
How we built it
The backend codebase is written on Node.js and express. OpenAI API is utilized to perform LLM tasks. Prisma CLI coordinates a MySQL database hosted on AWS RDS. The SOL smart-contract written on Rust is deployed to the devnet of Solana. The frontend is based on React and utlizies numerous libraries, like @solana/web3.js and Phantom Wallet Adapter.
Challenges we ran into
It was my first time working with SOL blockchain, and Anchor deployment tools brought some interesting challenges. However, I managed to overcome it by using alternative Solana tools for smart-contract deployment on Solana devnet.
Accomplishments that we're proud of
The website is fully functional, allowing to fully utilize capabilities of the decentralized and transparent smart-contract on SOL blockchain. I'm proud to contribute to the development of social interactions via blockchain!
What we learned
I learned a ton about SOL development and wallet integration in the web.
What's next for Solbate
Solbate can extend to facilitate debates between two teams of real users. There can be only one LLM agent acting as a judge for the two teams. Additionally, even this role could be replaced by a voting logic provided by a SOL smart-contract.
Built With
- amazon-web-services
- anchor
- llm
- mysql
- node.js
- openai
- prisma
- react
- rust
- solana
Log in or sign up for Devpost to join the conversation.