Joining Muon Protocol

Guidelines for setting up a Muon node

To join Pion network, one needs to go through three stages:

  1. Running the node

  2. Adding the node to Muon Protocol

1) Running the Node

A person who wishes to run a Muon node needs to have a server with these requirements .

  • Before installing a Muon node, one needs to install Docker Engine, where you should first choose your server's operating system, and then follow the installation instructions.

  • The first step is to get the Muon docker-compose.yml . To do so, run the following command on your server:

curl -o docker-compose.yml https://raw.githubusercontent.com/muon-protocol/muon-node-js/pion/docker-compose-pull.yml
  • And then you call pull images using this command:

docker compose pull
  • Now the node can be run using the following command.

docker compose up -d
  • Wait for a minute and then run the next command and see the result.

curl http://localhost:8012/status

The result should look like this and means your node is running properly. (It is not added to the network yet.)

{"address":"0x22E25482F7B27b8765FE93F4ac0Cb79a0e8cB3ef","peerId":"QmVZrfc47AQQoPGjbWAmd1wQv9BtGYpFQ67JnbFmmHxAWN","networkingPort":"9012","node":{"addedToNetwork":false,...}}

You need this address and peerID later when you add the node to the network.

Adding the node to Muon Protocol

After you have gone through the above steps, refer to the dashboard, connect your staking wallet and follow the steps through.

VERY IMPORTANT: Make sure you have backed up your node as soon as you add it. In case something happens to your server, you can use the backup to restore your node. Not backing up your node may result in financial loss.

Last updated