[How to Create Your Own Crypto Token ]-Steemit Crypto Academy | S5W2 | Homework Post for @reddileep

hiatal_hernia_banner.jpg

Step 1:

Enter the contract code
By going here, you can get my updated smart contract from the famed Ethereum unicorn rider, BokkyPooBah. This code will be modified in order to create your own token.

Step 2: Use MetaMask to create an Ethereum wallet.

To create a wallet, install the MetaMask chrome extension. This is going to be the smart contract's owner. Create a new password-protected account after you've downloaded the extension. Then, in the top left corner, select "Ropsten TestNet." It appears as follows:

Untitled.png

image_2021-11-23_150331.png

Step 3

Get Ropsten Ethers in
To complete the token creation, you'll need some test Ethers in your new MetaMask account. At this time, the faucets are operational.

https://faucet.ropsten.be/
You'll be credited with ethereum if you enter your ethereum wallet address.

Step 4:

Make changes to the contract code.

  • Open the contract you downloaded in a text editor such as VS Code, Atom, Sublime, or something similar.

  • Look at the comment area on Lines 3–15. Despite the fact that this is a comment area, it will assist you in tracking down vital information regarding your token.

  • Line 4 should be the title of your Smart Contract; Lines 6, 120, and 121 should be the Ropsten Ethereum address you created in MetaMask.
    Line 7 and 116 Symbol should be changed to your coin's name (Keep it short)

  • Lines 8, 102, and 117 should be changed to the name of your token.

  • You can leave the decimals and total supply on Lines 118 and 119 alone, but I'll explain it only for clarity's sake. There are a few things to consider when it comes to total supply. The first is that 18 decimals is the standard (and maximum), implying that a coin can be divided into 18 parts.

  • The second is that if you wish to issue 100 tokens, you must enter 100 in the total supply section, followed by the number of decimals you select.

  • For example, if I wish to issue 100 tokens, I'll enter 100000000000000000000 in the total supply field, and so on.

Untitled.png

Step 5:

Remix Contract Code Deployment
Now enter the code you just edited into Remix IDE (an online solidity compiler and debugger).

Untitled.png

Next, if "Enable Optimizations" is checked, go to the icon with the checkmark on the image and uncheck it. Also, set the compiler version to the one specified at the start of your contract code. (Note: The nightly build should not be used.)

After selecting your token name> from the drop down list of contracts, proceed to the next icon below the checkmark and hit deploy.

image_2021-11-23_151654.png

MetaMask will offer you to acquire some test ether and submit the transaction after you hit deploy. This is what it looks like:

Untitled.png

Simply make sure you're on the Ropsten TestNet and not the MainNet before clicking Confirm. Open MetaMask once more and select the first transaction. It'll lead you to Etherscan, where you can see the transaction unfold. It could take up to 30 seconds for the transaction to be confirmed. When it's confirmed, it should look like this:

Step 6:

Publish and Double-Check the Contract
Select your contract's address from the drop-down menu. Click "Code" on the new page.

Now, go ahead and click the "verify and publish" button. Fill in the details such as compiler version, Enable Optimizations, and paste the solidity source we deployed earlier once you've been taken to the new page.

Make sure the compiler version you chose is the same as the one you used to deploy your code in the first place. Now press the "verify and publish" button. If successful, the following bytecode and ABI will be generated:

Untitled.png

Step 7: Insert the token into your wallet.
When you add your token to your wallet after it has been verified, you should receive all of the initial tokens (100000000 in my case). So, copy the contract address and paste it into MetaMask -> Add Token -> Custom token. It appears to be as follows:

Untitled.png

Hit Next and Confirm. You should now see all the initial supply

Untitled.png

Congrats You’ve just created your token...

What is a coin?

In the blockchain realm, a coin is primarily utilised as a form of payment. Bitcoin, Litecoin, and Dogecoin are just a few examples. While these three have significant distinctions, they all serve the same purpose: to serve as a store of value.

What is a token?

Tokens, on the other hand, are typically developed on the Ethereum blockchain, which provides far more functionality and feature development.

Sort:  
Loading...

Coin Marketplace

STEEM 0.27
TRX 0.13
JST 0.032
BTC 62804.06
ETH 2964.09
USDT 1.00
SBD 3.60