Oracle Price Feeder
Setting up the oracle price feeder is necessary for validators.
Exocore relies on an external price oracle to determine the total vote power for each validator, who may be staking multiple assets. Validators are required to run a price feeder to participate in the network, which periodically fetches prices from data sources and submits them to the oracle module. Failing to run the price feeder tool may result in penalties like slashing.
Before you start, make sure to set in grpc.enable = true
in app.toml
, as previously advised.
There are two methods to run the price feeder tool. The first method is recommended for most validators, while the second method is suited for the more technical and risk-averse validators.
Option 1: Embedded version
Set up the configuration of the price feeder tool. It requires three files: the first for its own configuration, the second for the price sources and the last for native restaking.
$HOMEDIR/config/oracle_feeder.yamlThe prices are sourced from Chainlink contracts on Ethereum, so you’ll need an RPC URL from providers like Alchemy and Infura or a self-hosted version.
$HOMEDIR/config/oracle_env_chainlink.yamlTo support native restaking on Holesky, another file is used.
$HOMEDIR/config/oracle_env_beaconchain.yamlRun your validator as described on the next page.
Option 2: As an independent binary
This option is designed for validators who would like to decouple the two processes for security and/or reliability.
Download and save the price feeder tool to a location within
$PATH
.Set up its configuration as described under Option 1 Step 1.
Start the price feeder tool
If everything works, productionize the process with
systemd
or another tool of your choice and keep it running. The expected logs are shown below.
Last updated