Skip to content

Latest commit

 

History

History
76 lines (63 loc) · 1.81 KB

File metadata and controls

76 lines (63 loc) · 1.81 KB

Network

General

Clone Repository

$ git clone https://github.com/ecroxchain/Ecrox_Chain_Network.git ~/Dev/Ecrox_Chain_Network

Install Dependencies

$ npm install

Run Unit Tests

$ npm test

Contracts

Compile

$ npm run compile

ABIs

$ npm run abi

Flatten

$ npm run flatten

Deploy

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>

Run Local Node

Read more at: https://github.com/ecroxchain/CoinNetwork/tree/master/node-example