-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathexample_env
More file actions
39 lines (31 loc) · 1.63 KB
/
example_env
File metadata and controls
39 lines (31 loc) · 1.63 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
# ==============================================================================
# ChatterPay Smart Contracts - Environment Configuration Example
# Copy this file to .env and fill in the values
# ==============================================================================
# --- Network Configuration ---
RPC_URL=https://rpc.scroll.io # RPC endpoint for the target network
CHAIN_ID=534351 # Scroll Sepolia: 534351 | Scroll Mainnet: 534352
DEPLOY_NETWORK_ENV=LOCAL # LOCAL | TEST | PROD
# --- Credentials ---
# The private key of the account performing deployments and migrations
PRIVATE_KEY=0x...
BACKEND_PK=0x...
# The public address of the backend/admin account (must match PRIVATE_KEY in many scripts)
BACKEND_EOA=0x...
# --- Verification ---
# API key for the block explorer (e.g., Scrollscan) for contract verification
NETWORK_EXPLORER_API_KEY=your_api_key_here
# --- Migration & Batching Options ---
# Comma-separated list of factory addresses to scan for wallets (Optional)
FACTORIES=0xE17Ca047427557C3bdeD9d151a823D8e2B514e74,0x18F1978...
# Address of the ChatterPayManageable bridge logic (Optional - used to resume migrations)
BRIDGE_LOGIC=0x...
# Batch processing configuration for large-scale updates
OFFSET=0 # Starting index for the batch
BATCH_SIZE=50 # Number of wallets to process per transaction
# --- Deployment Overrides ---
# Set these to skip re-deploying existing contracts during a run
DEPLOYED_PAYMASTER_ADDRESS=0x...
DEPLOYED_NFT_ADDRESS=0x...
DEPLOYED_FACTORY=0x...
DEPLOYED_CHATTERPAY=0x...