mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-29 19:37:56 +00:00
a30092ab42
* Add markdown linting - add linter default rules - adapt rules to current code - fix the code for linting to pass - add CI check fix #1243 * Fix markdown for Substrate * Fix tooling install * Fix workflow * Add documentation * Remove trailing spaces * Update .github/.markdownlint.yaml Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Fix mangled markdown/lists * Fix captalization issues on known words
26 lines
732 B
Markdown
26 lines
732 B
Markdown
# How to run this collator
|
|
|
|
First, build Polkadot:
|
|
|
|
```sh
|
|
cargo build --release
|
|
```
|
|
|
|
Then 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`.
|