.env- keeps private information(private keys, api keys etc.). Most commands require some secrets and these are kept in this file as a precaution against accidental exposure. For a working setup it is required to at least add one private key in your
"ETH_PRIVATE_KEYS"environment variable. Multiple private keys are supported separated by
index.json- all api endpoint for data providers. The cli uses these provider endpoints to gather data which is then used to submit to the onchain oracle.
manualdata.json- for providing data manually. There is currently one data point which must be manually created. The rolling 3 month average of the US PCE . It is updated monthly. Make sure to keep this file up to date. For testing purposes, or if you want to hardcode in a specific value, you can use the file to add manual data for a given requestID. Add the request ID, a given value (with granularity), and a date on which the manual data expires. The following example shows request ID 4, inputting a value of 9000 with 6 digits granularity. Note the date is a unix timestamp.
by default the cli looks for these in the
./configsfolder relative to the cli folder.
--set $key=$valuein the helm upgrade command.
$key=$valuebeing the desired value changes you would like to make.