Set up a local parachain testnet to test and debug various XCM scenarios.
parachain-launch is a script that generates a docker compose file allowing you to launch a testnet of multiple blockchain nodes.
The following options are supported by the generate script.
Option | Description | Required | Default |
---|---|---|---|
–config | Path to config file. | No | ./config.yml |
–output | Path to output dir. | No | ./output |
–yes | Overwrite generated files? | No | false |
Download the example config file and edit as necessary.
Run the generate script:
This will generate the docker files a folder called output
in your current working directory or in the directory provided to the --output
option.
Download the example config file and edit as necessary.
Run the service from within the local directory:
This will generate the docker files a folder called output
in your current working directory or in the directory provided to the --output
option.
To start the nodes, navigate to the output folder that you generated the scripts in and build the docker container:
NOTE: If you regenerate the output directory then you will need to rebuild the docker images.
List all of the containers:
Track container logs:
Stop all of the containers:
Remove all of the containers:
If you want to clear the data and restart the you will need to clear the volumes.
Remove volume:
Prune all volumes: