0.1.4 • Published 7 years ago
tidbit-contracts-zos v0.1.4
Tidbit
A library for oracles on Ethereum.
Inheritance Tree
IOracle
|
v
OracleBase --------> BasicOracle ------> SignedOracle
| | |
v v v
PushOracleBase --> BasicPushOracle --> SingedPushOracleSetup
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 compileZeppelinOS
Push contracts to a network
zos push --network developmentLink the Tidbit library
zos link tidbit-contracts-zosTest
Run yarn compile before first test run, and after any changes to the .sol files
$ yarn testRun yarn test:coverage to run with coverage reporting