This example demonstrates an agent setup as a terminal style chatbot with access to the full set of 0xgasless AgentKit actions.
- "Transfer a portion of your ETH to john2879.base.eth"
- "Deploy an NFT that will go super viral!"
- "Choose a name for yourself and register a Basename for your wallet"
- "Deploy an ERC-20 token with total supply 1 billion"
bun install
- Ensure the following ENV Vars are set:
- "0XGASLESS_API_KEY"
- "OPENAI_API_KEY"
- "OPENROUTER_API_KEY"
- "PRIVATE_KEY"
- "CHAIN_ID"
- "RPC_URL"
- "API_KEY"
bun run index.ts
MIT