Deploy a BEP20 Token With Capped Supply to Binance Smart Chain Mainnet

This tutorial describes how to create a new BEP20 Token smart contract with a supply cap that limits the total number of tokens that can ever be minted.

To use this method, you need an idexo API key that has been upgraded to a customer API key. To upgrade, please contact us.

Assuming you have installed the SDK, you can use the following code in your file (instructions on modifying it follows - for more information on how to use it see our Getting Started tutorial):

const ido = require('idexo-sdk')
ido.Binance.deployBEP20Capped(cap, tokenName, tokenSymbol, apiKey)
.then(res => console.log(

To use the above code, you need to set values for:

  • cap: this the maximum number of tokens that should ever be allowed to be minted, e.g. 1000.

  • tokenName: this is the name you want to give the token, e.g. 'My Token'.

  • tokenSymbol: this is the symbol you want to give the token, e.g. 'MTO'.

  • apiKey: your idexo API key‚Äč

The method in summary is:

ido.Binance.deployBEP20Capped(cap, tokenName, tokenSymbol, apiKey)