-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathenv.template
More file actions
101 lines (81 loc) · 3.97 KB
/
env.template
File metadata and controls
101 lines (81 loc) · 3.97 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
# x402-exec Contract Deployment Configuration
#
# This file contains ONLY contract deployment related configuration.
# For other services, see:
# - Facilitator: examples/facilitator/.env (copy from examples/facilitator/env.example)
# - Showcase Server: examples/showcase/server/.env (copy from examples/showcase/server/env.example)
#
# Usage:
# 1. Copy this file: cp env.template .env
# 2. Fill in your deployer private key
# 3. (Optional) Override default RPC URLs if needed
# 4. After deployment, fill in the deployed contract addresses
# 5. NEVER commit .env to git!
# =====================================
# Deployer Wallet Configuration
# =====================================
DEPLOYER_PRIVATE_KEY=0x... # Your deployer wallet private key (KEEP SECRET!)
# =====================================
# Base Sepolia Testnet (Chain ID: 84532)
# =====================================
# RPC URL (optional, defaults to: https://sepolia.base.org)
# BASE_SEPOLIA_RPC_URL=https://sepolia.base.org
# Deployed contract addresses (fill in after deployment)
BASE_SEPOLIA_SETTLEMENT_ROUTER_ADDRESS=0x32431D4511e061F1133520461B07eC42afF157D6
# =====================================
# Base Mainnet (Chain ID: 8453)
# =====================================
# RPC URL (optional, defaults to: https://mainnet.base.org)
# BASE_RPC_URL=https://mainnet.base.org
# Deployed contract addresses
BASE_SETTLEMENT_ROUTER_ADDRESS=0x73fc659Cd5494E69852bE8D9D23FE05Aab14b29B
BASE_TRANSFER_HOOK_ADDRESS=0x081258287F692D61575387ee2a4075f34dd7Aef7
# =====================================
# X-Layer Testnet (Chain ID: 1952)
# =====================================
# RPC URL (optional, defaults to: https://testrpc.xlayer.tech/terigon)
# X_LAYER_TESTNET_RPC_URL=https://testrpc.xlayer.tech/terigon
# Deployed contract addresses (fill in after deployment)
# X_LAYER_TESTNET_SETTLEMENT_ROUTER_ADDRESS=0x...
# =====================================
# X-Layer Mainnet (Chain ID: 196)
# =====================================
# RPC URL (optional, defaults to: https://rpc.xlayer.tech)
# X_LAYER_RPC_URL=https://rpc.xlayer.tech
# Deployed contract addresses
X_LAYER_SETTLEMENT_ROUTER_ADDRESS=0x73fc659Cd5494E69852bE8D9D23FE05Aab14b29B
X_LAYER_TRANSFER_HOOK_ADDRESS=0x081258287F692D61575387ee2a4075f34dd7Aef7
# =====================================
# SKALE Base Sepolia (Chain ID: 324705682)
# =====================================
# RPC URL (optional, defaults to: https://base-sepolia-testnet.skalenodes.com/v1/jubilant-horrible-ancha)
# SKALE_BASE_SEPOLIA_RPC_URL=https://base-sepolia-testnet.skalenodes.com/v1/jubilant-horrible-ancha
# Deployed contract addresses
SKALE_BASE_SEPOLIA_SETTLEMENT_ROUTER_ADDRESS=0x1Ae0E196dC18355aF3a19985faf67354213F833D
SKALE_BASE_SEPOLIA_TRANSFER_HOOK_ADDRESS=0x2f05fe5674aE756E25C26855258B4877E9e021Fd
# =====================================
# BSC Testnet (Chain ID: 97)
# =====================================
# RPC URL (optional, defaults to: https://data-seed-prebsc-1-s1.bnbchain.org:8545)
# BSC_TESTNET_RPC_URL=https://data-seed-prebsc-1-s1.bnbchain.org:8545
# Deployed contract addresses
BSC_TESTNET_SETTLEMENT_ROUTER_ADDRESS=0x1Ae0E196dC18355aF3a19985faf67354213F833D
BSC_TESTNET_TRANSFER_HOOK_ADDRESS=0x2f05fe5674aE756E25C26855258B4877E9e021Fd
# =====================================
# BSC Mainnet (Chain ID: 56)
# =====================================
# RPC URL (optional, defaults to: https://bsc-dataseed.binance.org)
# BSC_RPC_URL=https://bsc-dataseed.binance.org
# Deployed contract addresses
BSC_SETTLEMENT_ROUTER_ADDRESS=0x1Ae0E196dC18355aF3a19985faf67354213F833D
BSC_TRANSFER_HOOK_ADDRESS=0x2f05fe5674aE756E25C26855258B4877E9e021Fd
# =====================================
# Block Explorer API Keys (Optional)
# =====================================
# For contract verification during deployment
# For Base networks: https://basescan.org/myapikey
BASESCAN_API_KEY=...
# For X-Layer networks: https://www.oklink.com/account/my-api
OKLINK_API_KEY=...
# For BSC networks: https://bscscan.com/myapikey
BSCSCAN_API_KEY=...