JSPM

tidbit-contracts-zos

0.1.4
    • ESM via JSPM
    • ES Module Entrypoint
    • Export Map
    • Keywords
    • License
    • Repository URL
    • TypeScript Types
    • README
    • Created
    • Published
    • Downloads 5
    • Score
      100M100P100Q44393F
    • License MIT

    A library for building oracles on Ethereum

    Package Exports

    • tidbit-contracts-zos

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (tidbit-contracts-zos) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    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