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
1
version: '2'
2
services:
3
eq-node:
4
image: equilab/eq-node-testnet:latest
5
container_name: eq-node
6
ports:
7
- "30333:30333"
8
command: ["/usr/bin/eq-node","-d","/data","--chain","/etc/eq-node.json","--execution","wasm","--wasm-execution","compiled","--rpc-cors","all","--validator","--offchain-worker","Always"]
9
volumes:
10
- './data:/data'
Copied!
For equilbrium mainnet docker-compose.yml example:
1
version: '2'
2
services:
3
eq-node:
4
image: equilab/eq-node:latest
5
container_name: eq-node
6
ports:
7
- "30333:30333"
8
command: ["/usr/bin/eq-node","-d","/data","--chain","/etc/eq-node.json","--execution","wasm","--wasm-execution","compiled","--rpc-cors","all","--validator","--offchain-worker","Always"]
9
volumes:
10
- './data:/data'
Copied!
For genshiro mainnet docker-compose.yml example:
1
version: '2'
2
services:
3
eq-node:
4
image: equilab/gens-node:latest
5
container_name: -node
6
ports:
7
- "30333:30333"
8
command: ["/usr/bin/gens-node","-d","/data","--chain","/etc/gens-node.json","--execution","wasm","--wasm-execution","compiled","--rpc-cors","all","--validator","--offchain-worker","Always"]
9
volumes:
10
- './data:/data'
Copied!
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:
1
docker exec eq-node curl -sH "Content-Type: application/json" -d '{"id":1, "jsonrpc":"2.0", "method": "author_rotateKeys", "params":[]}' http://localhost:9933
Copied!
For genshiro:
1
docker exec gens-node curl -sH "Content-Type: application/json" -d '{"id":1, "jsonrpc":"2.0", "method": "author_rotateKeys", "params":[]}' http://localhost:9933
Copied!
As output you will receive something like:
1
{"jsonrpc":"2.0","result":"0xcc06cb504cbffe07033dd67c780570b094738223279ebcc3c0956110d5643f132a6ad72231c067dc495be3fa1ff578edff0d4b313fdcf9aa50b1dd65662778013a3d3e04c0fb1051a94686e26b603e20077edcd82228841ec16160175c253a5c","id":1}
Copied!
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
Last modified 2mo ago