mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-17 01:55:41 +00:00
be403051dc
* rust 1.64 enables workspace properties * add edition, repository and authors. * of course, update the version in one place. Co-authored-by: Andronik <write@reusable.software>
How to run this collator
First start two validators that will run for the relay chain:
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:
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.