Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

add statemine parachain-launch config #1812

Closed
wants to merge 7 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions scripts/parachain-launch/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Parachain-launch



# Introduction

[Parachain-launch](https://github.com/open-web3-stack/parachain-launch) is a script that generates a docker compose file allowing you to launch a testnet of multiple blockchain nodes.

To generate the compose file, first ensure `parachain-launch` is installed and run the following command

```
parachain-launch generate statemine.yml
```

This will produce an output directory that contains all the necessary files to run the testnet.

Once the run is successful, you can spin up the infrastructure using the below command

```
docker-compose -f output/docker-compose.yml up -d
```

# Requirements
[docker-compose](https://docs.docker.com/compose/install/) and [Parachain-launch](https://github.com/open-web3-stack/parachain-launch)
29 changes: 29 additions & 0 deletions scripts/parachain-launch/statemine.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
relaychain:
image: parity/polkadot:v0.9.29
chain: rococo-local
runtimeGenesisConfig:
configuration:
config:
validation_upgrade_cooldown: 10
validation_upgrade_delay: 10
flags:
- --rpc-methods=unsafe
nodes:
- name: alice
- name: bob

parachains:
- image: docker.io/parity/polkadot-parachain:latest
chain:
base: statemine-local
collators:
- alice
sudo: alice
id: 2000
parachain: true
flags:
- --rpc-methods=unsafe
- --force-authoring
nodes:
- flags:
- --alice