How to Create Token on EGEM Blockchain

in #egem5 years ago

Setup metamask on custom egem network https://lb.rpc.egem.io

01-token-custom-network.JPG

Go to solidity and start to play http://remix.ethereum.org

Take a simple token template https://www.proofsuite.com/smartcontract/ Create smart contract.

02-token-simple-contract.JPG

#Change initialSupply name decimals and symbol

03-token-digits.JPG

function Token() {

         initialSupply = 5000000000000000000000000000000;
         name ="chainlink";
        decimals = 18;
         symbol = "LINK";
        
        balanceOf[msg.sender] = initialSupply;              // Give the creator all initial tokens
        totalSupply = initialSupply;                        // Update total supply
                                   
    }

Copy and paste the entire thing into notepad and save somewhere.

#Go to solidity/remix and create a new .sol file.

04-token-createnewsol.JPG

#Copy and paste your token contract into this new .sol file.

05-token-copypaste.JPG

Pick an older compiler and click "start to compile"

06-token-older-compiler.JPG

On the Run tab, make sure Token pops up and moonit! (Deploy button)

07-token-moonit.JPG

Metamask will pop up to confirm deployment. Wait a minute or so to get the contract deployed on the EGEM blockchain.

08-token-moonit.JPG

Now go get your token listed on an exchange and lambo.

09-token-success.JPG

Check stats in solidity/remix

10-token-check-stats.JPG

Check token on explorer. 0xe2a7c5a4affcfc041fc1b2612811d51669a4e7a5
https://explorer.egem.io/addr/0xe2a7c5a4affcfc041fc1b2612811d51669a4e7a5

11-token-checkexplorer.JPG

Homepage - https://egem.io/
Discord - https://discord.gg/39WGWRB
Wiki - https://wiki.egem.io
Links - https://egem.link/

Coin Marketplace

STEEM 0.17
TRX 0.12
JST 0.027
BTC 61634.81
ETH 2971.21
USDT 1.00
SBD 2.49