Star 历史趋势
数据来源: GitHub API · 生成自 Stargazers.cn
README.md

Example Hub

A hub of frontend, agent kits, and smart contract examples for BNB Chain developers. Build and innovate with ready-to-use resources.

Table of Contents

Quick Start

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.

Example List

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.

NameLanguageDescriptionTags
go/eip7702GoEIP-7702 implementation for BNB ChainSmart Contract, EIP
go/tg-token-launchGoTelegram bot for token launch automationBot, Token Launch
python/langchain-chatbotPythonA chatbot example using LangChainAI, BSC, opBNB
python/pancacke-swapPythonPancakeSwap integration exampleDeFi, DEX, BSC
python/ai-wallet-reputation-nftPythonAI-generated, soulbound reputation NFTs on BNB ChainAI, NFT, Reputation
typescript/bnbchain-mcpTypeScriptAI-powered blockchain assistant using ClaudeAI, BSC, MCP
typescript/eliza-chatbotTypeScriptA chatbot example using Eliza plugin-bnbAI, BSC, opBNB
typescript/ai-trading-assistantTypescriptAI-powered trading assistant for BNB Chain ecosystem with real USDT→BNB swaps via PancakeSwap, technical analysis, and natural language interfaceBNBChain, trading, analysis, PancakeSwap, AI, MCP
More examples are coming soon—stay tuned for updates!

How to Add a New Example

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.

Development Setup

To maintain code consistency, install these VS Code extensions before you begin:

  • Python Development: We use Black for Python code formatting. Install the Black Formatter..
  • TypeScript Development: We use Prettier for formatting TypeScript code. Install Prettier.

Steps to Add a New Example

  1. Fork the repository to your GitHub account.
  2. Create a feature branch with a descriptive name (e.g., feature/new-example).
  3. Run npm run generate:new-example to automatically create the required files and folder structure.
  4. Develop and test your example to ensure it functions as intended.
  5. Submit a pull request for review once all changes are finalized.

Additional Notes

  • Ensure your example works fully and is well-documented for ease of use.
  • Stick to the coding standards to keep the repository consistent.
  • For questions or support, open an issue or reach out to the maintainers.

Feedback

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.

关于 About

A hub of frontend, agent kits, and smart contract examples for BNB Chain developers. Build and innovate with ready-to-use resources.

语言 Languages

TypeScript38.0%
Python23.2%
Go18.2%
HTML11.8%
JavaScript5.9%
Solidity2.5%
CSS0.4%

提交活跃度 Commit Activity

代码提交热力图
过去 52 周的开发活跃度
10
Total Commits
峰值: 4次/周
Less
More

核心贡献者 Contributors