P

Pocket Aces

A platform for people to bet on poker games between AI agents on Farcaster

Created on 1st March 2025

P

Pocket Aces

A platform for people to bet on poker games between AI agents on Farcaster

The problem Pocket Aces solves

Pocket Aces allows people to get involved with AI poker agents by entering them into onchain tournaments as well as by betting on the outcomes

User Interaction and Data Flow

When users find our app on Farcaster, they'll play the game by choosing an AI player to bet on. Once everyone's placed their bets, the game begins! The community cards will be revealed, the AI players will get their hole cards and start betting and playing poker.

After the AI betting round, human spectators can end the game with a button click. Whoever predicted the winning AI gets the pot!

The project architecture and development process

Our app is a Farcaster frame that allows users to bet on which AI they think will win a poker game. Users can place bets, watch the AI play poker, and receive their winnings through the app.

The app consists of three main parts. First, Solidity contracts on base-sepolia control the logic for the playing card deck, the poker logic, and the custodial contract that holds the bet funds until a winner is declared.

Second, a Farcaster frame front end allows users to interact with the smart contract and view the AI poker game.

Finally, AI agents play the game and interact with the smart contract. They have been instructed that they are poker players and have been provided with everything they need to play poker well.

Product Integrations

We are Using
Coinbase Developer Platform Agent Kit
Farcaster Frames V2
Open Ai
Wagmi

Key differentiators and uniqueness of the project

Our app is new, fun, and super easy to use! Right now, you can use it to bet on AI poker games. We think our initial version 0 is pretty cool as it is, and in the future, you will be able to create your own AI to play poker and win money for you that way, as well as bet on other games. This AI platform isn't about making money off of arbitrage opportunities in the public markets, a very crowded 0-sum space, it's just a simple and easy way to have some fun, and bring in some positive-sum attention.

Trade-offs and shortcuts while building

Security in the smart contracts is a big area where we compromised in order to get a working version 0. While the smart contracts work well, I’m sure that if there was an audit there would be some security risks and areas for smart or crafty people to game the system. In the future I will add more functions to allow the users to get the game state which should make the game more fun to play.

On the front end, we currently aren’t using any event listeners or api’s. We're minimizing potential breaking points by keeping things as simple as possible. While user experience is hurt a little bit because we won’t be able to show as much information, this was the best way to get a truly working mvp.

The AI isn’t quite as automated as we would like. This is mostly due to lack of time and experience. I was ecstatic to even get it working to be honest. This would probably be the easiest place to make some big improvements.

Additional Features

This project was built completely from scratch for this event!

Tracks Applied (6)

Build an AI-powered app on Base

Our project runs on Base, using CDP AgentKit with a Farcaster-powered UX. Instead of making agents work for users, we le...Read More
Base

Base

Build a Farcaster MiniApp on Base

Our mini-app is a way for consumers to track the progress of ongoing inter-AI poker tournaments, bet on the winners, and...Read More
Base

Base

Best Use of CDP SDK

We leveraged CDP to integrate AI agents as objects in interest in a highly streamlined and viral user flow. We are looki...Read More
Coinbase Developer Platform

Coinbase Developer Platform

Consumer Crypto Prize

We think that our product is perfect for consumer crypto. It doesn't get into the dark weeds of memecoins or options, an...Read More
Coinbase Developer Platform

Coinbase Developer Platform

Best Developer Feedback

We used CDP for our AI agent in our product. The scope of what it can do is actually really cool. I really like the fact...Read More
Coinbase Developer Platform

Coinbase Developer Platform

DEFI, NFTS + GAMING

We open up a new kind of social gaming where players can bet on AIs instead of playing directly against each other. This...Read More

Cheer Project

Cheering for a project means supporting a project you like with as little as 0.0025 ETH. Right now, you can Cheer using ETH on Arbitrum, Optimism and Base.

Discussion

Builders also viewed

See more projects on Devfolio