Setup a Node
Install Docker on your VM (how to install Docker on Ubuntu)
Create and run the container from the collator node image using the following command
sudo docker run -d -v krest-storage:/chain-data -p 9944:9944 -p 9933:9933 peaq/parachain:krest-v31052023 \
--collator \
--parachain-id 2241 \
--chain ./node/src/chain-specs/krest-raw.json \
--base-path chain-data \
--port 30333 \
--ws-port 9944 \
--rpc-port 9933 \
--rpc-methods=unsafe \
--unsafe-rpc-external \
--ws-external \
--rpc-cors=all \
--execution=wasm \
-- \
--execution wasm \
--chain ./node/src/chain-specs/kusama.json \
--port 30343 \
--sync warp \
--ws-port 9977
- Wait until your collator node syncs with the blockchain (both Polkadot Relay Chain and krest parachain block history). It may take a few hours and will depend on your connection speed. A fully synced node will look like this: