From dd64f3dac206927b664c0e2ae885f65f81eaddeb Mon Sep 17 00:00:00 2001 From: adamrturman Date: Thu, 23 Sep 2021 12:12:46 -0500 Subject: [PATCH] added oracle upgrade guide --- docs/upgrade_oracle.md | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/upgrade_oracle.md diff --git a/docs/upgrade_oracle.md b/docs/upgrade_oracle.md new file mode 100644 index 00000000..059f6775 --- /dev/null +++ b/docs/upgrade_oracle.md @@ -0,0 +1,35 @@ +# kava-8 Oracle Update Guide +The Kava blockchain is upgrading and minor updates are needed for oracles + +## Update Guide For Standalone Oracle Operators +1. Install the latest version of kava-tools +2. In your `.env` configuration file, add an entry for `FEE`. This will set the default fee (in ukava) for each oracle transaction (can be 0). + - `FEE=”10000”` +3. In your `.env` configuration file, update the MARKET_IDS entry to include the latest markets for kava-5: + - `MARKET_IDS="bnb:usd,bnb:usd:30,btc:usd,btc:usd:30,xrp:usd,xrp:usd:30,busd:usd,busd:usd:30,kava:usd,kava:usd:30,hard:usd,hard:usd:30,usdx:usd"` +4. Restart your oracle process + +## Update Guide For Chainlink Oracle Operators +1. Pull the latest version of Kava’s external-adapters-js repo +2. Install `yarn` +3. Build the latest version of the kava adapter + - from top level external-adapter-js directory + - make docker adapter=kava +4. Edit your configuration file and add an entry for `FEE`. This will set the default fee (in ukava) for each oracle transaction (can be 0). + - `FEE=”10000”` +5. Restart the kava adapter with the latest version +6. If necessary, create jobs for the following market_ids, if they do not already exist + - bnb:usd + - bnb:usd:30 + - btc:usd + - btc:usd:30 + - xrp:usd + - xrp:usd:30 + - busd:usd + - busd:usd:30 + - kava:usd + - kava:usd:30 + - hard:usd + - hard:usd:30 + - usdx:usd +