Giter Club home page Giter Club logo

erc20-token's Introduction

ERC20-Token

contact details

contact address : 0xD3e49163114582BFB53fA81a79e35181253f9C9b
account : 0x1165bd5F770F78D67718A0f97BbF12cD29e3a300

How to run the smart contract

Step 1: Install the packages and dependencies in package.json
npm i

Step 2: Compile and migrate your smart contract to rinkeby network
truffle compile --network rinkeby
truffle migrate --network rinkeby 

Step 3: After successfully deploying your smart contract ,visit etherscan.io 
        Copy your contract address and paste it on etherscan. Now you can view the transactions, history , amount etc of your contract

Step4:
truffle console

Step 5: View the functions of your contract and access them
let x= await x.ExampleToken.deployed()
x.<tab>
x.function_name()
If you wish to check the total supply in your contract, " x.totalSupply() " , 
will give you a hex vale which won't be readable. Therefore we use the following command
x.totalSupply().then(l=> l.toString())







erc20-token's People

Contributors

tanujajoshi1 avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.