0.0.2 • Published 3 years ago

dojima-protocol v0.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

dojima contracts

Build Status

Ethereum smart contracts that power the dojima Network.

Install dependencies with

npm install

Compile

bulldog-chain-id for Testnet = 1001

npm run template:process -- --bulldog-chain-id <bulldog-chain-id>
npm run truffle:compile

Start main chain and side chain

  • Start Main chain
npm run testrpc
  • Start dojima side chain. Requires docker.
npm run bulldog:simulate
  • If you ran a bulldog instance before, a dead docker container might still be lying around, clean it with
npm run bulldog:clean
  • Run a bor (our dojima chain node) instance.

Deploy Contracts

  • For local development
npm run truffle:migrate
  • For a properly initialized set of contracts, follow the instructions here.

Run tests

npm test