How to Deploy a Token on BNB in 5 Steps (with No-Code Alternative)
In this guide, I’ll walk you through deploying a BEP-20 token on the BNB Smart Chain using Smart Contracts with Solidity. You’ll also find a no-code option if you’d rather skip the programming side.
BNB Smart Chain is an EVM-compatible blockchain built for decentralized applications (dApps) with fast, low-cost transactions. That makes it a solid pick for DeFi projects, tokens, and NFTs.
Deploy token BNB with Solidity
Here’s the step-by-step process to deploy the token with Solidity:
1. Set Up Your Development Environment
First, you’ll need a development environment that supports Solidity. Some recommended tools:
• Remix: A browser-based IDE with Solidity support, perfect for testing contracts without any extra setup.
• Hardhat or Truffle: Frameworks you can install locally to compile, test, and deploy contracts on BNB Smart Chain. You can hook these tools up to MetaMask to handle your wallets. If you’re torn between options, check out which wallet BNB Chain to pick based on what you’re building.

Connecting to the BNB network: Add the BNB Smart Chain network to MetaMask by configuring the specific RPC for BNB. This lets MetaMask interact directly with the BNB Smart Chain network.
2. Write the BEP-20 Contract
A BEP-20 token follows the same basic structure as an ERC-20. Here’s a simple example of a BEP-20 contract in Solidity:
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
contract MyToken is ERC20 {
constructor(uint256 initialSupply) ERC20("MyToken", "MTK") {
_mint(msg.sender, initialSupply);
}
}In this example:
• The constructor defines the token’s name and symbol.
• The _mint function creates an initial supply of tokens assigned to the contract creator.
Key functions of the BEP-20 standard:
• transfer: Lets token holders send tokens to another address.
• approve: Sets a token limit that a third party can spend on the holder’s behalf.
• transferFrom: Moves tokens from one account to another based on a previously granted allowance.
3. Compile and Deploy the Contract
Once your contract is ready, you need to compile and deploy it. You can do this from Remix or using command-line tools like Hardhat or Truffle. Here’s an example with Hardhat:
npx hardhat run scripts/deploy.js --network bnbTo deploy on the BNB Smart Chain, you’ll need BNB to cover gas fees, which are usually way lower than on Ethereum.
4. Gas Cost Optimization
Even though BNB Smart Chain fees are low, optimizing gas usage can cut costs even further. A few tips:
- Minimize storage operations: Storage in Solidity is expensive. Use memory variables instead of storage whenever possible.
- Batch transactions: Whenever you can, pack multiple operations into a single transaction to cut fees.
- Use external libraries: OpenZeppelin provides optimized, battle-tested libraries like SafeMath to handle math operations and prevent overflow issues.
5. Testing and Security
Before deploying your token to the BNB Smart Chain mainnet, run thorough tests on a testnet like BNB Testnet. Use frameworks like Hardhat to simulate the deployment and write unit tests.
Common mistakes to avoid:
There are basically two mistakes you need to avoid when deploying a token on BNB:
• Reentrancy attacks: These happen when an external function calls back into the contract before execution is complete.
• Overflow and underflow: Recent Solidity versions (0.8.x) already handle this, but it’s a good idea to use SafeMath on older versions.
Once you’ve tested the contract and you’re confident it works, you can deploy it to the BNB Smart Chain mainnet.
No-Code alternative to deploy your token
If you’d rather skip the coding and ship fast, you can use the Binance Token Creator by Smithii to launch your BEP-20 token in a few clicks. This option walks you through every step. No code required.

- Set the token name: Enter the name you want for your token.
- Pick the symbol: Choose a ticker of up to 8 characters.
- Set the total supply: Define how many tokens will exist (typically between 10 million and 100 billion).
You might also want to check how to launch a meme coin with Four Meme’s Bundler Bot in just a few steps.
Advanced Options
Inside advanced options you’ll find a handful of useful features for your token:
• Airdrop Mode: Keeps the token non-tradable until you flip this on.
• Anti-bot: Enforces a time limit between transactions to block bots.
• Anti-whale: Caps transaction size to prevent big players from manipulating the market.
The cost of creating a token on BNB Smart Chain with Smithii Tools is roughly 0.19 BNB, plus gas fees.
If you want to see the whole process on video, here it is:
Contract Verification on BscScan
After deploying your token, you can verify it on BscScan to add social links and logos, which boosts its visibility. If you used Smithii Tools, verification is automatic. If you deployed the contract manually, just follow BscScan’s verification steps.
What to do after creating your Token
So users can actually trade your token, consider launching a Liquidity Pool on Uniswap. This opens it up to trading on DEXs and adds liquidity, making the token easier to access.
On the same note, you can use the market maker bot for Binance to boost your token quickly and easily.
Conclusion
This guide walks you through deploying a BEP-20 token on BNB Smart Chain using Solidity, plus a no-code alternative with Smithii Tools. Both options are solid. The no-code route cuts out the complex technical steps, while manual deployment gives you full control over the contract.
Want to outpace your competitors?
Join our Newsletter for weekly Blockchain news tailored to NFT creators.


Industrial Engineer turned Solana trader. Marketing at Smithii and contributor to the $SHRIMP memecoin launch.













