Validator resources

We have three public environments:

Equilibriun mainnet

Endpoint link

wss://node.equilibrium.io

Websocket API Node

Equilibrium testnet

Endpoint link

wss://testnet.equilibrium.io

Websocket API Node

Genshiro mainnet

Endpoint link

Title

wss://node.genshiro.io

Websocket API Node

How to deploy eq-node

You need to pull docker image of our node from dockerhub. By default exposed ports

  • 9933 - JSON-RPC, (Not recommend to open for validators)

  • 9944 - Websocket (Not recommend to open for validators)

  • 30333 - Peering port.

We have three images on the dockerhub:

  • equilab/eq-node-testnet:latest - Equilibrium testnet node

  • equilab/eq-node:latest - Equilibrium mainnet node

  • equilab/gens-node:latest - Genshiro mainnet node

How to set up your equilibrium/genshiro validator node

You need one of the docker image specified in the previous chapter, and need docker and docker-compose on your server

For equilibrium testnet docker-compose.yml example

version: '2'
services:
eq-node:
image: equilab/eq-node-testnet:latest
container_name: eq-node
ports:
- "30333:30333"
command: ["/usr/bin/eq-node","-d","/data","--chain","/etc/eq-node.json","--execution","wasm","--wasm-execution","compiled","--rpc-cors","all","--validator","--offchain-worker","Always"]
volumes:
- './data:/data'

For equilbrium mainnet docker-compose.yml example:

version: '2'
services:
eq-node:
image: equilab/eq-node:latest
container_name: eq-node
ports:
- "30333:30333"
command: ["/usr/bin/eq-node","-d","/data","--chain","/etc/eq-node.json","--execution","wasm","--wasm-execution","compiled","--rpc-cors","all","--validator","--offchain-worker","Always"]
volumes:
- './data:/data'

For genshiro mainnet docker-compose.yml example:

version: '2'
services:
eq-node:
image: equilab/gens-node:latest
container_name: -node
ports:
- "30333:30333"
command: ["/usr/bin/gens-node","-d","/data","--chain","/etc/gens-node.json","--execution","wasm","--wasm-execution","compiled","--rpc-cors","all","--validator","--offchain-worker","Always"]
volumes:
- './data:/data'

Store this content into the file docker-compose.yml in your home directory and run sudo docker-compose up -d

Create your validators keys for equilibrium testnet/mainnet:

docker exec eq-node curl -sH "Content-Type: application/json" -d '{"id":1, "jsonrpc":"2.0", "method": "author_rotateKeys", "params":[]}' http://localhost:9933

For genshiro:

docker exec gens-node curl -sH "Content-Type: application/json" -d '{"id":1, "jsonrpc":"2.0", "method": "author_rotateKeys", "params":[]}' http://localhost:9933

As output you will receive something like:

{"jsonrpc":"2.0","result":"0xcc06cb504cbffe07033dd67c780570b094738223279ebcc3c0956110d5643f132a6ad72231c067dc495be3fa1ff578edff0d4b313fdcf9aa50b1dd65662778013a3d3e04c0fb1051a94686e26b603e20077edcd82228841ec16160175c253a5c","id":1}

Restart your node with sudo docker restart eq-node

For the next step you need polkadot extension for your browser https://polkadot.js.org/extension/

Create an account:

Store your mnemonic seed and account id for further steps.

Move to the Developer -> Extrinsics and select Session -> setKeys. Insert your keys from json result. In the proof field set 0x00 as in the picture below

Sign the request by your account key.

Provide Equilibrium your the relevant Validator account