oracle-feeder

command module
v1.0.1-alpha Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 25, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

README

price-feeder

The price-feeder tool is responsible for performing the following:

  1. Fetching and aggregating exchange rate price data from various providers, e.g. Binance and Coinbase, based on operator configuration. These exchange rates are exposed via an API and are used to feed into the main oracle process.
  2. Taking aggregated exchange rate price data and submitting those exchange rates on-chain to persistence-sdk x/oracle.
Steps to run price-feeder locally:
  1. make install (builds and installs price-feeder binary)
  2. run: price-feeder -h for more info.
  3. Set the price feeder keyring password. It can be done in either of the following ways:
    • Set environment variable for the password ORACLE_FEEDER_KEY_PASSPHRASE=test.
    • Set the config variable keyring.passphrase
  4. run: price-feeder price-feeder.example.toml to start the price-feeder

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg
router
v1
tests

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL