Environment variables

Most of the Client's configuration can be done through the .env file. The detailed content is as follows:

# Common configurations
   ACCOUNT_INITIALIZER_API_BASE_URL=https://registst3.exactsat.io
   ACCOUNT_INITIALIZER_API_SECRET=f1a033d7-3d59-4c9b-b9e7-fb897b91a8fb

   # Logger configurations
   LOGGER_MAX_SIZE=30m
   LOGGER_DIR=logs
   LOGGER_MAX_FILES=30d

   # ExSat RPC URLs
   EXSAT_RPC_URLS=["https://chain-tst3.exactsat.io"]

   # Bitcoin RPC configurations
   BTC_RPC_URL=
   BTC_RPC_USERNAME=
   BTC_RPC_PASSWORD=

   # Synchronizer configurations (required only for Synchronizer)
   CHUNK_SIZE=262144
   SYNCHRONIZER_JOBS_BLOCK_UPLOAD=*/1 * * * * *
   SYNCHRONIZER_JOBS_BLOCK_VERIFY=*/1 * * * * *
   SYNCHRONIZER_JOBS_BLOCK_PARSE=*/1 * * * * *
   SYNCHRONIZER_JOBS_BLOCK_FORK_CHECK=0 * * * * *
   SYNCHRONIZER_KEYSTORE_FILE=
   SYNCHRONIZER_KEYSTORE_PASSWORD=

   # Validator configurations (required only for Validator)
   VALIDATOR_JOBS_ENDORSE=*/1 * * * * *
   VALIDATOR_JOBS_ENDORSE_CHECK=0 * * * * *
   VALIDATOR_KEYSTORE_FILE=
   VALIDATOR_KEYSTORE_PASSWORD=

   # Prometheus monitoring
   PROMETHEUS=false
   PROMETHEUS_ADDRESS=0.0.0.0:9900

Last updated