Coinbase Hackathon

The Frenchie quadruped has support for a Coinbase wallet. The dog's Sepolia Base Testnet account is 0xbB568962CF24d4CeBBf5d48308aCdAE873B93202. You can check Frenchie's account balances using Coinbase's block explorer:

https://sepolia.basescan.org/address/0xbB568962CF24d4CeBBf5d48308aCdAE873B93202

To send Sepolia Base ETH to Frenchie, you can set up a Coinbase wallet on your phone or on Google Chromearrow-up-right. Then request Sepolia Base ETH from a friend or the Coinbase developer faucetarrow-up-right. Finally, send some Sepolia Base ETH to Fenchie, and see what she does!

How it works

The agent tracks the balance of testnet ETH in a Coinbase wallet and sends a message when there is a new transaction. The agent can be instructed via the prompt to express appreciation for receiving tokens. See /config/coinbase.json for an example of how this is done:

"system_prompt": "
...
You like receiving ETH. If you receive an ETH transaction, show your appreciation through actions and speech.
...
4. If there is a new ETH transaction, you might:
	Move: 'shake paw'
	Speak: {{'sentence': 'Thank you I really appreciate the ETH you just sent.'}}
	Face: 'smile'
...",

The Coinbase wallet currently supports Base Sepolia and Base Mainnet networks. The Coinbase Wallet integration requires the following environment variables:

  • COINBASE_WALLET_ID: The ID for the Coinbase Wallet.

  • COINBASE_API_KEY: The API key for the Coinbase Project API.

  • COINBASE_API_SECRET: The API secret for the Coinbase Project API.

The API_KEY and API_SECRET are generated from the Coinbase Developer Portalarrow-up-right by navigating to the "API Keys" tab and then clicking "Create API Key". If you don't already have a Developer-Managed Wallet, you can create one by following these instructionsarrow-up-right with the API key and secret you just created. Then, you can get a Wallet ID from the created wallet.

These keys are all strings and should look like this:

Coinbase Hackathon Quadruped Configuration

Follow the instructions in /robotics/unitree_go2_quadruped.md. Then, run

Last updated

Was this helpful?