0.1.4 • Published 6 years ago

tidbit-contracts-zos v0.1.4

Weekly downloads
1
License
MIT
Repository
-
Last release
6 years ago

Tidbit

A library for oracles on Ethereum.

Inheritance Tree

IOracle
   |
   v
OracleBase --------> BasicOracle ------> SignedOracle
   |                      |                   |
   v                      v                   v
PushOracleBase --> BasicPushOracle --> SingedPushOracle

Setup

Install ZeppelinOS globally: npm install --global zos

Then run yarn install

chmod +x ./scripts/** to grant execute permissions on the scripts directory

Compile

Recompile contracts and build artifacts.

$ yarn compile

ZeppelinOS

Push contracts to a network

zos push --network development

Link the Tidbit library

zos link tidbit-contracts-zos

Test

Run yarn compile before first test run, and after any changes to the .sol files

$ yarn test

Run yarn test:coverage to run with coverage reporting