Skip to content

Developer-piyush/DAPP_IOTEX

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Instructions to run this app in your local machine


make sure you have some tokens in your metamask wallet (iotex and ropsten)
Change babelrc and env to .babelrc & .env
fill in private key and infura api key in .env

Install dependencies

npm install
npm install @truffle/hdwallet-provider

To deploy on Iotex testnet run

truffle migrate --reset --network dev

To deploy on Iotex mainnet run

truffle migrate --reset --network devmain

To start the server

npm run start.

starts the server at http://localhost:3000