Created
May 11, 2022 18:17
-
-
Save brunopgalvao/f71c7179cd5f780f7b5b6e2401661a01 to your computer and use it in GitHub Desktop.
polkadot-launch working config
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Collator flags | |
var flags = ["--", "--execution=wasm"]; | |
var config = { | |
relaychain: { | |
bin: "./bin/polkadot", | |
chain: "rococo-local", | |
nodes: [ | |
{ | |
name: "alice", | |
wsPort: 9944, | |
port: 30444, | |
}, | |
{ | |
name: "bob", | |
wsPort: 9955, | |
port: 30555, | |
}, | |
{ | |
name: "charlie", | |
wsPort: 9966, | |
port: 30666, | |
}, | |
{ | |
name: "dave", | |
wsPort: 9977, | |
port: 30777, | |
}, | |
], | |
genesis: { | |
runtime: { | |
runtime_genesis_config: { | |
configuration: { | |
config: { | |
validation_upgrade_frequency: 10, | |
validation_upgrade_delay: 10, | |
}, | |
}, | |
}, | |
}, | |
}, | |
}, | |
parachains: [ | |
{ | |
bin: "./bin/parachain-collator-1000-local", | |
id: "1000", | |
balance: "1000000000000000000000", | |
nodes: [ | |
{ | |
wsPort: 9988, | |
port: 31200, | |
name: "alice", | |
flags, | |
}, | |
], | |
}, | |
{ | |
bin: "./bin/parachain-collator-2000-local", | |
balance: "1000000000000000000000", | |
nodes: [ | |
{ | |
wsPort: 9989, | |
port: 31201, | |
name: "alice", | |
flags, | |
}, | |
], | |
} | |
], | |
simpleParachains: [], | |
hrmpChannels: [], | |
types: {}, | |
finalization: false, | |
}; | |
module.exports = config; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment