Deploy a New BEP20 Token With Capped Supply to Binance Smart Chain Testnet
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.
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.deployBEP20CappedTest(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.deployBEP20CappedTest(cap, tokenName, tokenSymbol, apiKey)
Last modified 6mo ago
Copy link