Coder Social home page Coder Social logo

greentoken-presale-project's Introduction

DemoGreen

Token demo project for R&D firm.

How to deploy Using Truffle

Install Node Modules

npm install // install dependencies

Filling .env up

Please signup for infura.io and create an ethereum project.
Copy PROJECT ID from project details page into .env file.
MNEMONIC of .env refers to one of your metamask wallets.
API_KEY of .env refers to API KEY of account signed up in ehterscan.io.
REWARD_WALLET_ADDRESS of .env refers to reward wallet of presale and airdrop.
REACT_APP_END_AIRDROP_AT refers to the timestamp of when to end the Airdrop contest.
REACT_APP_CHAIN_ID refers to a hexadecimal number of ethereum network.(0x2A => kovan)

How to deploy and verify contracts

open terminal in the root folder of this project.
Then run truffle migrate --network kovan.
After that, contract deploys would be being prompted in the terminal.
After deployment completes, you have to verify deployed contracts.
For that, you need the address of contracts and they were shown in the terminal while deploying.
For example, to verify AirDrop contract run truffle run verify AirDrop@<Address of AirDrop contract> --network kovan.
This will surely verify contracts.
Then run npm start and a website will be open in a web browser.

greentoken-presale-project's People

Contributors

dragondev-king avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar Notorious K avatar Winter Solstice avatar

Watchers

 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.