-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.env.example
More file actions
39 lines (32 loc) · 1.86 KB
/
Copy path.env.example
File metadata and controls
39 lines (32 loc) · 1.86 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
# ────────────────────────────────────────────────────────────────
# shh — app-layer environment template (privacy-core deploy + web backend).
# Copy to `.env` and fill in. The OP Stack L3 chain has its own template at
# infra/op-stack/.env.example (GS_* keys, L1 RPC/beacon, image tags).
#
# SECRETS: a filled .env lives ONLY on the server (chmod 600) — never commit it.
# ────────────────────────────────────────────────────────────────
# --- Settlement layer (Base) RPCs ---
BASE_SEPOLIA_RPC_URL=https://sepolia.base.org
BASE_MAINNET_RPC_URL=https://mainnet.base.org
# --- shh L3 connection (the booted OP Stack L3) ---
SHH_RPC_URL=http://localhost:9545
SHH_NETWORK=shh
SHH_CHAIN_ID=42069
SHH_PROFILE=open-pool # open-pool | full-privacy
DENOMINATION=100000000000000000 # Privacy Pool fixed denomination, wei (0.1 ETH)
# --- Deployer / ASP (funded on the L3 via bridged-in ETH) ---
DEPLOYER_PRIVATE_KEY= # deploys the privacy core to the L3 (and the bridge sides)
ASP_SIGNER_PRIVATE_KEY= # ASP operator; publishes association roots (falls back to deployer)
# --- Relayer (web backend; funded on the L3 for gasless withdrawals) ---
RELAYER_PRIVATE_KEY=
RELAYER_ADDRESS= # relayer's address — users bind proofs to it (see GET /api/config)
RELAYER_FEE_BPS=50
# --- Faucet (testnet ETH dispenser; funded on the L3) ---
FAUCET_PRIVATE_KEY=
# --- Contract addresses (optional overrides; normally read from
# packages/contracts/deployments/<SHH_NETWORK>.json after deploy) ---
PRIVACY_POOL_ADDRESS=
SHIELDED_POOL_ADDRESS=
ASP_ADDRESS=
# --- Contract verification (optional) ---
BASESCAN_API_KEY=