Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
56 changes: 28 additions & 28 deletions env.example
Original file line number Diff line number Diff line change
@@ -1,67 +1,67 @@
# Copy to .env and fill in values for the features you want.
# .env is loaded from the current directory, or ../.env from subdirectories.

# Reporter
## REQUIRED VARIABLES ##
LAYER_HOME=/home/<reporter-username>/.layer
FROM=your-key-name
KEYRING_BACKEND=file
KEYRING_BACKEND=test
# KEYRING_PASSWORD_FILE=/etc/layer-daemons/reporter-keyring-password
# BROADCAST_MODE=sync
# LOG_LEVEL=info
# PROMETHEUS_PORT=26661

# Layer endpoints (comma-separated primary, then fallbacks)
RPC_NODES=http://node_endpoint1:26657,http://node_endpoint2:26657
GRPC_NODES=node1:9090,node2:9090
RPC_NODES=http://node_endpoint1:26657,https://node_endpoint2:26657
GRPC_NODES=0.0.0.0:9090,node2_ip:9090

# Bridge-chain RPC endpoints for token bridge reads
BRIDGE_CHAIN_RPC_NODES=https://mainnet.infura.io/v3/YOUR_INFURA_API_KEY,https://eth-mainnet.g.alchemy.com/v2/YOUR_ALCHEMY_API_KEY
# Optional Ethereum mainnet RPC endpoints for custom query contract reads.
# Use this when BRIDGE_CHAIN_RPC_NODES points at a non-mainnet bridge chain such as Sepolia.
# ETH_MAINNET_RPC_NODES=https://mainnet.infura.io/v3/YOUR_INFURA_API_KEY,https://eth-mainnet.g.alchemy.com/v2/YOUR_ALCHEMY_API_KEY
# Ethereum mainnet RPC endpoints for custom query contract reads.
ETH_MAINNET_RPC_NODES=https://mainnet.infura.io/v3/YOUR_INFURA_API_KEY,https://eth-mainnet.g.alchemy.com/v2/YOUR_ALCHEMY_API_KEY

# Optional local/custom-chain token bridge contract override
# TOKEN_BRIDGE_TEST_CONTRACT=0x0000000000000000000000000000000000000000
# Custom query API keys (endpoint auth and Ethereum mainnet RPC template expansion)
CMC_PRO_API_KEY=your_coinmarketcap_api_key
CGPRO_API_KEY=your_coingecko_pro_api_key
SUBGRAPH_API_KEY=your_the_graph_api_key
# Used by built-in Ethereum mainnet RPC templates when ETH_MAINNET_RPC_NODES is unset
INFURA_API_KEY=YOUR_INFURA_API_KEY
ALCHEMY_API_KEY=YOUR_ALCHEMY_API_KEY

# Reward withdrawals
## OPTIONAL VARIABLES ##
# daemon settings:
# BROADCAST_MODE=sync
# LOG_LEVEL=info
# PROMETHEUS_PORT=26661

# Set Automatic Reward withdrawals:
# REPORTERS_VALIDATOR_ADDRESS=tellorvaloper1...
# WITHDRAW_FREQUENCY=43200

# Price guard
# Price guard:
# PRICE_GUARD_ENABLED=false
# PRICE_GUARD_THRESHOLD=0.5 # 50%
# PRICE_GUARD_MAX_AGE=1h
# PRICE_GUARD_UPDATE_ON_BLOCKED=false

# Auto-unbonding
# Auto-unbonding:
# AUTO_UNBONDING_FREQUENCY=7
# AUTO_UNBONDING_AMOUNT=1000000
# AUTO_UNBONDING_MAX_STAKE_PERCENTAGE=0.1

# Auto balance-to-keep bridge
# Auto balance-to-keep bridge:
# AUTO_BALANCE_TO_KEEP=5000000
# AUTO_BALANCE_EXECUTION_TIME=03:00
# AUTO_BALANCE_BRIDGE_TO_ETH_ADDR=0x0000000000000000000000000000000000000000

# Gas estimate cache refresh
# Gas estimate cache refresh:
# REFRESH_GAS_ESTIMATES_INTERVAL=12h

# Daemon internals
# Daemon internals:
# UNIX_SOCKET_ADDRESS=/tmp/daemons.sock
# PANIC_ON_DAEMON_FAILURE_ENABLED=true
# MAX_DAEMON_UNHEALTHY_SECONDS=300
# PRICE_DAEMON_LOOP_DELAY_MS=3000

# Custom query API keys (endpoint auth and Ethereum mainnet RPC template expansion)
CMC_PRO_API_KEY=your_coinmarketcap_api_key
CGPRO_API_KEY=your_coingecko_pro_api_key
SUBGRAPH_API_KEY=your_the_graph_api_key
# Used by built-in Ethereum mainnet RPC templates when ETH_MAINNET_RPC_NODES is unset
INFURA_API_KEY=YOUR_INFURA_API_KEY
ALCHEMY_API_KEY=YOUR_ALCHEMY_API_KEY


# for testing: local/custom-chain token bridge contract override:
# TOKEN_BRIDGE_TEST_CONTRACT=0x0000000000000000000000000000000000000000

# Test mode (verify configs without starting the daemon)
# Test mode (verify configs without starting the daemon):
# TEST=true
# TEST_QUERY_ID=0000000000000000000000000000000000000000000000000000000000000000
Loading