-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
34 lines (26 loc) · 1.33 KB
/
.env.example
File metadata and controls
34 lines (26 loc) · 1.33 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
# Token Host Builder (local) - example environment values.
# Copy to `.env.local` (gitignored) and fill in real values as needed.
# --- CLI defaults (optional) ---
# TH_RPC_URL is used as a fallback when chain-specific RPC URLs are not set.
TH_RPC_URL=http://127.0.0.1:8545
# --- Per-chain config (preferred) ---
ANVIL_RPC_URL=http://127.0.0.1:8545
# Foundry/Anvil default dev key (SAFE for local only; never use on a public chain).
ANVIL_PRIVATE_KEY=0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80
# Sepolia (set your own RPC + key)
SEPOLIA_RPC_URL=https://rpc.sepolia.example
SEPOLIA_PRIVATE_KEY=0xreplace_me
# Generic fallback key (used for non-anvil chains if chain-specific key is not set).
TH_PRIVATE_KEY=0xreplace_me
# Explorer verification (future: `th verify`)
ETHERSCAN_API_KEY=replace_me
# Optionally chain-specific:
SEPOLIA_ETHERSCAN_API_KEY=replace_me
# --- Build/publish metadata (optional) ---
# If set, th build/deploy will sign manifest.json (ed25519).
# Provide either:
# - TH_MANIFEST_SIGNING_KEY_PATH=/absolute/path/to/ed25519-private-key.pem
# - TH_MANIFEST_SIGNING_KEY=base64:<pkcs8-der-base64>
TH_MANIFEST_SIGNING_KEY_PATH=/path/to/ed25519-private-key.pem
# Optional: UI base URL recorded in manifest.json (defaults to a local file:// URL for ui-bundle/).
TH_UI_BASE_URL=https://your-app.apps.tokenhost.com/