Skip to content
This repository has been archived by the owner on Mar 9, 2022. It is now read-only.
/ market-oracle Public archive

Set of smart contracts on Ethereum deal with exchange rate reporting and aggregation

License

Notifications You must be signed in to change notification settings

ampleforth/market-oracle

Repository files navigation

Market Oracle

Build Status   Coverage Status

This repository is a collection of Ethereum smart contracts that enable aggregation of offchain market information from multiple sources.

Table of Contents

Install

# Install project dependencies
npm install

# Install ethereum local blockchain(s) and associated dependencies
npx setup-local-chains

Testing

# You can use the following command to start a local blockchain instance
npx start-chain [ganacheUnitTest|gethUnitTest]

# Run all unit tests
npm test

# Run unit tests in isolation
npx truffle --network ganacheUnitTest test test/unit/market_source.js

Contribute

To report bugs within this package, please create an issue in this repository. When submitting code ensure that it is free of lint errors and has 100% test coverage.

# Lint code
npm run lint

# View code coverage
npm run coverage

License

MIT (c) 2018 Fragments, Inc.

About

Set of smart contracts on Ethereum deal with exchange rate reporting and aggregation

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •