Go to github pull
fork repo cosmosia ->> Sync Fork
<relayerhub_name>_config.toml
to folder
Eg: whitewhale_config.toml
vim $HOME/cosmosia/relaying/<relayerhub_name>_config.toml
2. Update relayerhubs_registry.ini
vim $HOME/cosmosia/relaying/relayerhubs_registry.ini
Add following:
[relayerhub_name]
hermes_version = "version"
Then commit
->> push
->> contribute
->> pull request
->> merge
Setup enviroment variable:
Eg: whitewhale
export RELAYERHUB_NAME=
export MNEMONIC=
Get mnemonic:
- CLI:
- Eg:
- osmosis:
osmosisd keys add $KEYNAME --output json
- cosmos:
gaiad keys add $KEYNAME --output json
- ...
- osmosis:
- Eg:
- Keplr: Just create new account
Direct:
docker create config cosmosia.relay.$RELAYERHUB_NAME.mnemonic.txt $MNEMONIC
From files:
docker create config cosmosia.relay.$RELAYERHUB_NAME.mnemonic.txt ./mnemonic.txt
Direct:
docker create config cosmosia.relay_clear.$RELAYERHUB_NAME.mnemonic.txt $MNEMONIC
From files:
docker create config cosmosia.relay_clear.$RELAYERHUB_NAME.mnemonic.txt ./mnemonic.txt
Or just create config at config
Pull new newest update:
cd $HOME/cosmosia/relaying
git reset --hard HEAD~1
git reset --hard HEAD~1
git reset --hard HEAD~1
git pull
Create relayer:
sh docker_service_create.sh $RELAYERHUB_NAME
Create relayer:
cd $HOME/cosmosia/relaying_clear
sh docker_service_create.sh $RELAYERHUB_NAME