Repository navigation
Expand file tree
/
Copy path.env.example
More file actions
46 lines (41 loc) · 2.83 KB
/
Copy path.env.example
File metadata and controls
46 lines (41 loc) · 2.83 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
# ─── DIN CLI environment (development / testing) ───
# Copy to .env (never commit .env). Values here are for LOCAL DEVELOPMENT.
# RPC endpoints (per network)
LOCAL_RPC_URL=http://127.0.0.1:8545
SEPOLIA_OP_DEVNET_RPC_URL=
MAINNET_RPC_URL=
# ── Wallet keys — DEVELOPMENT / TESTING ONLY ──────────────────────────
# ETH_PRIVATE_KEY_<n> stores RAW private keys in PLAINTEXT on disk.
# Convenient for multi-account local testing; NOT for production validators.
# Production validators: use an encrypted keystore instead — see
# Documentation/guides/wallet-setup.md
# ETH_PRIVATE_KEY_0=0x...
# ETH_PRIVATE_KEY_1=0x...
# Wallet decryption password for AUTOMATION (encrypted keystore).
# NOTE: dincli no longer caches passwords across commands (see
# keystore-migration.md). For unattended/CI runs set this; for interactive
# production use you will be prompted per command unless this is set.
# DIN_WALLET_PASSWORD=
# Active named keystore selector (optional; default "default").
# Equivalent to the top-level --wallet flag.
# DIN_WALLET_NAME=default
# ── DeployPlatform tokenomics overrides (foundry/script/DeployPlatform.s.sol) ──
# Omit any key to keep the in-code default. Set all of them together for testnet/mainnet.
# NOTE: forge script only auto-loads foundry/.env, NOT this repo-root file or
# .env.<network>. Put these keys in foundry/.env, or export them into the shell
# before deploying (from foundry/):
# set -a; source ../.env.<network>; set +a
#
# DIN_PER_ETH=1000000000000000000000000 # DIN minted per ETH (default: 1,000,000 * 1e18)
# MINT_CAP=0 # max total DIN minted, 0 = uncapped (default)
# EMISSION_PER_GI=100000000000000000000 # initial DIN subsidy per GI (default: 100e18)
# EMISSION_DECAY_BPS=8000 # retention fraction per epoch, bps (default: 8000 = 80% retained / 20% decay)
# EMISSION_EPOCH_LENGTH=100 # GIs per epoch (default: 100)
# EMISSION_MAX_EPOCHS=10 # total epochs before emission stops (default: 10)
# MIN_STAKE=10000000000000000000 # minimum validator stake in DIN-wei (default: 10e18)
# S5_RECIDIVISM_WINDOW=5 # rolling GI window for S5 escalation (default: 5)
# S5_RECIDIVISM_THRESHOLD=3 # slashes in window to trigger S5 jail (default: 3)
# S5_JAIL_DURATION=604800 # jail duration in seconds (default: 604800 = 7 days)
# S6_NO_PARTICIPATION_THRESHOLD=3 # no-participation events before S6 fires (default: 3)
# S5_GLOBAL_WINDOW=604800 # seconds over which S5 counts partial slashes from ALL slasher contracts (default: 604800 = 7 days; 0 with threshold 0 = off)
# S5_GLOBAL_THRESHOLD=6 # partial slashes in that window to trigger S5 jail (default: 6; 0 with window 0 = off)