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

in hive-108451 •  3 years ago 

Season 5.png
Made on canva

Hello Steemians!!

Background

It’s my pleasure to participate in Steem crypto academy such a teaching and skilled developing platform. As we are in season 5 week 2nd and we have an informative class "How to create your own crypto token" by professor @reddileep. Before coming to crypto coin and token, let me tell you about the term Cryptocurrency. Cryptocurrency is a decentralized digital currency that uses as a money transfer for funding. Cryptocurrency came in 2009 that uses secure encryption techniques for transactions.

link.png

1-Introduce how to create your own Cryptocurrency by differentiating between token and coin.

Creating an own cryptocurrency there are many backends works involved such as documentation, crypto usage scenario, and legitimacy before deciding to create Cryptocurrency. Other than that crypto issuer has to select which platform and token will be used for the change of mode. Further Cryptocurrency is divided into two subcategories crypto coin and crypto token. Now let’s understand them.

Coin

A coin work based on its own blockchain, It lengthy process to create its own coin. The coin issue has to develop a blockchain platform there can be managed all the transactions. And there is a lot of knowledge and experience involved in coin creation. How to lunch in market and make it sustainable that coin. For example, BNB coin built on their own blockchain BSC(Binance smart chain) and TRX coin build on TORN blockchain from 2018 (initially it uses Ethereum blockchain).

Token

A token is another subcategory of cryptocurrency. It's a simple process that does not require own blockchain, instead, an issuer must know technology, coding skills. So token work on existing blockchain and verify the transaction and make it secure, Like Ethearum and NEO.

Difference between Token and Coin

TokenCoin
It can be introduced on an existing platform.It requires a new blockchain to operate all funds.
It’s a digital asset in terms of utility and services.It’s a digital crypto coin that has some value like another physical coin.
Tokens are an open-source coding-based project that requires less knowledge of the blockchain.Relatively coin requires depth knowledge of blockchain and code skills too.
The token can be created without much effort, It’s faster and cost-effective.Whereas it’s a very lengthy process and needs a lot of investment and is costly.

link.png

2. Demonstrate how to prepare everything needed to create a crypto token, such as making a wallet and adding a few coins to it to pay the gas fee. (Here you should deposit at least 15$ worth of BNB coins from your exchange wallet to the newly created wallet)

In order to create a new crypto token first we need some funds to transfer for that I’m going to use BSC(Binance Smart chain) with using Metamask wallet. So before doing a fund transfer I need a wallet that I’m going to set up.

How to setup a new wallet on MetaMask

First, go to the official MetaMast site and the home page looks as below.
Now click on the Download now button and then select your device type as it’s available for Android, ISO, and desktop which support Chrome, Firefox, Brave, and Edge browser, I’m going to use chrome browser.

1.PNG
src

2.PNG
src

3.PNG
src

4.PNG
src

5.PNG
src

Once setup is installed on your local browser we are ready to create a wallet. Click on the MetaMask icon from the installed list.

Click on create a wallet for a new wallet or we can import for an existing wallet.
6.PNG
src

Read the privacy policy of MetaMask and click on Agree
7.PNG
src

Create a wallet password that will be used for transaction verification.

8.PNG
src

Read security-related all information before moving forward.
9.PNG
src

Now keep secure office the phase in case of recover your wallet.
10.PNG
src

Now frame a sentence that we have stored. And confirmed it.

11.PNG
src

Now we can see the congratulation message for wallet creation.

12.PNG
src

It’s all done for wallet setup we are good too.
80.PNG
src

Adding Binance Smart Chain to the MetaMask

As in the below screenshot, we can see the network list shown Ethereum main and I’m using BSC so have to add the BSC network to the list by clicking add network.

13.PNG
src

Fill in all the required information of the BSC networks like network name, new RPC URL, and Chain Id. This information is critical so don’t fill in wrong information that can create problems from fund transfer. I’m using Chainlist platform to get all the required information related to BSC.

14.PNG
src

15.PNG
Chainlist

As in the above screenshot, you can see I’ve connected my MetaMask wallet and searched for BSC basic information.
Now click on approve which will add to the MetaMask list. Or we can enter all required detail manually.

16.PNG
src

Now my wallet has successfully connected. And ready to transfer funds on Binance wallet.

18.PNG
src

Now I’m using my spot wallet to transfer funds in the newly created BNB wallet from MetaMask as the minimum withdrawn limit is 0.1 as per the latest Binance policy.

22.PNG
src

So after deduction of gas fee the amount 0.0995 BNB ($58.82).

1637985669713.jpg
src
1637985669700.jpg
src

Transaction Hash id:0x416302f32979fb1d30c7a70fb0e2ae797bdd38cb5e2e3a8e54e0210a760f6742

link.png

3.Explain the Remix IDE and download the source code by showing each step. (Screenshots required)

Remix IDE is a web-based open-source developer tool that helps students and developers to test web applications for Ethereum based blockchain. This tool is written javascript which supports local browsers such as chrome, firefox, and others. The purpose of this tool is to make coding a fast process and reliable seamlessly. As I’m going to create a BSC token contract so need to get basic information about BSC by official documents. Let’s see how it can be set up in a coding environment.

23.PNG
src

After selecting issuer-BEP20 it landed to the BSC remix.ethereum.org compilation document that has to follow.

24.PNG
src

Next, we have to download BEP20Token.sol and update. That can be downloaded by clicking here

82.PNG
src

link.png

4- Customize the source code according to your imagined future project. (In addition to simply stating the steps, you should provide a clear explanation about each customized code)

As per the BSC issuer document, we have to open REMIX IDE and after landing on the home page the UI interface looks as.

26.PNG
src

First I have to create a new contract file with the name BEP20Tonen.sol

28.jpg
src

29.PNG
src

Now opened BEP20token template that downloaded just now from BSC official site
As we can see some Interface list name has been defined with the name of IBEP20 such as totalSupply(), decimals(), symbol(), and name() that we are going to use in our programming just a bit.

27.PNG
From my local notpad++ windows

30.PNG
src

The BEP20Token context inherited the IBEP20 interface and has to implement according to our new token creation.
30.PNG
src

name(): Here name is the name of the project or token name Like Binance smart Chain
symbol(): This function is for returning the abbreviation of the project name like Binance smart chain or BSC
decimals(): this function validate the after fraction value will accepts example : 0.000000000000000001 (18 decimals).

totalSupply(): whereas it returns the total supply value for the token allocation.

31.PNG
src

Now it’s time to name my new project.

Name = "Steem For Local";
Symbol = "SFL";
Decimals = 18;
Total supply = 1000000 * 10 ** 18;

Now I’ll assign this basic parameter to the function. As below.
32.PNG
src

Now it’s time for compilation. As from the left side compile icon we can do that.

33.PNG
src

34.PNG
src

Now after deployment we can get the detail of the project name, project owner, and total supply for more reference look screenshots.

83.PNG
src

35.PNG
src

link.png

5- Demonstrate all the steps to add your created crypto token into your any wallet such as Trust Wallet and MetaMask wallet. (Screenshots required)

As in the previous question, we have seen token has been created now we need to connect the MetaMask wallet to Remix IDE and perform other steps.

From the MataMast wallet click on three dots and then connect sites. Currently, only it’s connected to Chainlist only.

33.jpg
src

Now click on manual connect to the current site. And the next.

4.jpg
src

5.jpg

Now click on connect.
6.jpg
src

From the Remix IDE change environment as Injected Web3 provider. That is for the MetaMast code execution provider.

7.jpg
src

In the Remix, IDE from the left side account section can be seen my BNB wallet connected.
8.jpg
src

Now click on deploy and in the contract deployment section total gas fee is 0.00786627BNB, next click on confirm.

36.PNG
src

10 million SFL has been created successfully. and Hash id : 0x48121170be448735a9ecff08c379ea1c08f3d08895dd6cad46bc259bcd3224d4 can be seen in the log detail.

54.PNG
src

We are ready to import the newly created tokens into the MetaMask wallet as.

49.PNG
src

Click on import tokens. That will ask for the Token contract address. To get the contract address click on the BEP20TOKEN blockchain

89.jpg
src

Paste that id in the MetaMask Token contract address input box rest of the detail will populate automatically such as symbol, decimal value.

50.PNG
src Contract address : 0xE7598584404271aA27E81bb1Deb79769Ca2AeF8f

Next, click on add custom token and then import token.

51.PNG
src

A newly created 1000000 SFL was added to the network list.
53.PNG
src

link.png

6- Verify transactions and other details through the relevant Block Explorer. (Screenshots required)

After successfully deploying the transaction Id we can take it from the log file.

37.PNG
src

Transaction hash id : 0x48121170be448735a9ecff08c379ea1c08f3d08895dd6cad46bc259bcd3224d4

To verify the transaction I’m using bscscan official site.

55.PNG
src

In the above screenshot, the truncation fee is 0.00786627 BNB ($4.65) and others can be found like Token name, total supply SFL, 100000 SFL respectively.

Created SFL token detail.

56.PNG
src

link.png

Conclusion

To summarize this task we have understood the main difference between Coin and token. The creation of a Coin needs a lot of investment depth knowledge and experience on blockchain and own platform where the token is a simple process anyone can create with basic coding knowledge. Now I have created my first crypto token Steem for Local SFL ever and I’ll make more projects on this. I have learned a lot from doing all activities. It was a really exciting task thanks to professor @reddileep for this amazing class.


Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  
Loading...