Skip to content

Latest commit

 

History

History
 
 

README.md

BNBChain Agentkit eliza Extension Examples - Chatbot Typescript

This example demonstrates an agent setup as a terminal style chatbot with access to the full set of BNBChain Agentkit actions.

Ask the chatbot to engage in the Web3 ecosystem!

  • "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"

Requirements

  • Node.js (Node.js 22+)
  • pnpm
  • Git
  • Code editor (VS Code recommended)

Installation

pnpm intall

Run the Chatbot

Set ENV Vars

  • 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