DEV Community

Cover image for How to create a primary blockchain on BSC (Binance blockchain) step by step
Victor Quan Lam
Victor Quan Lam

Posted on

How to create a primary blockchain on BSC (Binance blockchain) step by step

The BEP20 coin is easier to start on the Binance Smart Chain than you would imagine. One of the most significant ways to learn more about cryptocurrency's inner workings is by starting your digital token. And the good news is: on the Binance Smart Chain, everyone may create their BEP20 coin.

You need to select a blockchain platform that is acceptable for your use cases before creating your crypto-currency. Look no farther than Binance Smart Chain if you're seeking a cheap cost, quick transaction speeds, and intelligent contract compatibility platform (BSC).
Binance Smart Chain is a concurrent chain developed mainly to handle smart contracts and develop decentralized apps (DApps).

Smart Contracts

Simply put, intelligent contracts are code running on a blockchain intended for specific applications or services.
For example, if you want to build a decentralized voting application, the voting logic on the blockchain would be a smart contract.
Ethereum, currently the largest innovative contract blockchain, is also cross-compatible with Binance Smart Chain. In contrast to Smart Chain, however, Ethereum has significantly higher transaction costs.

The BEP20 Token Standard

It is surprisingly straightforward to create a BSC token. These coins meet the BEP20 standard, which is comparable to the ERC20 standard. The token standard assures fundamental functions of the token such as transfer, balance, token ownership, etc.
You may view the BEP20 API here. Please note that BSC tokens may be traded for "ordinary" Binance Chain tokens comply with BEP2. In addition, each transaction that occurs on-chain with these tokens requires a fee paid in BNB. This charge compensates validators for network security.
Let's investigate how to produce the following tokens
Creation of a Token BEP20 token

  • Go to Create Token
  • Complete all your token information
  • Choose 'Token Create' and approve the transaction

The URL for stage one may be accessed by entering in the Address Bar in the Trust Wallet Dapp browser. Make sure you're on the upper right of the Smart Chain network.
You will need to give your token a name and a symbol for step two. You will also need to define your token's initial supply quantity and divide the number of decimal places in the token.

Check Creating Token Mark Settings

Additional checkbox options are given below.

Can be a Burn
This check determines if your tokens can be burnt to reduce the number of tokens.
Can be a Mint
The contrary is specified by minting, which determines whether or not new tokens can be generated to raise the original supply.
Can be Pause
This check determines if your token and any related operations may be paused and restarted at any time based on the results. Use this pause function in the event of software vulnerabilities or malicious attacks on the system. When pausing is turned on, the token's inventor, for example, will have the ability to pause or unpause. This central authority may not be appropriate for some use cases.
It's possible that accounts can also be banned if they behave in an unsavory manner. For some tokens, it may be best to disable this functionality. Allowing blacklists creates central authority, which may not be appropriate in some situations, similar to halting.
Create Token
As soon as you click 'Create Token,' you'll be sent to a screen that shows you the cost of the token. In the case of BNB, the price will be charged.
Once you authorize the transaction cost, the token will be produced for you.
A Custom BEP20 Token Can Be Added To Your TrustWallet
Once your token is created, how do you get it to show up in your Trust Wallet? Simple. Follow the steps outlined below to get started.
Select the symbol of the two sliders in the upper right corner of your wallet.
Choose 'Add Custom Token' at the bottom of the token list.
You may do this by setting the network to "Smart Chain."
Your smart contract address may be found just below the network settings. Enter it here.
Enter the token's Name, Symbol, and Decimal Divisions.
Whenever you go back to your wallet, your token will be there, ready to be seen!

Top comments (2)

mistcop profile image

Hey there. I am trying to reach you for some coding for NFTs. Please get back to me. I went to your website and github but wasnt able to find a way to contact you. My name here is the same as on twitter.

mistcop profile image

How can I reach out to you?