mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 11:41:02 +00:00
9a3e518e5c
* Add simple example on how to spin up network. * Update readme * Remove unnecessary prefix * Improve folder structure * Add link to file * Fix paths in readme * Update README.md Co-authored-by: Bastian Köcher <git@kchr.de> Co-authored-by: Bastian Köcher <git@kchr.de>
46 lines
1.1 KiB
TOML
46 lines
1.1 KiB
TOML
[relaychain]
|
|
default_image = "{{RELAY_IMAGE}}"
|
|
default_command = "polkadot"
|
|
default_args = [ "-lparachain=debug" ]
|
|
|
|
chain = "rococo-local"
|
|
|
|
[[relaychain.nodes]]
|
|
name = "alice"
|
|
validator = true
|
|
|
|
[[relaychain.nodes]]
|
|
name = "bob"
|
|
validator = true
|
|
|
|
|
|
[[parachains]]
|
|
id = 2000
|
|
cumulus_based = true
|
|
|
|
# run the solo chain (in our case this is also already a parachain, but as it has a different genesis it will not produce any blocks.)
|
|
[[parachains.collators]]
|
|
name = "dave"
|
|
validator = true
|
|
image = "{{COL_IMAGE}}"
|
|
command = "test-parachain"
|
|
args = ["-lparachain=debug"]
|
|
|
|
[[parachains]]
|
|
id = 2000
|
|
cumulus_based = true
|
|
add_to_genesis = false
|
|
register_para = false
|
|
# Set some random value in the genesis state to create a different genesis hash.
|
|
[parachains.genesis.runtime.runtime_genesis_config.sudo]
|
|
key = "5FHneW46xGXgs5mUiveU4sbTyGBzmstUspZC92UhjJM694ty"
|
|
|
|
# run the parachain that will be used to return the header of the solo chain.
|
|
[[parachains.collators]]
|
|
name = "eve"
|
|
validator = true
|
|
add_to_bootnodes = true
|
|
image = "{{COL_IMAGE}}"
|
|
command = "test-parachain"
|
|
args = ["-lparachain=debug"]
|