Run Relayers
Steps to set up your own Snowbridge message relayers.
Last updated
Steps to set up your own Snowbridge message relayers.
Last updated
The first thing you will need is an AWS account. if you do not have an account yet.
Clone the :
Install Ansible and its dependencies:
On the AWS console, under the EC2 section, create an ED25519 key pair called snowbridge-relayers-key
.
In the snowbridge-relayers-infra
directory, create a .envrc file with the following values:
Add your AWS access key ID, secret access key and account ID.
Run command from inside the snowbridge-relayers-infra
directory:
ansible-playbook -i inventory/message-relayers/aws_ec2.yml infra.yml
It will create an EC2 instance to run the relayers on.
Add the following plaintext secrets to AWS secrets manager:
Use the secret seed hash as the snowbridge/asset-hub-ethereum-relay
secret.
The asset-hub-parachain-relay
is a private key for a funded account on Ethereum.
The Ethereum and Polkadot BridgeHub account should be funded with $10 each, at least.
Once you have added all the secrets, you can deploy your relayers:
Once it has completed, ssh into your instance.
Check that you see no relayer errors for each relayer:
TODO
To upgrade the relayer, run the following commands:
Ask for API keys for dwellir-eth-node-api-key
, dwellir-polkadot-node-api-key
and chainalysis-api-key
in Snowbridge Relayer Telegram group: (keys will be DM'ed to you).
The asset-hub-ethereum-relay
is a private key for an prefunded account on Polkadot BridgeHub. To retrieve the private key from an account on Polkadot with seedphrase "cat cow milk...", use :
Once you have set up all of the above, ask for a relayer ID and relayer count in Snowbridge Relayer Telegram group: . Add the key and ID in your .envrc
file. .
Once the relayer has started up successfully, all relaying parties should increment their their relayer config. This action will be prompted in the TG group.