Files
pezkuwi-sdk/pezkuwi/teyrchain/test-teyrchains/adder/collator
pezkuwichain bfc2cc5284 chore: update documentation URLs to use workspace setting
Replace all docs.rs documentation URLs with documentation.workspace = true
to inherit from the workspace's docs.pezkuwichain.io URL.
2025-12-27 17:56:39 +03:00
..

How to run this collator

First, build PezkuwiChain:

cargo build --release

Then start two validators that will run for the relay chain:

cargo run --release -- -d alice --chain pezkuwichain-local --validator --alice --port 50551
cargo run --release -- -d bob --chain pezkuwichain-local --validator --bob --port 50552

Next start the collator that will collate for the adder teyrchain:

cargo run --release -p test-teyrchain-adder-collator -- --tmp --chain pezkuwichain-local --port 50553

The last step is to register the teyrchain using pezkuwi-js. The teyrchain 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.