Repository navigation
Expand file tree
/
Copy path.env.example
More file actions
55 lines (48 loc) · 2.55 KB
/
Copy path.env.example
File metadata and controls
55 lines (48 loc) · 2.55 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# Copy to .env and fill in. Do not commit .env.
# --- Discord ---------------------------------------------------------------
# Bot token and application id, from the Discord developer portal.
# The application needs no privileged intent. Leave "Server Members",
# "Presence" and "Message Content" switched off in the developer portal.
DISCORD_BOT_TOKEN=
DISCORD_APPLICATION_ID=
# The server (guild) the bot works in.
DISCORD_GUILD_ID=
# Role granted after a successful registration, one per network.
# The two ids must be different. The bot's own role must be above both.
MAINNET_SEQUENCER_ROLE_ID=
TESTNET_SEQUENCER_ROLE_ID=
# Channel for registration and status log messages.
ADMIN_LOG_CHANNEL_ID=
# --- Ethereum (L1) ---------------------------------------------------------
# The bot reads the Aztec rollup contract on Ethereum L1. It resolves the
# current rollup from the registry, so a network upgrade needs no change here.
# Use Ethereum RPC endpoints, NOT Aztec node endpoints. For example, on dRPC
# the path starts with /ethereum/ and /sepolia/, not /aztec-mainnet/.
# Mainnet: an Ethereum mainnet RPC.
AZTEC_MAINNET_RPC_URL=
AZTEC_MAINNET_REGISTRY_CONTRACT=0x35b22e09ee0390539439e24f06da43d83f90e298
# Testnet: an Ethereum Sepolia RPC.
AZTEC_RPC_URL=
AZTEC_REGISTRY_CONTRACT=0xa0bfb1b494fb49041e5c6e8c2c1be09cd171c6ba
# Provider registration. The StakingRegistry is not reachable from the
# registry, so it is configured here. Check it at each network upgrade.
# Without it, provider registration is off for that network.
AZTEC_MAINNET_STAKING_REGISTRY_CONTRACT=0x042df8f42790d6943f41c25c2132400fd727f452
AZTEC_MAINNET_STAKING_REGISTRY_START_BLOCK=23786843
AZTEC_STAKING_REGISTRY_CONTRACT=0xC6EcC1832c8BF6a41c927BEb4E9ec610FBeDd1C2
AZTEC_STAKING_REGISTRY_START_BLOCK=10049301
# For tests only: a fixed rollup address, used in place of the registry.
# An old rollup reports every attester as inactive. Leave these unset.
# AZTEC_MAINNET_ROLLUP_CONTRACT=
# AZTEC_ROLLUP_CONTRACT=
# --- Database --------------------------------------------------------------
# Used by docker-compose.yml for the Postgres container and the bot.
POSTGRES_PASSWORD=
# Without Docker, set the full connection string in place of the password:
# DATABASE_URL=postgresql://postgres:<password>@localhost:5432/postgres
# --- Backup ----------------------------------------------------------------
# docker-compose.yml writes one database dump a day to ./backups on the host.
# Number of dump files to keep.
# BACKUP_KEEP=14
# --- Logging ---------------------------------------------------------------
# LOG_LEVEL=info