A library for oracles on Ethereum
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
contracts
docs
migrations
scripts
test
.babelrc
.gitattributes
.gitignore
.npmignore
.solcover.js
README.md
package-lock.json
package.json
password_kovan.txt
truffle.js
zos.development.json

README.md

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