Skip to content

levelkdev/tidbit

 
 

Repository files navigation

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

About

A library for oracles on Ethereum

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 53.4%
  • Solidity 40.9%
  • Shell 5.7%