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_PROVIDER_URI

    Default Web3 node provider URI.

  • NUCYPHER_STAKERS_PAGINATION_SIZE

    Default pagination size for the maximum number of active stakers to retrieve from StakingEscrow in one contract call.

  • NUCYPHER_STAKERS_PAGINATION_SIZE_LIGHT_NODE

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

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 (Worker)

  • NUCYPHER_WORKER_ADDRESS

    Ethereum account used by Ursula.

  • NUCYPHER_WORKER_ETH_PASSWORD

    Password for Ethereum account used by Ursula (Worker).