A simple onchain AI app for reinforcement learning from human feedback.
NAME
: Enter the name of your downloaded CDP API key.PRIVATE_KEY
: Enter the private key of your downloaded CDP API key.WALLET_DATA
: Enter the seed data of your wallet, if you have an existing wallet. Leave it empty if you want a new wallet to be created for the agent. Refer to the persisting wallet section to see how to fetch wallet data.WALLET_DATA
env var is not set.
faucet
method.
createTransfer
to send crypto from the AI agent’s wallet to the user wallet after the user has completed their task.
balances
to get the balance of the AI agent’s wallet after sending crypto to the user.