Set up a Node
Steps to do the update:
Stop the docker container (remember to keep the docker volume).
Copy the docker image from below
Remove
--unsafe-rpc-external
and--rpc-methods=unsafe
from your node (if you already generated session keys previously)Run your updated image again
Install Docker on your VM (how to install Docker on Ubuntu)
Create and run the container from the validator node image using the following command
sudo docker run -d -v peaq-storage:/chain-data -p 9944:9944 peaq/parachain:peaq-v0.0.102 \
--collator \
--parachain-id 3338 \
--chain ./node/src/chain-specs/peaq-raw.json \
--base-path chain-data \
--port 30333 \
--rpc-port 9944 \
--rpc-methods=unsafe \
--unsafe-rpc-external \
--rpc-cors=all \
--execution=wasm \
--out-peers 50 \
--in-peers 50 \
-- \
--execution wasm \
--port 30343 \
--sync fast \
--rpc-port 9977
- Wait until your validator node syncs with the blockchain (both Polkadot Relay Chain and peaq parachain block history). It may take a few hours and will depend on your connection speed. A fully synced node will look like this: