Files
pezkuwi-subxt/polkadot/parachain/test-parachains/adder/collator/README.md
T
Bernhard Schuster d64394ef59 minor chore changes (#3944)
* chore: mild refactor, avoid the channel in handle_import_statements

* chore/md: lint
2021-09-27 20:18:59 +02:00

20 lines
674 B
Markdown

# How to run this collator
First start two validators that will run for the relay chain:
```sh
cargo run --release -- -d alice --chain rococo-local --validator --alice --port 50551
cargo run --release -- -d bob --chain rococo-local --validator --bob --port 50552
```
Next start the collator that will collate for the adder parachain:
```sh
cargo run --release -p test-parachain-adder-collator -- --tmp --chain rococo-local --port 50553
```
The last step is to register the parachain using polkadot-js. The parachain id is
100. The genesis state and the validation code are printed at startup by the collator.
To do this automatically, run `scripts/adder-collator.sh`.