$ git clone https://github.com/ecroxchain/Ecrox_Chain_Network.git ~/Dev/Ecrox_Chain_Network
$ npm install
$ npm test
$ npm run compile
$ npm run abi
$ npm run flatten
Make sure NETWORK_NAME
is defined in truffle-config
Make sure you've created an .env
using the template env.example
Run:
$ ./node_modules/.bin/truffle migrate --reset --network <NETWORK_NAME>
Read more at: https://github.com/ecroxchain/CoinNetwork/tree/master/node-example