tidbit-contracts-zos

0.1.4 • Public • Published

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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.4
    6
    • latest

Version History

Package Sidebar

Install

npm i tidbit-contracts-zos

Weekly Downloads

1

Version

0.1.4

License

MIT

Unpacked Size

1.43 MB

Total Files

41

Last publish

Collaborators

  • cwhinfrey