/eth-contracts

On-chain system contracts and examples

Primary LanguageSolidityMIT LicenseMIT

Dev:

  • $ git clone https://github.com/DOSNetwork/eth-contracts
  • $ npm install
  • $ npm -g install truffle
  • $ npm install -g ganache-cli or installing its graphic interface
  • Required truffle/solcjs version: >= 0.5

Compile:

  • $ truffle compile

Deploy:

  • $ truffle migrate --reset

Test:

  • $ truffle test