-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
24 lines (21 loc) · 1.03 KB
/
.env.example
File metadata and controls
24 lines (21 loc) · 1.03 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
# Comma-separated list of network keys defined in foundry.toml's [rpc_endpoints].
NETWORKS=base
# Endpoint URLs for each network in NETWORKS.
BASE_RPC_URL=
MAINNET_RPC_URL=
SHAPE_RPC_URL=
ABSTRACT_RPC_URL=
# Deploy credentials. Provide ONE of the following two patterns:
# 1. Keystore-based (preferred): set DEPLOYER to the deployer address and
# pass `--account <name>` to forge script. The keystore unlocks the key.
# 2. Raw private key (legacy / one-shot): set DEPLOYER_PRIVATE_KEY to the
# hex private key. `BaseCreate2Script` reads it via `vm.envOr`. The value
# MUST be 0x-prefixed — without it, `vm.envOr` silently falls back to a
# dummy key (unfunded) and the broadcast fails with "balance 0".
# The CREATE2 factory is keyless, so the deployed address is derived from the
# salt + initcode only — the deployer only matters for who pays gas.
DEPLOYER=
DEPLOYER_PRIVATE_KEY=
# Etherscan v2 unified API key (works across Etherscan-supported chains
# including Base). Used by `forge script --verify`.
ETHERSCAN_API_KEY=