This repository has been archived by the owner on Sep 18, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 80
/
bridge_config.toml
65 lines (52 loc) · 2.29 KB
/
bridge_config.toml
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
# READ THE CONFIG DOCUMENTATION AT:
# https://github.com/paritytech/parity-bridge/#configuration
# ACTION REQUIRED: set to your authority address
address = "0x00bd138abd70e2f00903268f3db08f2d25677c9e"
estimated_gas_cost_of_withdraw = "200000"
# limits total balance on `main` 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_main_contract_balance = "10000000000000000000"
# limit `msg.value` for a single deposit into the main contract.
# set to `"0"` to disable limit (not recommended at this point)
# currently set to 1 ether.
max_single_deposit_value = "1000000000000000000"
[main]
# ACTION REQUIRED: set the url of the parity node that has `main.account` unlocked
http = "http://localhost:8550"
# ACTION REQUIRED: for test deployment set this to 12
required_confirmations = 0
[main.contract]
# READ THE CONFIG DOCUMENTATION AT:
# https://github.com/paritytech/parity-bridge/#configuration
bin = "../compiled_contracts/Main.bin"
[side]
# ACTION REQUIRED: set the the url of the parity node that has `side.account` unlocked
http = "http://localhost:8551"
# ACTION REQUIRED: for test deployment set this to 12
required_confirmations = 0
[side.contract]
# READ THE CONFIG DOCUMENTATION AT:
# https://github.com/paritytech/parity-bridge/#configuration
bin = "../compiled_contracts/Side.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 `main`:
main_deploy = { gas = "1500000" , gas_price = "0" }
withdraw_relay = { gas = "200000" , gas_price = "0" }
# these happen on `side`:
side_deploy = { gas = "3000000" , gas_price = "0" }
deposit_relay = { gas = "150000" , gas_price = "0" }
withdraw_confirm = { gas = "300000" , gas_price = "0" }