Skip to content

Commit

Permalink
feat: add zombienet config (#4)
Browse files Browse the repository at this point in the history
Co-authored-by: Frank Bell <[email protected]>
  • Loading branch information
peterwht and evilrobot-01 committed Feb 24, 2024
1 parent 78ca0fd commit cec40bb
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
13 changes: 13 additions & 0 deletions networks/README.md
Original file line number Diff line number Diff line change
@@ -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
```
22 changes: 22 additions & 0 deletions networks/rococo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
[settings]
timeout = 1000
node_spawn_timeout = 300

[relaychain]
chain = "rococo-local"
default_command = "./bin/polkadot"

[[relaychain.nodes]]
name = "alice"
validator = true

[[relaychain.nodes]]
name = "bob"
validator = true

[[parachains]]
id = 909

[[parachains.collators]]
name = "pop"
command = "./target/release/pop-node"

0 comments on commit cec40bb

Please sign in to comment.