Configuration Variables

In this section, we describe all possible Configuration Variables accepted by Umbrella Validator nodes. All of the API keys are required, those facing issue with obtaining API keys of the required services should reach out to us and we'll be glad to help you get started.

PORT

  • Default: "3000"

Port used for the API.

REDIS_URL

  • Default: "redis://127.0.0.1:6379"

URL used to connect to Redis. This is a project dependency.

MONGODB_URL

  • Default: "mongodb://localhost:27017/pegasus"

URL used to connect to MongoDB. This is a project dependency.

BLOCKCHAIN_PROVIDER_URL

This is the address of the BSC provider.

BLOCKCHAIN_PROVIDER_0_URL

  • Default:

This is the address of the Ethereum RPC used to retrieve prices of Yearn vaults.

BLOCKCHAIN_PROVIDER_0_NAME

  • Default: eth-mainnet

This is the name of the Ethereum RPC used to retrieve prices of Yearn vaults. Don't change the default value unless indicated.

VALIDATOR_PRIVATE_KEY

  • Default:

Validator private key is the private key of the Ethereum wallet which will be acting as the validator.

REGISTRY_CONTRACT_ADDRESS

  • Default: 0xb2C6c4162c0d2B6963C62A9133331b4D0359AA34

Address for the Contract Registry.

BLOCK_CREATION_JOB_INTERVAL

  • Default: 1000

Interval to wake up the worker service.

POLYGON_IO_TIMEOUT

  • Default: 20000

SIGNATURE_TIMEOUT

  • Default: 30000

STATUS_CHECK_TIMEOUT

  • Default: 5000

UNISWAP_SCANNER_CONTRACT_ID

  • Default: 0x1F98431c8aD98523631AE4a59f267346ea31F984

UNISWAP_HELPER_CONTRACT_ID

  • Default: 0x8690666153B101201a104719C3424179730Ac2bc

UNISWAP_START_BLOCK

  • Default: 12369621

APPLICATION_AUTO_UPDATE_ENABLED

  • Default: true

APPLICATION_AUTO_UPDATE_URL

APPLICATION_AUTO_UPDATE_INTERVAL

  • Default: 1800000

🚧

API Keys

Please contact us to get API keys for prices.

CRYPTOCOMPARE_API_KEY

  • Default: ""

Cryptocompare API Key.

COINGECKO_TIMEOUT

  • Default: 5000

Timeout to CoinGecko API.

COINMARKETCAP_API_KEY

  • Default: ""

Coinmarketcap API Key.

COINMARKETCAP_TIMEOUT

  • Default: 5000

Timeout to CoinMarketCap API.

GENESIS_VOLATILITY_API_KEY

GENESIS_VOLATILITY_TIMEOUT

  • Default: 5000

Timeout to Genesis Volatility (GVOL) API.

POLYGON_IO_API_KEY

  • Default: ""

Polygon.io API Key.

POLYGON_IO_TIMEOUT

  • Default: 5000

Timeout to Polygon.io API.

IEX_API_KEY

  • Default: ""

IEX API Key.

IEX_TIMEOUT

  • Default: 5000

Timeout to IEX API.

ENVIRONMENT

NAME