This example demonstrates an agent setup as a terminal style chatbot with access to the full set of BNBChain Agentkit actions.
- "Transfer a portion of your BNB to a random address"
- "What is the price of BNB?"
- "Deploy an NFT that will go super viral!"
- "Deploy an BEP-20 token with total supply 1 billion"
- Node.js (Node.js 22+)
- pnpm
- Git
- Code editor (VS Code recommended)
pnpm intall- Ensure the following ENV Vars are set:
- OPENAI_API_KEY
- BNB_PRIVATE_KEY
- BNB_PUBLIC_KEY (optional)
- BSC_PROVIDER_URL (optional)
- OPBNB_PROVIDER_URL (optional)
pnpm start