bnb-chain-dev

Configure and deploy BEP-20 smart contracts on BSC and opBNB using Hardhat or Foundry.

1|Updated Mar 21, 2026
One-click install
npx skills add https://github.com/barolivera/avalon --skill bnb-chain-dev
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: bnb-chain-dev
Source: https://github.com/barolivera/avalon/tree/main/docs/skills/bnb-chain-dev
Command: npx skills add https://github.com/barolivera/avalon --skill bnb-chain-dev

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Streamline BNB Chain development by providing a coherent approach to configuring Hardhat/Foundry projects for BSC, deploying contracts, and integrating BEP-20 tokens and dApps on BSC and opBNB.

Core Features & Use Cases

  • Setup and configuration for BSC mainnet, testnet, and opBNB with consistent tooling.
  • Deploy BEP-20 tokens and dApps, with deployment verification workflows.
  • Interoperability with PancakeSwap for liquidity and token integration.
  • Use Case: Launch a BEP-20 token and deploy a simple dApp on BSC Testnet, then verify and monitor on-chain.

Quick Start

Install dependencies and run the Hardhat or Foundry project configured for BSC Testnet to deploy your first contract.

Frequently Asked Questions about bnb-chain-dev

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I deploy a BEP-20 token on BNB Chain testnet?

To deploy a BEP-20 token on BNB Chain testnet, configure a Hardhat or Foundry project with BSC RPC endpoints, write your contract, and execute the deployment script to push it to the network.

What's the best way to configure Hardhat for BSC and opBNB?

Configuring Hardhat for BSC and opBNB requires setting up specific RPC endpoints in your network configuration file, ensuring consistent tooling across mainnet and testnet scenarios for seamless smart contract deployment.

Does Foundry work with PancakeSwap integration for BNB Chain dApps?

Foundry works with PancakeSwap integration by deploying BEP-20 tokens and configuring dApp interactions on BSC, enabling liquidity provisioning and token integration through consistent deployment workflows on BNB Chain.

How do I verify smart contracts on BSC after deployment?

Verifying smart contracts on BSC involves running verification workflows through Hardhat or Foundry after deployment, submitting contract code and ABI to block explorers to ensure transparency and on-chain monitoring capabilities.

Can I use the same toolchain for BSC mainnet and opBNB deployments?

Yes, you can use the same Hardhat or Foundry toolchain for BSC mainnet and opBNB deployments by adjusting RPC endpoints and network configurations, ensuring consistent setup across different BNB Chain environments.

What are the prerequisites for BNB Chain smart contract development?

Prerequisites for BNB Chain smart contract development include a configured Hardhat or Foundry toolchain, proper BSC RPC endpoints, and deployment scripts ready for BEP-20 token and dApp verification workflows.