-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv-template
More file actions
86 lines (71 loc) · 4.27 KB
/
env-template
File metadata and controls
86 lines (71 loc) · 4.27 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
NEO_NODE_URL=http://localhost:40332
# EVM Configuration
EVM_RPC_URL=http://localhost:8562
# Neo Contract hashes
MESSAGE_BRIDGE_CONTRACT_HASH=bd98300a1951d72533fa749010265f71c4cfff38
BRIDGE_MANAGEMENT_CONTRACT_HASH=f0e6bccc463fa39fb21c4d0b69c2c279cd3d12d9
EXECUTION_MANAGER_CONTRACT_HASH=0xa4cda6c7b19c7e06ad702f1bc7e20ecc21e0a050
NATIVE_TOKEN_BRIDGE_CONTRACT_HASH=0x356376dcd5580f49f8b4d1274745ac55ad858784
# EVM Contract addresses
EVM_MESSAGE_BRIDGE_CONTRACT_ADDRESS=
EVM_EXECUTION_MANAGER_CONTRACT_ADDRESS=
EVM_NATIVE_BRIDGE_CONTRACT_ADDRESS=
EVM_TOKEN_BRIDGE_CONTRACT_ADDRESS=
EVM_BRIDGE_MANAGEMENT_CONTRACT_ADDRESS=
# Validator public keys
VALIDATOR_PUBLIC_KEY=0x02a0150e31043503248d2e3cb1e55011062d19a02a2da82f3cb55d9a1b967a601d
NEW_VALIDATOR_PUBLIC_KEY=0x... # Fill with new validator pubkey when replacing validator
OLD_VALIDATOR_PUBLIC_KEY=0x02a0150e31043503248d2e3cb1e55011062d19a02a2da82f3cb55d9a1b967a601d
DECREMENT_THRESHOLD=true
# New contract owners/governors/relayers/security guards
NEW_OWNER=... # Fill with new owner scriptHash when changing owner
NEW_RELAYER=... # Fill with new relayer scriptHash when changing relayer
NEW_GOVERNOR=... # Fill with new governor scriptHash when changing governor
NEW_SECURITY_GUARD=... # Fill with new security guard scriptHash when changing security guard
# Message Bridge Operations
# MESSAGE_BRIDGE_OPERATION=send-executable
MESSAGE_EXECUTABLE_DATA=0x000000000000000000000000000000000000000000000000000000000000002000000000000000000000000005fd43b3efcb4ff1ca08229caecf67bc21d0c0a3000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000002470a08231000000000000000000000000b156115f737be58a9115febe08dc474c8117aebd00000000000000000000000000000000000000000000000000000000
MESSAGE_STORE_RESULT=true
# MESSAGE_BRIDGE_OPERATION=send-store-only
MESSAGE_STORE_ONLY_DATA=Hello from Neon3!
# MESSAGE_BRIDGE_OPERATION=send-result
MESSAGE_NONCE=1 #also used for getter methods
# Execution Manager Operations
SERIALIZE_TARGET=... # Target contract hash for serialization (defaults to MESSAGE_BRIDGE_CONTRACT_HASH)
SERIALIZE_METHOD=isPaused # Method name for serialization (default: isPaused)
SERIALIZE_CALL_FLAGS=0 # Call flags for serialization (default: 0)
# Native Token Bridge Operations
# NATIVE_OPERATION=set|deposit|withdraw|claim|pause-bridge|unpause-bridge|set-fee|set-min|set-max|set-total
NATIVE_OPERATION=deposit
NATIVE_CLAIM_NONCE=1 # Nonce for native claim
NATIVE_DECIMALS=18 # Decimals on this chain (default: 18)
NATIVE_DECIMALS_LINKED_CHAIN=18 # Decimals on linked chain (default: 18)
NATIVE_DEPOSIT_FEE=0 # Deposit fee (default: 0)
NATIVE_MIN_DEPOSIT=1000000 # Minimum amount (default: 1000000)
NATIVE_MAX_DEPOSIT=1000000000000 # Maximum amount (default: 1000000000000)
NATIVE_MAX_WITHDRAWALS=1000 # Maximum withdrawals (default: 1000)
NATIVE_MAX_TOTAL_DEPOSIT=10000000000000 # Maximum total deposited (default: 10000000000000)
NATIVE_AMOUNT=1000000000000000000 # Amount for native deposit (1 ETH in wei)
NATIVE_RECIPIENT=0x... # Recipient address for native deposit
NATIVE_MAX_FEE=1000000000000000 # Maximum fee for native deposit (0.001 ETH in wei)
# Token Bridge Operations
# TOKEN_OPERATION=register|deposit|withdraw|claim|pause|unpause|set-fee|set-min|set-max|set-withdrawals
TOKEN_OPERATION=deposit
TOKEN_ADDRESS=0x... # Token address
NEO_N3_TOKEN_ADDRESS=0x... # Neo N3 token address for registration
# Token registration configuration
TOKEN_DECIMALS_LINKED_CHAIN=18 # Decimals on linked chain (default: 18)
TOKEN_DEPOSIT_FEE=0 # Initial deposit fee (default: 0)
TOKEN_MIN_DEPOSIT=1000000 # Initial minimum deposit (default: 1000000)
TOKEN_MAX_DEPOSIT=1000000000000 # Initial maximum deposit (default: 1000000000000)
TOKEN_MAX_WITHDRAWALS=1000 # Initial maximum withdrawals (default: 1000)
# Token deposit/claim configuration
TOKEN_AMOUNT=1000000 # Amount for token deposit
TOKEN_RECIPIENT=0x... # Recipient address for token deposit
TOKEN_CLAIM_NONCE=1 # Nonce for token claim
# Neo wallet configuration
NEO_WALLET_PATH=../neon3-funding/neon3-wallets/personal.json
NEO_WALLET_PASSWORD=
# EVM wallet configuration
EVM_WALLET_PATH=../neox-funding/neox-wallets/personal.json
EVM_WALLET_PASSWORD=