Skip to content

Repository files navigation

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

The oracle provides a median average of the following price feeds

  • CoinGecko
  • Bitfinex
  • Binance
  • Kraken
  • OKEx

Documentation

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

For the Oracle's signed price attestation refer to the FIP-2

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

About

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

Resources

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages