Skip to content

Commit

Permalink
v2 release
Browse files Browse the repository at this point in the history
  • Loading branch information
PolkachuIntern committed Sep 17, 2022
1 parent fdf9173 commit 88fdb03
Show file tree
Hide file tree
Showing 3 changed files with 54 additions and 3 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,21 @@ First copy it to your own inventory file so you can customize it to suit your ne
cp inventory.sample inventory
```

To install rly
### rly installation

```bash
ansible-playbook main_rly_install.yml
```

To install Hermes
### Hermes installation

```bash
ansible-playbook main_hermes_install.yml
```

To install a specific Hermes relayer hub
### Hermes deployment

You will want to maintain your own `mainnet.toml.j2` file in the `hermes_config` playbook

```bash
ansible-playbook main_hermes_config.yml -e "target=mainnet"
Expand Down
22 changes: 22 additions & 0 deletions roles/hermes_config/templates/fragments/crescent.toml.j2
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
[[chains]]
id = 'crescent-1'
rpc_addr = 'http://{{ crescent_ip }}:14557'
grpc_addr = 'http://{{ crescent_ip }}:14590'
websocket_addr = 'ws://{{ crescent_ip }}:14557/websocket'

rpc_timeout = '20s'
account_prefix = 'cre'
key_name = 'relayer'
address_type = { derivation = 'cosmos' }
store_prefix = 'ibc'
default_gas = 300000
max_gas = 1000000
gas_price = { price = 0.0025, denom = 'ucre' }
gas_multiplier = 1.2
max_msg_num = 30
max_tx_size = 1800000
clock_drift = '15s'
max_block_time = '10s'
trusting_period = '7days'
memo_prefix = '{{ memo }}'
trust_threshold = { numerator = '1', denominator = '3' }
27 changes: 27 additions & 0 deletions roles/hermes_config/templates/mainnet.toml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@ list = [
[chains.packet_filter]
policy = 'allow'
list = [
['transfer', 'channel-7'], # Crescent
['transfer', 'channel-14'], # Kujira
['transfer', 'channel-10'], # Injective
['transfer', 'channel-18'], # Stargaze
]

{% include 'fragments/bitcanna.toml.j2' %}
Expand Down Expand Up @@ -43,13 +46,26 @@ list = [
[chains.packet_filter]
policy = 'allow'
list = [
['transfer', 'channel-326'], # Crescent
['transfer', 'channel-292'], # Evmos
['transfer', 'channel-220'], # Injective
['transfer', 'channel-343'], # Kujira
['transfer', 'channel-141'], # Osmosis
['transfer', 'channel-391'], # Stride
]

{% include 'fragments/crescent.toml.j2' %}

[chains.packet_filter]
policy = 'allow'
list = [
['transfer', 'channel-4'], # Axelar
['transfer', 'channel-1'], # Cosmos
['transfer', 'channel-2'], # Gravity
['transfer', 'channel-3'], # Juno
['transfer', 'channel-9'], # Osmosis
]

{% include 'fragments/evmos.toml.j2' %}

[chains.packet_filter]
Expand All @@ -69,6 +85,7 @@ list = [
policy = 'allow'
list = [
['transfer', 'channel-34'], # Chihuahua
['transfer', 'channel-62'], # Crescent
['transfer', 'channel-8'], # Juno
['transfer', 'channel-10'], # Osmosis
['transfer', 'channel-7'], # Stargaze
Expand All @@ -80,10 +97,12 @@ list = [
[chains.packet_filter]
policy = 'allow'
list = [
['transfer', 'channel-84'], # Axelar
['transfer', 'channel-76'], # Chihuahua
['transfer', 'channel-1'], # Cosmos
['transfer', 'channel-83'], # Evmos
['transfer', 'channel-8'], # Osmosis
['transfer', 'channel-89'], # Stride
]

{% include 'fragments/kichain.toml.j2' %}
Expand All @@ -105,6 +124,8 @@ list = [
['transfer', 'channel-23'], # Evmos
['transfer', 'channel-1'], # Juno
['transfer', 'channel-3'], # Osmosis
['transfer', 'channel-7'], # Stargaze
['transfer', 'channel-32'], # Stride
]

{% include 'fragments/juno.toml.j2' %}
Expand All @@ -115,6 +136,7 @@ list = [
['transfer', 'channel-29'], # Akash
['transfer', 'channel-50'], # Bitcanna
['transfer', 'channel-28'], # Chihuahua
['transfer', 'channel-81'], # Crescent
['transfer', 'channel-70'], # Evmos
['transfer', 'channel-31'], # Gravity
['transfer', 'channel-58'], # Kichain
Expand All @@ -133,6 +155,7 @@ list = [
['transfer', 'channel-51'], # Bitcanna
['transfer', 'channel-113'], # Chihuahua
['transfer', 'channel-0'], # Cosmos
['transfer', 'channel-297'], # Crescent
['transfer', 'channel-204'], # Evmos
['transfer', 'channel-144'], # Gravity
['transfer', 'channel-122'], # Injective
Expand All @@ -158,7 +181,9 @@ list = [
[chains.packet_filter]
policy = 'allow'
list = [
['transfer', 'channel-50'], # Axelar
['transfer', 'channel-6'], # Gravity
['transfer', 'channel-49'], # Kujira
['transfer', 'channel-5'], # Juno
['transfer', 'channel-0'], # Osmosis
]
Expand All @@ -170,6 +195,8 @@ policy = 'allow'
list = [
['transfer', 'channel-0'], # Cosmos
['transfer', 'channel-9'], # Evmos
['transfer', 'channel-6'], # Injective
['transfer', 'channel-8'], # Kujira
['transfer', 'channel-5'], # Osmosis
]

Expand Down

0 comments on commit 88fdb03

Please sign in to comment.