-
node
brew install node
-
truffle
npm install -g truffle
-
ganache-cli (recommend)
npm install -g ganache-cli
-
metamask browser metamask plugin
-
Install dependence packages
npm install
- Start the Ethernet Workshop Test Virtual Machine
$ ./testrpc.sh
- Deployment contract
$ truffle migrate
- Strat document system
$ ./doc/bin/www
- Browsing document input http://localhost:3000
- Import wallet to metamask
- PolicyRegistry: '0x40a7226e860d7a1c936d8f0025a868f00b4e88a0',
- RAC: '0xb6cdc214f68824c5eb03518b7167a3d6f4a32567',
- STGFactory: '0x8ab67c3c98dad52cfba4f3df09fbb9bee1199608',
- STOFactory: '0xd791e66356289e4546fa7afb9a19534359628762',
- ST: '0x1b2e3a10bbb267207afbea1da5fa42d8855a43ac',
- GP: '0xeecf6b02b0674136aa24df534ca2be5ad6af5f7e',
- STO: '0xf844d13caae1bfe8c43655c1c1085c9271bce4d4'