forked from frosty720/kusd-core
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
75 lines (63 loc) · 2.77 KB
/
.env.example
File metadata and controls
75 lines (63 loc) · 2.77 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
# KUSD Deployment Environment Variables
# Copy this file to .env and fill in your actual values
# NEVER commit .env to git!
# ============================================
# PRIVATE KEY (REQUIRED FOR DEPLOYMENT)
# ============================================
# Your deployer wallet private key (without 0x prefix)
# This wallet will be the initial owner of all contracts
# Make sure this wallet has enough KALY for gas fees
PRIVATE_KEY=your_private_key_here_without_0x_prefix
# ============================================
# RPC ENDPOINTS
# ============================================
# KalyChain Testnet RPC
KALYCHAIN_TESTNET_RPC=https://testnetrpc.kalychain.io/rpc
# KalyChain Mainnet RPC
KALYCHAIN_MAINNET_RPC=https://rpc.kalychain.io/rpc
# ============================================
# BLOCK EXPLORER API (OPTIONAL)
# ============================================
# KalyChain block explorer API key (if available)
# Used for contract verification
KALYSCAN_API_KEY=your_api_key_here
# ============================================
# DEPLOYMENT CONFIGURATION
# ============================================
# Network to deploy to (3889 for testnet, 3888 for mainnet)
CHAIN_ID=3889
# Gas configuration for KalyChain
GAS_LIMIT=3000000
GAS_PRICE=21000000000
# ============================================
# ORACLE ADDRESSES (ALREADY CONFIGURED IN Config.sol)
# ============================================
# These are already set in Config.sol, but you can override them here if needed
# BTC_ORACLE=0x85a8386367755965C95E31B06778B2c89082E316
# ETH_ORACLE=0x935216C74e1838E7090f31756ce0f64a34A5aAce
# USDT_ORACLE=0xf8Be6Ed01e7AE968118cf3db72E7641C59A9Dc4f
# USDC_ORACLE=0x930e5F6D686A19794bc7a1615a40032182D359D7
# DAI_ORACLE=0x301F4fbd60156568d87932c42b3C17Bd5F0f33BD
# ============================================
# GOVERNANCE ADDRESSES (ALREADY CONFIGURED IN Config.sol)
# ============================================
# These are already set in Config.sol for KalyDAO
# TIMELOCK=0x34AcBA229Aeaf7F1c0f442633F35E26Bc94b4e2A
# GOVERNOR=0x3ce8eDA4c48635983F15af7D3Dae96C8D9Ae593d
# TREASURY=0x5E65BEC7D118751c3b92BBccD1bEE8165e663b4b
# GOVERNANCE_TOKEN=0xF917BdbeFc80EC42A091F9E466C794684a95327E
# ============================================
# DEPLOYMENT OPTIONS
# ============================================
# Whether to verify contracts on block explorer (true/false)
VERIFY_CONTRACTS=false
# Whether to deploy mock tokens on testnet (true/false)
DEPLOY_MOCK_TOKENS=true
# ============================================
# NOTES
# ============================================
# 1. NEVER commit your .env file to git!
# 2. The .env file is already in .gitignore
# 3. Your private key should NOT have the 0x prefix
# 4. Make sure your deployer wallet has enough KALY for gas
# 5. Estimated gas cost for full deployment: ~0.5-1 KALY