-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
44 lines (36 loc) · 3.39 KB
/
.env.example
File metadata and controls
44 lines (36 loc) · 3.39 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
# ── Ethereum L1 ───────────────────────────────────────────────────────────────
L1_RPC_URL=https://mainnet.infura.io/v3/YOUR_KEY
L1_SEPOLIA_RPC_URL=https://sepolia.infura.io/v3/YOUR_KEY
L1_PRIVATE_KEY=0x... # deployer / registrar owner key
BOLETO_REGISTRAR_ADDRESS=0x... # deployed BoletoRegistrar
PLATFORM_TREASURY_ADDRESS=0x... # receives USDC fees + royalties
ENS_RESOLVER_ADDRESS=0x... # custom resolver for boleto.eth
BOLETO_ETH_NODE=0x... # namehash("boleto.eth")
# ── Base L2 ───────────────────────────────────────────────────────────────────
BASE_RPC_URL=https://mainnet.base.org
BASE_SEPOLIA_RPC_URL=https://sepolia.base.org
BASE_PRIVATE_KEY=0x... # L2 deployer key
BOLETO_FACTORY_ADDRESS=0x... # deployed BoletoFactory on Base
# ── ENS ───────────────────────────────────────────────────────────────────────
ENS_REGISTRY_ADDRESS=0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e
NAME_WRAPPER_ADDRESS=0xD4416b13d2b3a9aBae7AcD5D6C2BbDBE25686401
# ── IPFS ──────────────────────────────────────────────────────────────────────
PINATA_JWT=...
PINATA_GATEWAY=https://gateway.pinata.cloud
# ── Database ──────────────────────────────────────────────────────────────────
DATABASE_URL=postgresql://user:password@localhost:5432/boleto_eth
# ── API ───────────────────────────────────────────────────────────────────────
PORT=3000
API_KEY_SECRET=... # secret for hashing API keys
# ── USDC ──────────────────────────────────────────────────────────────────────
USDC_L1_ADDRESS=0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48
USDC_BASE_ADDRESS=0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913
USDC_SEPOLIA_ADDRESS=0x... # MockUSDC on Sepolia for testing
# ── Dashboard ─────────────────────────────────────────────────────────────────
NEXT_PUBLIC_API_URL=http://localhost:3000
NEXT_PUBLIC_WALLETCONNECT_PROJECT_ID=...
NEXT_PUBLIC_ALCHEMY_MAINNET=https://eth-mainnet.g.alchemy.com/v2/YOUR_KEY
NEXT_PUBLIC_ALCHEMY_SEPOLIA=https://eth-sepolia.g.alchemy.com/v2/YOUR_KEY
# ── Etherscan / Basescan ──────────────────────────────────────────────────────
ETHERSCAN_API_KEY=...
BASESCAN_API_KEY=...