diff --git a/networks/README.md b/networks/README.md new file mode 100644 index 000000000..f7d94bf6a --- /dev/null +++ b/networks/README.md @@ -0,0 +1,13 @@ +# Zombienet + +## Installation +You can install the Pop CLI as follows: +```shell +cargo install --git https://github.com/r0gue-io/pop-cli +``` + +## Spawn Network +You can spawn a local network as follows: +```shell +pop up -c ./networks/rococo.toml +``` \ No newline at end of file diff --git a/networks/rococo.toml b/networks/rococo.toml new file mode 100644 index 000000000..6638c1c80 --- /dev/null +++ b/networks/rococo.toml @@ -0,0 +1,23 @@ +[settings] +timeout = 1000 +node_spawn_timeout = 300 + +[relaychain] +chain = "rococo-local" +default_command = "./polkadot" +default_args = ["--insecure-validator-i-know-what-i-do"] + + [[relaychain.nodes]] + name = "alice" + validator = true + + [[relaychain.nodes]] + name = "bob" + validator = true + +[[parachains]] +id = 909 + + [[parachains.collators]] + name = "pop" + command = "./target/release/pop-node" \ No newline at end of file