New protocol implement by substrate. -> (https://github.com/thashimoto1998/substrate-pallet-DIDOffchainTrade)
*Specification is almost the same to previous protocol.
- Install node v10: https://nodejs.org.
- Install the node dependencies in the local node_modules folder.
npm install
- Install truffle and ganache-cli(sudo permission might be needed).
npm install -g truffle ganache-cli
- Run ganache-cli
ganache-cli -l 8000000
- Test keeper-layer2 contracts.
npm run test