forked from paritytech/parity-bridge
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbridge_config.toml
More file actions
66 lines (54 loc) · 2.39 KB
/
bridge_config.toml
File metadata and controls
66 lines (54 loc) · 2.39 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
# READ THE CONFIG DOCUMENTATION AT:
# https://github.com/paritytech/parity-bridge/#configuration
estimated_gas_cost_of_withdraw = "200000"
# limits total balance on `home` and therefore total ether that could get lost
# if the bridge is faulty or compromised in any way!
# set to `"0"` to disable limit (not recommended at this point)
# currently set to 10 ether.
max_total_home_contract_balance = "10000000000000000000"
# limit `msg.value` for a single deposit into the home contract.
# set to `"0"` to disable limit (not recommended at this point)
# currently set to 1 ether.
max_single_deposit_value = "1000000000000000000"
[home]
# ACTION REQUIRED: set to your authority address
account = "0x00bd138abd70e2f00903268f3db08f2d25677c9e"
# ACTION REQUIRED: set the the ipc socket of the parity node that has `home.account` unlocked
ipc = "./home.ipc"
# ACTION REQUIRED: for test deployment set this to 12
required_confirmations = 0
[home.contract]
# READ THE CONFIG DOCUMENTATION AT:
# https://github.com/paritytech/parity-bridge/#configuration
bin = "../compiled_contracts/HomeBridge.bin"
[foreign]
# ACTION REQUIRED: set to your authority address
account = "0x00bd138abd70e2f00903268f3db08f2d25677c9e"
# ACTION REQUIRED: set the the ipc socket of the parity node that has `foreign.account` unlocked
ipc = "./foreign.ipc"
# ACTION REQUIRED: for test deployment set this to 12
required_confirmations = 0
[foreign.contract]
# READ THE CONFIG DOCUMENTATION AT:
# https://github.com/paritytech/parity-bridge/#configuration
bin = "../compiled_contracts/ForeignBridge.bin"
[authorities]
# ACTION REQUIRED: set this to the addresses of the authority list
accounts = [
"0x00bd138abd70e2f00903268f3db08f2d25677c9e",
]
# ACTION REQUIRED: set this to a (super-)majority of `authorities.accounts`
# example: set to 3 for 5 authorities. set to 7 for 10 authorities
required_signatures = 1
[transactions]
# `gas` below should be good defaults for test deployment.
# ACTION REQUIRED: you have to set `gas_price` for each transaction
# if your authority can't do free transactions on the chain.
# `gas_price` might need adjustment once in a while.
# these happen on `home`:
home_deploy = { gas = 1000000 , gas_price = 0 }
withdraw_relay = { gas = 200000 , gas_price = 0 }
# these happen on `foreign`:
foreign_deploy = { gas = 3000000 , gas_price = 0 }
deposit_relay = { gas = 150000 , gas_price = 0 }
withdraw_confirm = { gas = 300000 , gas_price = 0 }