0.1.1 • Published 5 years ago

@levelk/tidbit v0.1.1

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

Tidbit

A library for oracles on Ethereum.

Contracts

For more information on each contract checkout the documentation.

Inheritance Tree
IOracle
   |
   v
OracleBase --------> BasicOracle ------> SignedOracle
   |                      |                   |
   v                      v                   v
PushOracleBase --> BasicPushOracle --> SignedPushOracle

Setup

Then run npm install

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

Compile

Recompile contracts and build artifacts.

$ npm run compile

Test

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

$ npm test

Run npm run test:coverage to run with coverage reporting