Search…
⌃K

Collator resources

How to deploy parachain node

You need to pull the docker image of our node from the docker hub. By default for security reasons exposed only port 30333 for peering.
For equilibrium parachain docker-compose.yml example:
version: '3'
services:
parachain-collator:
image: equilab/eq-para:latest
container_name parachain-collator
command:
- --execution=wasm
- --wasm-execution=compiled
- --prometheus-external
- --rpc-methods=Unsafe
- --offchain-worker=Always
- --collator
- --no-private-ipv4
- --
- --chain=polkadot
- --execution=wasm
- --keep-blocks=10000
- --sync=Fast
ports:
- "30333:30333"
volumes:
- './data:/data'
Store this content into the file docker-compose.yml in your home directory and run sudo docker-compose up -d
Wait until your node is synced.
For the next step, you need polkadot extension for your browser https://polkadot.js.org/extension/
Create an account and ask the account replenishment from the equilibrium team
Store your mnemonic seed and account id for further steps.
Create your collator keys for equilibrium parachain by command docker exec parachain-collator getkeys Your output will be like something:
{
"aura": "0xd0f8adc669e563562958f6d50859cd72c4e900f67b2dbdcf8c29bde67f0a6148",
"eqRate": "0x6055f6b23ba8479e8ab45771a0210f90ec51adfe5fbaabad97b5e9b5ab4269ad"
}
Return to the polkadot,js app, 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 with your account key and provide Equilibrium your the relevant Validator account