• OS: Ubuntu 20.04
  • CPU: 3.3 GHz AMD EPYC 7002
  • Storage: 1TB SSD
  • Memory: 8GB RAM

For example, the c5ad.xlarge machine from AWS suffices these requirements.

The above specifications have been tested and proven by peaq’s engineering team to produce reliable results over time. While these are recommended, you can experiment with other configurations to optimize for cost and performance.

Set up a Node

  1. Stop your docker container if running an older version (remember to keep the docker volume).
  2. Copy the docker image from below.
  3. Remove -unsafe-rpc-external and -rpc-methods=unsafe from your node (if you already generated session keys previously).
  4. Run your updated image again.
  5. Install Docker on your VM (how to install Docker on Ubuntu).
  6. 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.105 \
--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
  1. 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: