Token demo project for R&D firm.
npm install // install dependencies
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)
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.