cfg/00-devnet-vars.cfg and cfg/00-mainnet-vars.cfg
devnet and mainnet variables
Intro
The two following files are basically identical, besides some small details that makes them dedicated to specific SOLANA clusters (or chains), that is devnet
and mainnet
(sometimes also referred to as mainnet-beta
for historical reasons).
Let's go through the content, chunk by chunk.
Network definition
This just refers to the SOLANA cluster you're settings this up for. Could be devnet
or mainnet
.
Oracle pubkeys
These variables are the public keys of the accounts you will use to host your Oracle and will be created in a following step, later in the installation process.
Leave them empty for now and you will come back later to this section when the setup script that creates them will tell you to do so.
RPC URLs
These variables are referring to SOLANA RPC URLs and once again we invite you to find one that is not rate limited from a trusted provider like https://triton.one/ or https://www.helius.dev/ or other similar solutions.
These two endpoints must be dedicatd to the network you're using, ie: devnet or mainnet.
Infisical settings
This section is entirely dedicated to Infisical and is related to secrets management and can be used with Kubernetes based setups. It's not mandatory but we use in some of our installations successfully.
Namespace and Ingresses
If you changed the CLUSTER_DOMAIN
variable in the 00-common-vars.cfg
file, then you MAY also need to adjust the *_INGRESS
variables accordingly, remember to leave the /devnet
and /mainnet
string at the end to be able to host multiple Oracles.
Last updated