How to Create a BEP20 Token on BNB Smart Chain
A BEP20 token is a smart contract on BNB Smart Chain that follows the BEP20 standard. Here is how to build, test and deploy one with Remix and OpenZeppelin.
On this page
Short answer
A BEP20 token is a fungible token on BNB Smart Chain, created by deploying a smart contract that follows the BEP20 standard. You write the contract in Solidity, usually by reusing OpenZeppelin's audited ERC-20 code, compile and deploy it with the Remix IDE, test it on the BSC testnet first, then deploy it on mainnet and verify the source on BscScan.
What is a BEP20 token?
A BEP20 token is a fungible token on BNB Smart Chain that follows the BEP20 standard, a shared set of functions every compliant token implements. The standard defines how a token reports its name, symbol and supply, how balances are read, and how transfers and approvals work, so wallets, explorers and exchanges can handle any BEP20 token without custom code for each one.
BEP20 is the BNB Smart Chain version of Ethereum's ERC-20 standard. Because BNB Smart Chain runs the Ethereum Virtual Machine, the two are near-identical in practice: the same OpenZeppelin ERC-20 contract that works on Ethereum works as a BEP20 token on BNB Smart Chain. The difference is the network it runs on, not the code.
Creating a token does not create a coin. BNB is the chain's native asset; a token is a contract that lives on the chain. A deployed token also has no price, no liquidity and no listing on its own. Those come later, from a liquidity pool, an exchange listing or a market that wants the token. For the wallet side of the same chain, see how to build a BEP20 wallet on BSC.
What do you need before you start?
You need four free things: a browser wallet such as MetaMask, the Remix IDE, test BNB for the testnet, and a plan for the token's name, symbol, supply and decimals. Remix runs in the browser, so you do not install a compiler or run any infrastructure of your own.
Decide the token details before writing any code. The name and symbol are what wallets and explorers show, the supply is how many tokens exist at launch, and decimals decide how divisible the token is. OpenZeppelin's ERC-20 code uses 18 decimals by default, which means one displayed token equals 10^18 base units, the same pattern as ether and BNB.
- Name and symbol. Pick a short, distinct name and a 3-5 letter symbol that is not already in wide use on the chain.
- Supply. Choose a fixed supply and write it down; a fixed supply is simpler and easier to audit than a mint function.
- Decimals. Keep the default 18 unless you have a reason to change it, because wallets and tools expect it.
- Features. Start with a plain token. Burn, pause, tax and mint functions add risk and need an audit.
Only use the official Remix site, the official faucet and the vendor's own wallet download. Phishing copies of all three exist, and none of them will ever ask for your seed phrase.
How do the token decisions compare?
The decisions you make before deployment shape what the token can and cannot do later, because a deployed contract is normally difficult or impossible to change. The table below covers the choices most first-time creators face.
| Decision | Simple choice | What it means later |
|---|---|---|
| Supply | Fixed at deployment | No new tokens can ever be minted |
| Decimals | 18 (the default) | One token equals 10^18 base units |
| Minting | None after launch | Supply is capped and easy to verify |
| Burn | Optional, skip it first | Burning needs extra code and testing |
| Pause | Skip it first | A pause switch is a central control point |
| Upgradeable | No, use a plain contract | Upgrades add proxy complexity and risk |
When in doubt, pick the simple column. A plain fixed-supply token is the easiest to test, the easiest to explain to users, and the cheapest to audit if you decide to get one.
How to create the token, step by step
Do the whole sequence on the BSC testnet first, where a mistake costs nothing, and repeat it on mainnet only when the testnet token works. The steps below use Remix and OpenZeppelin.
- Add the BSC testnet to your wallet. In MetaMask, add a network manually with chain ID 97, the testnet RPC URL from the official BNB Chain documentation, and the currency symbol tBNB.
- Get test BNB from the faucet. Paste your wallet address into the official BNB Chain testnet faucet and claim test BNB to pay for deployment gas.
- Open Remix and create the contract file. In the Remix IDE, create a new file called BEP20.sol under the contracts folder.
- Write the contract from the OpenZeppelin template. Import the OpenZeppelin ERC-20 contract, name your token and symbol in the constructor, and mint the initial supply to your own wallet address.
- Compile the contract. In the Solidity compiler tab, pick a matching compiler version and compile. Fix any errors before moving on.
- Deploy on the testnet. In the deploy panel, choose the injected provider environment so Remix talks to your wallet, confirm the transaction, and note the contract address.
- Test transfers and balances. Send a small amount to a second address, check the balance on BscScan testnet, and test an approval so you know the standard functions work.
- Verify the source on BscScan. Submit the contract source on the BscScan verify page so anyone can read the code behind the address.
Only after the testnet token passes every check should you repeat the deployment on mainnet, which uses chain ID 56 and real BNB for gas. For the same pattern on another chain, see how to create a token on Solana.
What happens after deployment?
After deployment, the token exists on the chain, but almost nothing else happens by itself. You need to make the token visible and usable: import it into your wallet with the contract address so it shows a balance, publish the contract address and the verified source, and decide how people will get the token.
If the token is meant to be traded, the usual next step is a liquidity pool on a decentralised exchange, which needs the token plus a paired asset such as BNB. A pool sets the first price, and it needs enough of both assets to trade without wild swings. That step is separate from creating the token, and it carries its own risks.
Keep records from the start: the contract address, the deploy transaction, the verified source link, and the allocation of the supply. Anyone who checks the token will ask for those four things first. For the contract skills behind this guide, see how to create a smart contract on BSC.
Example (hypothetical): a 1,000,000-token launch
Example (hypothetical): a small game studio wants a loyalty token on BNB Smart Chain with a fixed supply of 1,000,000 tokens and 18 decimals. It writes the supply split into its launch plan before touching Remix.
The split is 40% for player rewards, 30% for the team, 20% for a community fund and 10% for a liquidity pool. That is 400,000 + 300,000 + 200,000 + 100,000 = 1,000,000 tokens, and the four shares add up to the full supply with nothing left unallocated.
The studio deploys on the testnet, sends 1,000 tokens to a test wallet and checks the balance on BscScan testnet, then repeats the deployment on mainnet. The lesson is to fix the numbers on paper first, because the contract mints the supply once and the split cannot be changed afterwards.
What are the common mistakes?
The most common mistakes with a first BEP20 token are deploying straight to mainnet, adding features the token does not need, and skipping verification.
- Skipping the testnet. Mainnet deployment costs real BNB and cannot be undone. Test every function on the testnet first.
- Too many features. Mint, burn, pause and tax functions each add code that can be misused or attacked. Start plain.
- Wrong decimals math. Minting 1,000,000 base units with 18 decimals creates a tiny fraction of a token, not a million tokens. Multiply by 10^18.
- Unverified source. A token with unverified source looks untrustworthy. Verify on BscScan so anyone can read the code.
- Seed phrase in the wrong place. Remix, faucets and explorers never ask for a seed phrase. Anyone who asks is running a scam.
- Promising a price or listing. Creating a token creates no market. Do not promise a price, a listing or a return.
Key takeaways
- A BEP20 token is a smart contract on BNB Smart Chain following the BEP20 standard
- BSC runs the Ethereum Virtual Machine, so OpenZeppelin's ERC-20 code works as a BEP20 token
- Build with Remix, test on the BSC testnet (chain ID 97), then deploy on mainnet (chain ID 56)
- Fix the name, symbol, supply and decimals on paper before writing any code
- Verify the source on BscScan so anyone can read the code behind the address
- Creating a token creates no price, liquidity or listing on its own
Frequently asked questions
What is a BEP20 token?
A BEP20 token is a fungible token on BNB Smart Chain that follows the BEP20 standard, a shared set of functions for name, symbol, supply, balances, transfers and approvals. Because the chain runs the Ethereum Virtual Machine, the standard works almost exactly like Ethereum's ERC-20.
What tools do I need to create one?
You need a browser wallet such as MetaMask, the Remix IDE, test BNB from the official faucet, and the OpenZeppelin ERC-20 contract template. Remix runs in the browser, so you do not install a compiler or run any infrastructure of your own.
How much does it cost to create a BEP20 token?
The cost is the gas for the deployment transaction, paid in BNB on mainnet, plus any service fee if you use a no-code creator. Testnet deployment is free apart from test BNB from the faucet. Check the current gas cost on BscScan before deploying, since it changes with network demand.
What is the difference between BEP20 and ERC-20?
BEP20 is the token standard for BNB Smart Chain and ERC-20 is the standard for Ethereum. They define the same core functions, and the same OpenZeppelin contract code works on both, because BNB Smart Chain runs the Ethereum Virtual Machine. The difference is the network the token lives on.
Do I need to know Solidity to create a token?
You need enough Solidity to read the OpenZeppelin template and change the name, symbol and supply, but you do not need to write the standard from scratch. If you want custom logic such as a tax or a pause switch, you need more Solidity skill, and an audit before real money is involved.
How do people see and trade my token after deployment?
Import the token into a wallet using its contract address so it shows a balance, and publish the verified source on BscScan. For trading, you need a liquidity pool on a decentralised exchange, which is a separate step that needs the token plus a paired asset such as BNB.