How to create BEP-20 smart contract

In this article, we are glad to show you how to create a BEP-20 token with Creator mainnet step-by-step. Follow this instruction to make sure creating your first smart contract with Creator Mainnet successfully!

Step 1: To get started head over to https://ncsc.creatorchain.network/. You will see a window as below:

Step 2: Connect to a wallet and select the network that your token will be creating.

At this step users need to connect to their crypto wallet. Click on “Connect to wallet” button on the upper-right-corner of the screen.

Currently, Creator supports customers with MetaMask wallet, one of the trustworthy wallets in the market. Click on “Metamask” then choose Binance Smart Chain network and sign in with your wallet.

If you connect MetaMask successfully, you will be able to see your wallet address and your balance on Creator or connected status on Metamask extensions.

Step 3: You will see a pop-up requiring an email address as the email below:

Fill in the email that you would like to receive notifications about creating your smart contract on our platform, then click “Submit”.

Please note that filling email in this step is compulsory, you cannot continue without providing an email address.

Step 4: Now, we are creating BEP-20 tokens so you need to go to the left menu then choose Smart Contract/BSC/BEP-20. A new window for BEP-20 token will open:

Start with choosing BEP-20 extensions including Mint, Burn and Governance Vaults (Pause function will be available soon). These are optional functions for your token depending on your desire. However, please keep in mind that choosing more extensions will cost you more service fee (charged in BNB).

  • A mintable token is a token with a non-fixed total supply, allowing the token issuer to mint more tokens whenever they want.
  • A burnable token can be eliminated and reduce the number of Tokens existing in the system.
  • Governance is the system in place that allows decisions to be made. Or perhaps shareholders vote on proposals to enact change. Based on your business strategy to make your decision.

Token Name: Used to define the token’s name, which other contracts and

applications can identify

Token Symbol: This is the symbol which you would like to identify your token.

It should be simple and also signature characters which are easy to remember

(example ETH, BTC, BAT, etc.).

Token Decimals: Number of decimal digits used in the amounts. 0–18 numerals

are accepted. 18 is common practice (e.g. 18 for BNB)

Initial Supply: The number of tokens created when this contract is deployed.

Total amount of tokens to be generated.

Supply Cap: This token’s supply will grow until the cap is reached. After that,

no more tokens can be minted. Make sure that the Supply Cap is larger than

Initial Supply.

Here is an example of a mintable token named “Atom” with the symbol “ATM”:

Step 5: After you fill all needed information, click on “Submit”. Be sure your information is all correct! After creating a token, you can’t change this information.

Step 6: After clicking on Submit, a new popup will appear which shows all information of your token which you have filled before. Kindly check the information then click Confirm to deploy your token.

Step 7: After you choose Confirm, MetaMask will automatically appear a tab which shows the detailed fee of creating a smart contract. After checking your bill, click on “Confirm” to make the payment.

Step 8: After you make the payment, kindly wait for a few minutes to deploy your token.

Step 9: After sending the request to deploy smart contract to the blockchain

successfully, the system will display a popup “Success”.

Step 10: Click the “Add ATM to Metamask” button so that the token you just created will show up in your wallet.

Step 11: Click the “View on explorer” button to view the transaction hash details of the newly created smart contract.

Step 12: Click “Verify&Publish” to verify and enable your token. A small pop-up will appear on the top right corner show that your token is verified successfully.

Step 13: Go to the inbox of the email address you have used to sign up at the beginning to check confirmation email from Creator. You will receive a email as the photo below:

Note: Other networks also follow the same steps.

That’s all you need to do to create a BEP-20 token with Creator Mainnet which will be released on Dec 31.

Stay tuned guys, our BIG day is coming soon!

Blockchain-as-a-service Platform