Environment Variables

Environment variables are used for configuration in various areas of the codebase to facilitate automation. The constants for these variables are available in nucypher.config.constants.

Where applicable, values are evaluated in the following order of precedence:

  1. CLI parameter

  2. Environment variable

  3. Configuration file

  4. Optional default in code

General

  • NUCYPHER_KEYSTORE_PASSWORD

    Password for the nucypher Keystore.

  • NUCYPHER_ETH_PROVIDER_URI

    Default Web3 node provider URI.

  • NUCYPHER_STAKING_PROVIDERS_PAGINATION_SIZE

    Default pagination size for the maximum number of active staking providers to retrieve from PREApplication in one contract call.

  • NUCYPHER_STAKING_PROVIDERS_PAGINATION_SIZE_LIGHT_NODE

    Default pagination size for the maximum number of active staking providers to retrieve from PREApplication in one contract call when a light node provider is being used.

  • NUCYPHER_STAKING_PROVIDER_ETH_PASSWORD

    Password for a staking provider’s Keystore.

Alice

  • NUCYPHER_ALICE_ETH_PASSWORD

    Password for Ethereum account used by Alice.

Bob

  • NUCYPHER_BOB_ETH_PASSWORD

    Password for Ethereum account used by Bob.

Ursula (Operator)

  • NUCYPHER_OPERATOR_ADDRESS

    Ethereum account used by Ursula.

  • NUCYPHER_OPERATOR_ETH_PASSWORD

    Password for Ethereum account used by Ursula (Operator).