-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
78abdde
commit 58d038e
Showing
26 changed files
with
570 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,32 @@ | ||
# ibc-relayer | ||
# IBC-Relayer Ansible Setup | ||
|
||
Hello world | ||
## Design Philosophy | ||
|
||
1. Support both hermes and rly | ||
1. Make config file extensible by DRY principle | ||
|
||
## Guide | ||
|
||
First copy it to your own inventory file so you can customize it to suit your needs: | ||
|
||
```bash | ||
cp inventory.sample inventory | ||
``` | ||
|
||
To install rly | ||
|
||
```bash | ||
ansible-playbook main_rly_install.yml | ||
``` | ||
|
||
To install Hermes | ||
|
||
```bash | ||
ansible-playbook main_hermes_install.yml | ||
``` | ||
|
||
To install a specific Hermes relayer hub | ||
|
||
```bash | ||
ansible-playbook main_hermes_config.yml -e "target=juno" | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
rest_port: 3003 | ||
telemetry_port: 4003 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
rest_port: 3001 | ||
telemetry_port: 4001 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
rest_port: 3005 | ||
telemetry_port: 4005 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
rest_port: 3002 | ||
telemetry_port: 4002 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
{% include 'fragments/header.toml.j2' %} | ||
|
||
|
||
{% include 'fragments/gravity.toml.j2' %} | ||
|
||
[chains.packet_filter] | ||
policy = 'allow' | ||
list = [ | ||
['transfer', 'channel-0'], # Bitcanna | ||
['transfer', 'channel-34'], # Chihuahua | ||
['transfer', 'channel-8'], # Juno | ||
['transfer', 'channel-10'], # Osmosis | ||
['transfer', 'channel-7'], # Stargaze | ||
['transfer', 'channel-28'], # Umee | ||
] | ||
|
||
{% include 'fragments/bitcanna.toml.j2' %} | ||
|
||
[chains.packet_filter] | ||
policy = 'allow' | ||
list = [ | ||
['transfer', 'channel-8'], # Gravity | ||
] | ||
|
||
{% include 'fragments/chihuahua.toml.j2' %} | ||
|
||
[chains.packet_filter] | ||
policy = 'allow' | ||
list = [ | ||
['transfer', 'channel-15'], # Gravity | ||
] | ||
|
||
{% include 'fragments/juno.toml.j2' %} | ||
|
||
[chains.packet_filter] | ||
policy = 'allow' | ||
list = [ | ||
['transfer', 'channel-31'], # Gravity | ||
] | ||
|
||
{% include 'fragments/osmosis.toml.j2' %} | ||
|
||
[chains.packet_filter] | ||
policy = 'allow' | ||
list = [ | ||
['transfer', 'channel-144'], # Gravity | ||
] | ||
|
||
{% include 'fragments/stargaze.toml.j2' %} | ||
|
||
[chains.packet_filter] | ||
policy = 'allow' | ||
list = [ | ||
['transfer', 'channel-6'], # Gravity | ||
] | ||
|
||
{% include 'fragments/umee.toml.j2' %} | ||
|
||
[chains.packet_filter] | ||
policy = 'allow' | ||
list = [ | ||
['transfer', 'channel-9'], # Gravity | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
{% include 'fragments/header.toml.j2' %} | ||
|
||
|
||
{% include 'fragments/juno.toml.j2' %} | ||
|
||
[chains.packet_filter] | ||
policy = 'allow' | ||
list = [ | ||
['transfer', 'channel-29'], # Akash | ||
['transfer', 'channel-50'], # Bitcanna | ||
['transfer', 'channel-28'], # Chihuahua | ||
['transfer', 'channel-70'], # Evmos | ||
['transfer', 'channel-58'], # Kichain | ||
['transfer', 'channel-5'], # Sifchain | ||
['transfer', 'channel-20'], # Stargaze | ||
['transfer', 'channel-62'], # Umee | ||
] | ||
|
||
{% include 'fragments/akash.toml.j2' %} | ||
|
||
[chains.packet_filter] | ||
policy = 'allow' | ||
list = [ | ||
['transfer', 'channel-35'], # Juno | ||
] | ||
|
||
{% include 'fragments/bitcanna.toml.j2' %} | ||
|
||
[chains.packet_filter] | ||
policy = 'allow' | ||
list = [ | ||
['transfer', 'channel-10'], # Juno | ||
] | ||
|
||
{% include 'fragments/chihuahua.toml.j2' %} | ||
|
||
[chains.packet_filter] | ||
policy = 'allow' | ||
list = [ | ||
['transfer', 'channel-11'], # Juno | ||
] | ||
|
||
{% include 'fragments/evmos.toml.j2' %} | ||
|
||
[chains.packet_filter] | ||
policy = 'allow' | ||
list = [ | ||
['transfer', 'channel-5'], # Juno | ||
] | ||
|
||
{% include 'fragments/kichain.toml.j2' %} | ||
|
||
[chains.packet_filter] | ||
policy = 'allow' | ||
list = [ | ||
['transfer', 'channel-8'], # Juno | ||
] | ||
|
||
{% include 'fragments/sifchain.toml.j2' %} | ||
|
||
[chains.packet_filter] | ||
policy = 'allow' | ||
list = [ | ||
['transfer', 'channel-14'], # Juno | ||
] | ||
|
||
{% include 'fragments/stargaze.toml.j2' %} | ||
|
||
[chains.packet_filter] | ||
policy = 'allow' | ||
list = [ | ||
['transfer', 'channel-5'], # Juno | ||
] | ||
|
||
{% include 'fragments/umee.toml.j2' %} | ||
|
||
[chains.packet_filter] | ||
policy = 'allow' | ||
list = [ | ||
['transfer', 'channel-2'], # Juno | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
{% include 'fragments/header.toml.j2' %} | ||
|
||
|
||
{% include 'fragments/kujira.toml.j2' %} | ||
|
||
[chains.packet_filter] | ||
policy = 'allow' | ||
list = [ | ||
['transfer', 'channel-9'], # Axelar | ||
['transfer', 'channel-1'], # Juno | ||
['transfer', 'channel-0'], # Cosmos | ||
['transfer', 'channel-23'], # Evmos | ||
['transfer', 'channel-3'], # Osmosis | ||
] | ||
|
||
{% include 'fragments/axelar.toml.j2' %} | ||
|
||
[chains.packet_filter] | ||
policy = 'allow' | ||
list = [ | ||
['transfer', 'channel-14'], # kujira | ||
] | ||
|
||
{% include 'fragments/cosmos.toml.j2' %} | ||
|
||
[chains.packet_filter] | ||
policy = 'allow' | ||
list = [ | ||
['transfer', 'channel-343'], # Kujira | ||
] | ||
|
||
{% include 'fragments/evmos.toml.j2' %} | ||
|
||
[chains.packet_filter] | ||
policy = 'allow' | ||
list = [ | ||
['transfer', 'channel-18'], # Kujira | ||
] | ||
|
||
{% include 'fragments/juno.toml.j2' %} | ||
|
||
[chains.packet_filter] | ||
policy = 'allow' | ||
list = [ | ||
['transfer', 'channel-87'], # kujira | ||
] | ||
|
||
{% include 'fragments/osmosis.toml.j2' %} | ||
|
||
[chains.packet_filter] | ||
policy = 'allow' | ||
list = [ | ||
['transfer', 'channel-259'], # kujira | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
{% include 'fragments/header.toml.j2' %} | ||
|
||
|
||
{% include 'fragments/osmosis.toml.j2' %} | ||
|
||
[chains.packet_filter] | ||
policy = 'allow' | ||
list = [ | ||
['transfer', 'channel-1'], # Akash | ||
['transfer', 'channel-51'], # Bitcanna | ||
['transfer', 'channel-113'], # Chihuahua | ||
['transfer', 'channel-204'], # Evmos | ||
['transfer', 'channel-77'], # Kichain | ||
['transfer', 'channel-47'], # Sifchain | ||
['transfer', 'channel-75'], # Stargaze | ||
['transfer', 'channel-184'], # Umee | ||
] | ||
|
||
{% include 'fragments/akash.toml.j2' %} | ||
|
||
[chains.packet_filter] | ||
policy = 'allow' | ||
list = [ | ||
['transfer', 'channel-9'], # Osmosis | ||
] | ||
|
||
{% include 'fragments/bitcanna.toml.j2' %} | ||
|
||
[chains.packet_filter] | ||
policy = 'allow' | ||
list = [ | ||
['transfer', 'channel-1'], # Osmosis | ||
] | ||
|
||
{% include 'fragments/chihuahua.toml.j2' %} | ||
|
||
[chains.packet_filter] | ||
policy = 'allow' | ||
list = [ | ||
['transfer', 'channel-7'], # Osmosis | ||
] | ||
|
||
{% include 'fragments/evmos.toml.j2' %} | ||
|
||
[chains.packet_filter] | ||
policy = 'allow' | ||
list = [ | ||
['transfer', 'channel-0'], # Osmosis | ||
] | ||
|
||
{% include 'fragments/kichain.toml.j2' %} | ||
|
||
[chains.packet_filter] | ||
policy = 'allow' | ||
list = [ | ||
['transfer', 'channel-0'], # Osmosis | ||
] | ||
|
||
{% include 'fragments/sifchain.toml.j2' %} | ||
|
||
[chains.packet_filter] | ||
policy = 'allow' | ||
list = [ | ||
['transfer', 'channel-17'], # Osmosis | ||
] | ||
|
||
{% include 'fragments/stargaze.toml.j2' %} | ||
|
||
[chains.packet_filter] | ||
policy = 'allow' | ||
list = [ | ||
['transfer', 'channel-0'], # Osmosis | ||
] | ||
|
||
{% include 'fragments/umee.toml.j2' %} | ||
|
||
[chains.packet_filter] | ||
policy = 'allow' | ||
list = [ | ||
['transfer', 'channel-0'], # Osmosis | ||
] |
Oops, something went wrong.