/oracle

A demo service that acts as oracle producing cryptographic attestations for a given price feed to be consumed by Elements smart contracts

Primary LanguageTypeScriptMIT LicenseMIT

Fuji oracle

A demo oracle service that produces cryptographic attestations for a given price feed to be consumed by Elements smart contracts.

THIS IS NOT MEANT TO BE USED IN PRODUCTION

Supported price feeds

  • Bitfinex

Documentation

For API documentation refer to the Swagger JSON or use the live Swagger UI

For the Oracle's signed price attestation

Local Development

Below is a list of commands you will probably find useful.

yarn dev

Runs the project in development/watch mode. Your project will be rebuilt upon changes.

yarn build

Bundles the package to the build

yarn swagger

Build swagger api defintions for the project