Ropsten as a foreign network
This commit is contained in:
parent
6bbc50b5c8
commit
0b26f8935b
|
@ -0,0 +1,28 @@
|
|||
[parity]
|
||||
chain = "ropsten"
|
||||
base_path = "/opt/storage/Ropsten"
|
||||
keys_path = "/home/koal/parity/keys"
|
||||
|
||||
[network]
|
||||
port = 30343
|
||||
nat = "none"
|
||||
|
||||
[rpc]
|
||||
port = 48545
|
||||
apis = ["web3", "eth", "net", "personal", "parity", "parity_set", "traces", "rpc", "parity_accounts"]
|
||||
cors = ["all"]
|
||||
hosts = ["all"]
|
||||
|
||||
[ipc]
|
||||
apis = ["web3", "eth", "pubsub", "net", "parity", "parity_pubsub", "parity_accounts", "traces", "rpc", "shh", "shh_pubsub", "personal"]
|
||||
|
||||
[ui]
|
||||
port = 48180
|
||||
force = true
|
||||
|
||||
[websockets]
|
||||
port = 48546
|
||||
|
||||
[account]
|
||||
unlock = ["0xf3ee321df87781864f46f6464e764c2827fca73b"]
|
||||
password = ["/home/koal/parity/keys/passwd/foreign_f3ee321df87781864f46f6464e764c2827fca73b.pwd"]
|
|
@ -0,0 +1,36 @@
|
|||
estimated_gas_cost_of_withdraw = "0"
|
||||
#max_total_home_contract_balance = "10000000000000000000"
|
||||
#max_single_deposit_value = "1000000000000000000"
|
||||
|
||||
[home]
|
||||
account = "0x842eb2142c5aa1260954f07aae39ddee1640c3a7"
|
||||
ipc = "/home/koal/parity/Sokol_home/jsonrpc.ipc"
|
||||
required_confirmations = 1
|
||||
poll_interval = 5
|
||||
request_timeout = 10
|
||||
|
||||
[home.contract]
|
||||
bin = "contracts.opt/HomeBridge.bin"
|
||||
|
||||
[foreign]
|
||||
account = "0xf3ee321df87781864f46f6464e764c2827fca73b"
|
||||
ipc = "/opt/storage/Ropsten/jsonrpc.ipc"
|
||||
required_confirmations = 1
|
||||
poll_interval = 20
|
||||
request_timeout = 10
|
||||
|
||||
[foreign.contract]
|
||||
bin = "contracts.opt/ForeignBridge.bin"
|
||||
|
||||
[authorities]
|
||||
accounts = [
|
||||
"0xf3ee321df87781864f46f6464e764c2827fca73b"
|
||||
]
|
||||
required_signatures = 1
|
||||
|
||||
[transactions]
|
||||
home_deploy = { gas = 3000000, gas_price = 1000000000 }
|
||||
foreign_deploy = { gas = 3000000, gas_price = 5000000000 }
|
||||
deposit_relay = { gas = 300000, gas_price = 5000000000 }
|
||||
withdraw_confirm = { gas = 300000, gas_price = 5000000000 }
|
||||
withdraw_relay = { gas = 300000, gas_price = 1000000000 }
|
|
@ -0,0 +1 @@
|
|||
{"id":"7f1aae19-e63f-fdab-e917-ca01dbffa25a","version":3,"crypto":{"cipher":"aes-128-ctr","cipherparams":{"iv":"f568bfdfc7c4346997c55685b97856bd"},"ciphertext":"a253fb25e484551fa90e50c503cf2b288082e6138efc39d9b95214f2e6b451dd","kdf":"pbkdf2","kdfparams":{"c":10240,"dklen":32,"prf":"hmac-sha256","salt":"8c884d52dd3d573716938a0c0db95a2a89aad77e6c13f82a0bb1e36c72860c9c"},"mac":"fea53c70a3a265a7b618a5839cd51affce4120781cda6a7011ade73b8bb34c45"},"address":"f3ee321df87781864f46f6464e764c2827fca73b","name":"","meta":"{}"}
|
|
@ -0,0 +1 @@
|
|||
{"id":"8437ae14-1e28-75d3-4512-a60d63dbfb64","version":3,"crypto":{"cipher":"aes-128-ctr","cipherparams":{"iv":"6ac9cafc4afa4ec408c9e72d99d77b7d"},"ciphertext":"d4c72972233cadf95e3fda4598692cb08461807ebcfa153dc123b48de438bbdb","kdf":"pbkdf2","kdfparams":{"c":10240,"dklen":32,"prf":"hmac-sha256","salt":"c1fa041558f35b0ff17aa1e0ab49b71ecceff739a2f6f87d7abc8eb0661df3c5"},"mac":"d968ac0bad6361192c4ab1c2f96fade3eab05de3c7edd7dfb86b686de2a6429c"},"address":"37a30534da3d53aa1867adde26e114a3161b2b12","name":"","meta":"{}"}
|
|
@ -0,0 +1,8 @@
|
|||
#!/bin/bash
|
||||
|
||||
PARITY_EXEC=/opt/parity/parity
|
||||
PARITY_CONFIG=/home/koal/parity/Ropsten_foreign.toml
|
||||
#DEBUG_RPC='-l rpc=trace'
|
||||
EXTRA_CONFIG='--no-ancient-blocks'
|
||||
|
||||
exec ${PARITY_EXEC} --config ${PARITY_CONFIG} ${DEBUG_RPC} ${EXTRA_CONFIG}
|
|
@ -0,0 +1,9 @@
|
|||
#!/bin/bash
|
||||
|
||||
PARITY_BASE="/home/koal/parity"
|
||||
RUNNER="parity_Ropsten_foreign.sh"
|
||||
TASK="Ropsten_foreign"
|
||||
|
||||
cd ${PARITY_BASE}/${TASK}
|
||||
|
||||
exec screen -d -m -U -t "${TASK}" -S "${TASK}.screen" -h 5000 -L -s ${PARITY_BASE}/${RUNNER}
|
Loading…
Reference in New Issue