How to Create Token on EGEM Blockchain

in #egem6 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/