bnb-chain
Basic BNB Chain operations — check balances, send BNB, send BEP-20 tokens.
Best use case
bnb-chain is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Basic BNB Chain operations — check balances, send BNB, send BEP-20 tokens.
Teams using bnb-chain should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/bnb-chain/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How bnb-chain Compares
| Feature / Agent | bnb-chain | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Basic BNB Chain operations — check balances, send BNB, send BEP-20 tokens.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# BNB Chain Skill Basic operations on BNB Chain (BSC). Check balances and send transactions. ## Setup Requires Node.js and ethers.js: ```bash cd ~/.openclaw/workspace/skills/bnb-chain && npm install ethers --silent ``` ## Configuration Store your private key securely. The skill reads from environment variable: ```bash export BNB_PRIVATE_KEY="0x..." ``` Or pass it directly to the helper script. ## Usage All operations use the helper script: `bnb.js` ### Check BNB Balance ```bash node bnb.js balance <address> ``` Example: ```bash node bnb.js balance 0x9787436458A36a9CC72364BaC18ba78fdEf83997 ``` ### Check BEP-20 Token Balance ```bash node bnb.js token-balance <token_address> <wallet_address> ``` Example (USDT): ```bash node bnb.js token-balance 0x55d398326f99059fF775485246999027B3197955 0x9787436458A36a9CC72364BaC18ba78fdEf83997 ``` ### Send BNB ```bash node bnb.js send <to_address> <amount_bnb> [--key <private_key>] ``` Example: ```bash node bnb.js send 0xRecipient 0.01 --key 0xYourPrivateKey ``` ### Send BEP-20 Token ```bash node bnb.js send-token <token_address> <to_address> <amount> [--key <private_key>] ``` Example (send 10 USDT): ```bash node bnb.js send-token 0x55d398326f99059fF775485246999027B3197955 0xRecipient 10 --key 0xYourPrivateKey ``` ### Get Wallet Address from Private Key ```bash node bnb.js address <private_key> ``` ### Get Transaction Details ```bash node bnb.js tx <tx_hash> ``` ## Common Token Addresses (BSC Mainnet) | Token | Address | |-------|---------| | USDT | `0x55d398326f99059fF775485246999027B3197955` | | USDC | `0x8AC76a51cc950d9822D68b83fE1Ad97B32Cd580d` | | BUSD | `0xe9e7CEA3DedcA5984780Bafc599bD69ADd087D56` | | WBNB | `0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c` | ## RPC Endpoints Default: `https://bsc-dataseed.binance.org/` Alternatives: - `https://bsc-dataseed1.binance.org/` - `https://bsc-dataseed2.binance.org/` - `https://bsc-dataseed3.binance.org/` - `https://bsc-dataseed4.binance.org/` ## Security Notes - **Never commit private keys** to git - Use environment variables or secure storage - Double-check recipient addresses before sending - Start with small test amounts
Related Skills
langchain-email-agent
The `EmailAgent` class provides an AI-powered email composition and sending capability using LangChain.
keychains
Call any API without leaking credentials.
langchain-chat-prompt-template
Guide to using ChatPromptTemplate and MessagesPlaceholder in LangChain for conversational AI. Use when building chatbots, conversational interfaces, or AI assistants that need to maintain conversation history.
introduction-to-prompt-templates-in-langchain-come-35ee588c
create a “summarize article” template and reuse it anytime you want
introduction-to-prompt-templates-in-langchain-come-31d3d731
Templates in LangChain - Comet Build AI tools in our virtual hackathon | $30,000 in prizes
dex-multichain-aggregator-teneo
Advanced multichain DEX aggregator. Finds the best token swap routes across 50+ decentralized exchanges on 9+ blockchain networks (Ethereum, BSC, Polygon, Arbitrum, Optimism, Base, Avalanche, Gnosis,
onchain-skill-audit
On-chain skill provenance registry.
blockchain_attestation
Create verifiable attestations of agent work using Ethereum Attestation Service (EAS), with Base as the default chain.
clawchain-contributor
Help agents contribute to ClawChain - the Layer 1 blockchain for autonomous agents. Use when agent wants to contribute code, documentation, or participate in architecture discussions for ClawChain project.
onchain
CLI for crypto portfolio tracking, market data, and CEX history. Use when the user asks about crypto prices, wallet balances, portfolio values, Coinbase/Binance holdings, or Polymarket predictions.
stream-chain
Stream-JSON chaining for multi-agent pipelines, data transformation, and sequential workflows
paylock
Non-custodial SOL escrow for AI agent deals.