-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv.example
More file actions
62 lines (46 loc) · 2.56 KB
/
Copy pathenv.example
File metadata and controls
62 lines (46 loc) · 2.56 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
# Clock-Proxy Auction Deployment Configuration
# Copy this file to .env and update with your values
# =============================================================================
# REQUIRED: Private Key and RPC Configuration
# =============================================================================
# Your private key (keep this secure!)
PRIVATE_KEY=0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef
# RPC URL for your target network
RPC_URL=https://sepolia.infura.io/v3/YOUR_PROJECT_ID
# Optional: Etherscan API key for contract verification
ETHERSCAN_API_KEY=YOUR_ETHERSCAN_API_KEY
# =============================================================================
# REQUIRED: Uniswap V4 Core Addresses
# =============================================================================
# PoolManager address for your target network
# Mainnet: 0x... (when V4 is deployed)
# Sepolia: 0x... (when V4 is deployed)
# Base Sepolia: 0x... (when V4 is deployed)
POOL_MANAGER_ADDRESS=0x0000000000000000000000000000000000000000
# =============================================================================
# OPTIONAL: Protocol Configuration
# =============================================================================
# Protocol owner address (defaults to deployer if not set)
# This address will have admin privileges over the CPA protocol
PROTOCOL_OWNER=0x0000000000000000000000000000000000000000
# =============================================================================
# NETWORK-SPECIFIC EXAMPLES
# =============================================================================
# Example for Ethereum Sepolia:
# RPC_URL=https://sepolia.infura.io/v3/YOUR_PROJECT_ID
# POOL_MANAGER_ADDRESS=0x... (V4 PoolManager on Sepolia)
# Example for Base Sepolia:
# RPC_URL=https://sepolia.base.org
# POOL_MANAGER_ADDRESS=0x... (V4 PoolManager on Base Sepolia)
# Example for local development:
# RPC_URL=http://localhost:8545
# POOL_MANAGER_ADDRESS=0x... (local V4 PoolManager)
# =============================================================================
# DEPLOYMENT COMMANDS
# =============================================================================
# Deploy to testnet:
# forge script script/DeployCPA.s.sol --rpc-url $RPC_URL --private-key $PRIVATE_KEY --broadcast --verify --etherscan-api-key $ETHERSCAN_API_KEY
# Deploy to mainnet:
# forge script script/DeployCPA.s.sol --rpc-url $RPC_URL --private-key $PRIVATE_KEY --broadcast --verify --etherscan-api-key $ETHERSCAN_API_KEY
# Dry run (simulation):
# forge script script/DeployCPA.s.sol --rpc-url $RPC_URL --private-key $PRIVATE_KEY