Skip to content

Commit

Permalink
Deploying to gh-pages from @ fa7b58f 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
kaisbaccour committed Jan 14, 2024
1 parent 36417fa commit bf57466
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 328 deletions.
164 changes: 1 addition & 163 deletions node_operators/wasm_relayer.html
Original file line number Diff line number Diff line change
Expand Up @@ -150,169 +150,7 @@ <h1 class="menu-title">Nois Documentation</h1>

<div id="content" class="content">
<main>
<h1 id="ibc-wasm-relayer"><a class="header" href="#ibc-wasm-relayer">IBC wasm relayer</a></h1>
<blockquote>
<p>In this tutorial we are using the hermes relayer software.
However, feel free to use other relayer software like Hermes and if you want
to contribute to the docs by providing the steps for setting up such different
software let us know on discord</p>
</blockquote>
<hr />
<p>Setting up hermes relayer</p>
<p>Install hermes from this <a href="https://hermes.informal.systems/quick-start/installation.html">link</a></p>
<p>Confgure hermes</p>
<pre><code class="language-toml">[global]
log_level = 'info'
[mode]
[mode.clients]
enabled = true
refresh = true
misbehaviour = false
[mode.connections]
enabled = false
[mode.channels]
enabled = false
[mode.packets]
enabled = true
clear_interval = 5
clear_on_start = true
tx_confirmation = false
[rest]
enabled = true
host = '127.0.0.1'
port = 3000
[telemetry]
enabled = true
host = '127.0.0.1'
port = 3001


[[chains]]
id = &quot;nois-testnet-005&quot;
type = &quot;CosmosSdk&quot;
memo_prefix = 'Relayed by Katarina'
rpc_addr = &quot;https://nois-testnet-rpc.polkachu.com:443&quot;
grpc_addr = &quot;https://tnois-grpc.systemd.run:443&quot;
event_source = { mode = 'pull', interval = '1s' }

rpc_timeout = &quot;10s&quot;
account_prefix = &quot;nois&quot;
key_name = &quot;mynoiskey&quot;
key_store_type = &quot;Test&quot;
store_prefix = &quot;ibc&quot;
default_gas = 100000
max_gas = 4000000
gas_multiplier = 1.1
max_msg_num = 30
max_tx_size = 180000
max_grpc_decoding_size = 33554432
clock_drift = &quot;5s&quot;
max_block_time = &quot;30s&quot;
ccv_consumer_chain = false
sequential_batch_tx = false

[chains.trust_threshold]
numerator = &quot;1&quot;
denominator = &quot;3&quot;

[chains.gas_price]
price = 0.1
denom = &quot;unois&quot;

[chains.packet_filter]
policy = &quot;allowall&quot;

[chains.packet_filter.min_fees]

[chains.address_type]
derivation = &quot;cosmos&quot;

##################
#Mainnet
#################

[[chains]]
id = 'nois-1'
address_type = { derivation = 'cosmos' }
memo_prefix = 'Relayed by Katarina'
ccv_consumer_chain = false
event_source = { mode = 'pull', interval = '1s' }

rpc_addr = 'https://nois-rpc.nysa.network:443'
grpc_addr = 'http://nois.grpc.m.stavr.tech:191'

rpc_timeout = '20s'
account_prefix = 'nois'
key_name = 'nois'
store_prefix = 'ibc'
max_tx_size = 180000
max_msg_num=15
max_gas= 4000000
gas_price = { price = 0.5, denom = 'unois' }
gas_multiplier = 1.5
max_block_time = '5s'
clock_drift = '5s'
trusting_period = '14days'
trust_threshold = { numerator = '1', denominator = '3' }
[chains.packet_filter]
policy = &quot;allowall&quot;

###########################

[[chains]]
id = 'uni-6'
type = &quot;CosmosSdk&quot;
event_source = { mode = 'pull', interval = '1s' }
memo_prefix = 'Relayed by Katarina'

rpc_addr = 'https://juno-testnet-rpc.polkachu.com:443'
grpc_addr = 'http://juno-testnet-grpc.polkachu.com:12690'
#poll_interval= '1s'

rpc_timeout = '10s'
account_prefix = 'juno'
key_name = 'juno'
store_prefix = 'ibc'
max_tx_size = 180000
max_msg_num=30
max_gas= 40000000
gas_price = { price = 0.025, denom = 'ujunox' }
gas_multiplier = 1.2
max_block_time = '15s'
clock_drift = '5s'
trusting_period = '14days'
trust_threshold = { numerator = '1', denominator = '3' }
ccv_consumer_chain = false
sequential_batch_tx = false
[chains.packet_filter]
policy = &quot;allowall&quot;
[chains.address_type]
derivation = &quot;cosmos&quot;

###########################
</code></pre>
<h2 id="relay-traffic"><a class="header" href="#relay-traffic">Relay traffic</a></h2>
<pre><code class="language-sh">hermes start
</code></pre>
<h2 id="set-up-a-new--client-connection-and-channels"><a class="header" href="#set-up-a-new--client-connection-and-channels">Set up a new client, connection and channels</a></h2>
<h4 id="create-ibc-clients"><a class="header" href="#create-ibc-clients">Create ibc clients</a></h4>
<pre><code class="language-sh">hermes create client --host-chain uni-6 --reference-chain nois-testnet-005 --clock-drift 20s
#Note the client id created by this operation (will be needed later on)
hermes create client --host-chain nois-testnet-005 --reference-chain uni-6 --clock-drift 20s
#Note the client id created by this operation (will be needed later on)
</code></pre>
<h4 id="create-ibc-connection"><a class="header" href="#create-ibc-connection">Create ibc connection</a></h4>
<pre><code class="language-sh">#07-tendermint-19 is the client id that was generated when creating the client on uni-6
#07-tendermint-14 is the client id that was generated when creating the client on nois-testnet-005
hermes create connection --a-chain nois-1 --a-client 07-tendermint-14 --b-client 07-tendermint-19
</code></pre>
<h4 id="create-transfer-channel"><a class="header" href="#create-transfer-channel">Create transfer channel</a></h4>
<pre><code class="language-sh">#change the xxx with the connection-id on uni-6 point to nois
hermes create channel --a-chain uni-6 --a-connection connection-xxx --a-port transfer --b-port trasnfer
</code></pre>
<h4 id="create-wasm-channel"><a class="header" href="#create-wasm-channel">Create wasm channel</a></h4>
<pre><code class="language-sh">hermes create channel --a-chain uni-6 --a-connection connection-72 --a-port wasm.juno1blablabla(uni proxy address) --b-port wasm.noisblabla(nois gateway address) --channel-version nois-v7
</code></pre>
<h1 id="wasm-relayer"><a class="header" href="#wasm-relayer">wasm-Relayer</a></h1>

</main>

Expand Down
164 changes: 1 addition & 163 deletions print.html
Original file line number Diff line number Diff line change
Expand Up @@ -1452,169 +1452,7 @@ <h3 id="claiming-rewards"><a class="header" href="#claiming-rewards">Claiming Re
<a href="https://docs.nois.network/node_operators/testnet_005.html#ibc-channels">testnet channels</a></p>
<p>The list of supported channels to relay on mainnet is
<a href="https://docs.nois.network/node_operators/mainnet.html#ibc-channels">mainnet channels</a></p>
<div style="break-before: page; page-break-before: always;"></div><h1 id="ibc-wasm-relayer"><a class="header" href="#ibc-wasm-relayer">IBC wasm relayer</a></h1>
<blockquote>
<p>In this tutorial we are using the hermes relayer software.
However, feel free to use other relayer software like Hermes and if you want
to contribute to the docs by providing the steps for setting up such different
software let us know on discord</p>
</blockquote>
<hr />
<p>Setting up hermes relayer</p>
<p>Install hermes from this <a href="https://hermes.informal.systems/quick-start/installation.html">link</a></p>
<p>Confgure hermes</p>
<pre><code class="language-toml">[global]
log_level = 'info'
[mode]
[mode.clients]
enabled = true
refresh = true
misbehaviour = false
[mode.connections]
enabled = false
[mode.channels]
enabled = false
[mode.packets]
enabled = true
clear_interval = 5
clear_on_start = true
tx_confirmation = false
[rest]
enabled = true
host = '127.0.0.1'
port = 3000
[telemetry]
enabled = true
host = '127.0.0.1'
port = 3001


[[chains]]
id = &quot;nois-testnet-005&quot;
type = &quot;CosmosSdk&quot;
memo_prefix = 'Relayed by Katarina'
rpc_addr = &quot;https://nois-testnet-rpc.polkachu.com:443&quot;
grpc_addr = &quot;https://tnois-grpc.systemd.run:443&quot;
event_source = { mode = 'pull', interval = '1s' }

rpc_timeout = &quot;10s&quot;
account_prefix = &quot;nois&quot;
key_name = &quot;mynoiskey&quot;
key_store_type = &quot;Test&quot;
store_prefix = &quot;ibc&quot;
default_gas = 100000
max_gas = 4000000
gas_multiplier = 1.1
max_msg_num = 30
max_tx_size = 180000
max_grpc_decoding_size = 33554432
clock_drift = &quot;5s&quot;
max_block_time = &quot;30s&quot;
ccv_consumer_chain = false
sequential_batch_tx = false

[chains.trust_threshold]
numerator = &quot;1&quot;
denominator = &quot;3&quot;

[chains.gas_price]
price = 0.1
denom = &quot;unois&quot;

[chains.packet_filter]
policy = &quot;allowall&quot;

[chains.packet_filter.min_fees]

[chains.address_type]
derivation = &quot;cosmos&quot;

##################
#Mainnet
#################

[[chains]]
id = 'nois-1'
address_type = { derivation = 'cosmos' }
memo_prefix = 'Relayed by Katarina'
ccv_consumer_chain = false
event_source = { mode = 'pull', interval = '1s' }

rpc_addr = 'https://nois-rpc.nysa.network:443'
grpc_addr = 'http://nois.grpc.m.stavr.tech:191'

rpc_timeout = '20s'
account_prefix = 'nois'
key_name = 'nois'
store_prefix = 'ibc'
max_tx_size = 180000
max_msg_num=15
max_gas= 4000000
gas_price = { price = 0.5, denom = 'unois' }
gas_multiplier = 1.5
max_block_time = '5s'
clock_drift = '5s'
trusting_period = '14days'
trust_threshold = { numerator = '1', denominator = '3' }
[chains.packet_filter]
policy = &quot;allowall&quot;

###########################

[[chains]]
id = 'uni-6'
type = &quot;CosmosSdk&quot;
event_source = { mode = 'pull', interval = '1s' }
memo_prefix = 'Relayed by Katarina'

rpc_addr = 'https://juno-testnet-rpc.polkachu.com:443'
grpc_addr = 'http://juno-testnet-grpc.polkachu.com:12690'
#poll_interval= '1s'

rpc_timeout = '10s'
account_prefix = 'juno'
key_name = 'juno'
store_prefix = 'ibc'
max_tx_size = 180000
max_msg_num=30
max_gas= 40000000
gas_price = { price = 0.025, denom = 'ujunox' }
gas_multiplier = 1.2
max_block_time = '15s'
clock_drift = '5s'
trusting_period = '14days'
trust_threshold = { numerator = '1', denominator = '3' }
ccv_consumer_chain = false
sequential_batch_tx = false
[chains.packet_filter]
policy = &quot;allowall&quot;
[chains.address_type]
derivation = &quot;cosmos&quot;

###########################
</code></pre>
<h2 id="relay-traffic"><a class="header" href="#relay-traffic">Relay traffic</a></h2>
<pre><code class="language-sh">hermes start
</code></pre>
<h2 id="set-up-a-new--client-connection-and-channels"><a class="header" href="#set-up-a-new--client-connection-and-channels">Set up a new client, connection and channels</a></h2>
<h4 id="create-ibc-clients"><a class="header" href="#create-ibc-clients">Create ibc clients</a></h4>
<pre><code class="language-sh">hermes create client --host-chain uni-6 --reference-chain nois-testnet-005 --clock-drift 20s
#Note the client id created by this operation (will be needed later on)
hermes create client --host-chain nois-testnet-005 --reference-chain uni-6 --clock-drift 20s
#Note the client id created by this operation (will be needed later on)
</code></pre>
<h4 id="create-ibc-connection"><a class="header" href="#create-ibc-connection">Create ibc connection</a></h4>
<pre><code class="language-sh">#07-tendermint-19 is the client id that was generated when creating the client on uni-6
#07-tendermint-14 is the client id that was generated when creating the client on nois-testnet-005
hermes create connection --a-chain nois-1 --a-client 07-tendermint-14 --b-client 07-tendermint-19
</code></pre>
<h4 id="create-transfer-channel"><a class="header" href="#create-transfer-channel">Create transfer channel</a></h4>
<pre><code class="language-sh">#change the xxx with the connection-id on uni-6 point to nois
hermes create channel --a-chain uni-6 --a-connection connection-xxx --a-port transfer --b-port trasnfer
</code></pre>
<h4 id="create-wasm-channel"><a class="header" href="#create-wasm-channel">Create wasm channel</a></h4>
<pre><code class="language-sh">hermes create channel --a-chain uni-6 --a-connection connection-72 --a-port wasm.juno1blablabla(uni proxy address) --b-port wasm.noisblabla(nois gateway address) --channel-version nois-v7
</code></pre>
<div style="break-before: page; page-break-before: always;"></div><h1 id="wasm-relayer"><a class="header" href="#wasm-relayer">wasm-Relayer</a></h1>
<div style="break-before: page; page-break-before: always;"></div><h1 id="ibc-ics20-relayer"><a class="header" href="#ibc-ics20-relayer">IBC ICS20 relayer</a></h1>
<p>This refers to setting up a relayer to transfer tokens between IBC enabled
chains. As this is a standard thing, we'd rather not document it here. For more
Expand Down
2 changes: 1 addition & 1 deletion searchindex.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion searchindex.json

Large diffs are not rendered by default.

0 comments on commit bf57466

Please sign in to comment.