Guess riddles given by LLM agent and win eth! Bring your money or imagination!
Prize Pool
The project is a simple game which incorporates two parties, the LLM agent and the user. The LLM agent holds control of a smart contract and a wallet. The user can join the game by first staking some eth to this contract and then the agent will give riddles to the user. The user will get his money back and win some extra eth if he/she can solve the riddle in a limited queries and one submission. Otherwise, the staked eth is stored chain and thus the rewarding pool is increasing.
The project can be divided into roughly four parts. The first is frontend, which is built by next framework in typescript. It includes a chatbox connected with the agent and some buttons to interact with the contract, such as staking and submitting the guess. Then we have smart contract on chain. It's a simple contract with obvious functions like receiving staked eth. Note that the agent will submit the committed riddle answer to it so that the user can get his money back once his answer can be hashed to the same committed value. Of course, the submission has a deadline which is checked by timestamps of new blocks. Then, here comes the agent, which is connected by an API key. Finally, the backend. We built the backend using Django framework in python in coordination with agent. It receives API call from the frontend and invoke the agent, pass the interaction between two parties.