tidbit-contracts-zos
v0.1.4
Published
A library for building oracles on Ethereum
Downloads
14
Maintainers
Readme
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