Skip to content

Commit fc894bf

Browse files
feat: add zombienet config (#4)
Co-authored-by: Frank Bell <[email protected]>
1 parent 78ca0fd commit fc894bf

File tree

2 files changed

+36
-0
lines changed

2 files changed

+36
-0
lines changed

networks/README.md

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Zombienet
2+
3+
## Installation
4+
You can install the Pop CLI as follows:
5+
```shell
6+
cargo install --git https://github.com/r0gue-io/pop-cli
7+
```
8+
9+
## Spawn Network
10+
You can spawn a local network as follows:
11+
```shell
12+
pop up -c ./networks/rococo.toml
13+
```

networks/rococo.toml

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
[settings]
2+
timeout = 1000
3+
node_spawn_timeout = 300
4+
5+
[relaychain]
6+
chain = "rococo-local"
7+
default_command = "./polkadot"
8+
default_args = ["--insecure-validator-i-know-what-i-do"]
9+
10+
[[relaychain.nodes]]
11+
name = "alice"
12+
validator = true
13+
14+
[[relaychain.nodes]]
15+
name = "bob"
16+
validator = true
17+
18+
[[parachains]]
19+
id = 909
20+
21+
[[parachains.collators]]
22+
name = "pop"
23+
command = "./target/release/pop-node"

0 commit comments

Comments
 (0)