The price-feeder
tool is responsible for performing the following:
- 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.
- Taking aggregated exchange rate price data and submitting those exchange rates
on-chain to persistence-sdk
x/oracle
.
make install
(builds and installs price-feeder binary)- run:
price-feeder -h
for more info. - 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
- Set environment variable for the password
- run:
price-feeder price-feeder.example.toml
to start the price-feeder