How to Create Crypto Tokens Without Coding
Deploy a BEP20 Contract to the Binance Smart Chain
Tired of seeing all those dog/doge related tokens? Maybe you’re more of a cat person. You decide it’s time to represent. The only problem is, you have no idea how to do it. You barely know to start your laptop and you take out the battery in order to shut it down (exaggerating for dramatic purposes). No worries! Here’s how you can make your own token without being a tech oriented person.
Preparation
You’re gonna need a name for your new token, obviously, a desired max supply (total number of tokens), a symbol (e.g. the symbol for Dogecoin is DOGE), a wallet (e.g. MetaMask) which you can download here and a Binance account to get some BNB (Binance Coin) and send it to your new wallet. The amount of BNB needed for contract deployment is variable in accordance with the network congestion. Best way to estimate the BNB needed is to just try to do the deployment transaction, (explained later in this article) but you should be fine with 0.01 BNB in your account.
This tutorial will not include the Binance account setup or the wallet setup. You can Google “how to open a Binance account” and “how to setup MetaMask”. There are a ton of tutorials (text and video) so it shouldn’t be a concern.
With everything prepared, it’s time to make our token.
Execution
Open Remix IDE: https://remix.ethereum.org and select solidity language. It should look like this.
Now switch to the file tab and create a new contract “BEP20Token.sol” and copy contract code from the BEP20 token template here.
To customize your token, all you need to do is modify “name”, “symbol”, “decimals” and “totalSupply” according to your requirements. You can find these variables starting with row 351. Don’t worry about the decimals number. Just leave it at 18. It’s the number of figures your token can support after the floating point (0.999999999999999999 MYNEWTOKEN).
Once done, you can advance to the compile tab.
Compile
[COMPUTING] convert (a program) into a machine-code or lower-level form in which the program can be executed. — Definitions from Oxford Languages
This is where your code becomes “readable” by the computer. Just follow the steps below or check out the screenshot.
Step1: Click the button to switch to compiler page;
Step2: Select “BEP20Token” contract (this is the file created previously “BEP20Token.sol”);
Step3: Enable “Auto compile” and “optimization”;
Step4: Click “ABI” to copy the contract ABI and save it to a text file (e.g. Notepad). No need to worry with the ABI for now. Just save it somewhere.
Next up is the deployment tab. There are a few steps to follow as well. Take your time, we’re almost there.
Step1: Click button to switch to deploy tab;
Step2: Select “Injected Web3”;
At this step, your MetaMask wallet should feature a pop-up message in the top right side of your browser, asking you to connect your account to the Remix IDE. Just check the account of your choice and click next.
Step3: Select “BEP20Token”;
Step4: Click “Deploy” button and MetaMask will pop up once again. This is the transaction which will deploy your token to the blockchain (Binance Smart Chain to be exact).
As with every blockchain transaction, there is a gas fee associated. This fee varies according to the network congestion level. Best way to find the cost is to click deploy and check the Total amount shown in MetaMask. If you’re not comfortable with it or you don’t have BNB in your MetaMask account, just click “Reject”. This will cancel the transaction without any cost or adverse effects.
If you want to go through with the deployment, click “Confirm”.
You’re all set now. To the satellitary destination of your choice! (yes, it’s a real word)
Bonus info
If you reached the end of this article you deserve a little bonus. Here it is:
The Contract Application Binary Interface (ABI) is the standard way to interact with contracts in the Ethereum ecosystem, both from outside the blockchain and for contract-to-contract interaction. Data is encoded according to its type, as described in this specification. — https://docs.soliditylang.org/en/v0.8.6/abi-spec.html