Guide for raising a node in the Moonbeam

Nagayka
2 min readFeb 3, 2021

Good day friends.

Recently, the curated program of the Moonbeam was launched.

Accordingly, for those who got into the project our team did not find an adequate guide in Russian.

There is a guide from the developers of the project, but it is difficult for beginners to understand and execute.

Minimum technical requirements are:

  • VPS -8 vCPU, 16GB RAM, 50GB SSD
  • OC — Linux x64
  • SSH Client — Putty, MobaXterm, mRemoteNG(who likes what)

Personally, I choose MobaXterm.

1) Install Docker

$ sudo apt update$ sudo apt install apt-transport-https ca-certificates curl software-properties-common$ curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -$ sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu bionic stable"$ sudo apt update$ apt-cache policy docker-ce$ sudo apt install docker-ce

2) Open the ports

$ sudo ufw allow 30333/tcp$ sudo ufw allow 30334/tcp

3) Create a path and register access

$ mkdir /var/lib/alphanet-data$ chmod 777 /var$ chmod 777 /var/lib$ chmod 777 /var/lib/alphanet-data

4) Launch the node

docker run -p 30334:30334 -p 30333:30333 -v “/var/lib/alphanet-data:/data” \
purestake/moonbase-parachain-testnet:v0.5.1 \
/moonbase-alphanet/moonbase-alphanet \
— base-path=/data \
— chain alphanet \
— name=”YOUR-NODE-NAME” \
— execution wasm \
— wasm-execution compiled \
— state-cache-size 4 \
— \
— name=”YOUR-NODE-NAME (Embedded Relay)”
NOTE WHERE YOUR-NODE-NAME IS, ENTER THE NAME OF YOUR NODE THERE

IF EVERYTHING WENT OK, WE GET THIS

You can log out, the only moment!

ATTENTION, USEFUL!

If you need to open the node logs after logging out, then you need to do the following:

$ docker ps — displays all the IDs of all running containers$ sudo docker logs id container -f  --tail="100" — directly runs the node logs

Thanks for your attention!

If you have any questions, please contact telegram @nagaykka, our team will try to help you!

--

--