BNB Chain 开发者的前端、代理套件和智能合约示例集合。使用即时可用的资源进行构建和创新。
A hub of frontend, agent kits, and smart contract examples for BNB Chain developers. Build and innovate with ready-to-use resources.
To quickly set up and run a demo locally or kickstart a new project based on an existing demo, use the following command:
npx create-bnb-app@latest --example [example-name]This command downloads and sets up the specified example (replace [example-name] with an option from
the Example List).
After setup, navigate to the project directory and follow the example's README.md instructions to run it.
Explore a variety of examples for different implementations below. The table includes each example's name, programming language, description, and tags to help you find what you need quickly.
| Name | Language | Description | Tags |
|---|---|---|---|
| go/eip7702 | Go | EIP-7702 implementation for BNB Chain | Smart Contract, EIP |
| go/tg-token-launch | Go | Telegram bot for token launch automation | Bot, Token Launch |
| python/langchain-chatbot | Python | A chatbot example using LangChain | AI, BSC, opBNB |
| python/pancacke-swap | Python | PancakeSwap integration example | DeFi, DEX, BSC |
| python/ai-wallet-reputation-nft | Python | AI-generated, soulbound reputation NFTs on BNB Chain | AI, NFT, Reputation |
| typescript/bnbchain-mcp | TypeScript | AI-powered blockchain assistant using Claude | AI, BSC, MCP |
| typescript/eliza-chatbot | TypeScript | A chatbot example using Eliza plugin-bnb | AI, BSC, opBNB |
| typescript/ai-trading-assistant | Typescript | AI-powered trading assistant for BNB Chain ecosystem with real USDT→BNB swaps via PancakeSwap, technical analysis, and natural language interface | BNBChain, trading, analysis, PancakeSwap, AI, MCP |
| More examples are coming soon—stay tuned for updates! |
Contributing a new example is a fantastic way to support the BNB Chain developer community. Follow these steps to ensure your submission is seamless and aligns with the repository's standards.
To maintain code consistency, install these VS Code extensions before you begin:
feature/new-example).npm run generate:new-example to automatically create the required files and folder structure.Have ideas to improve this hub or run into any issues? We'd love to hear from you! Please share your thoughts via GitHub Issues. Your feedback helps us enhance this resource for all developers.
暂无开放 Issues,或尚未同步最近议题。