<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by IzvergDK on Medium]]></title>
        <description><![CDATA[Stories by IzvergDK on Medium]]></description>
        <link>https://medium.com/@IzvergDK?source=rss-22a51a6bfe3------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*xHwymiiSIc_YBLRt_6JJwQ.jpeg</url>
            <title>Stories by IzvergDK on Medium</title>
            <link>https://medium.com/@IzvergDK?source=rss-22a51a6bfe3------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 23:59:07 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@IzvergDK/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Cross-chain transactions between KiChain and UMEE Testnets]]></title>
            <link>https://medium.com/@IzvergDK/ibc-transactions-in-kichain-testnet-c1253b62cda4?source=rss-22a51a6bfe3------2</link>
            <guid isPermaLink="false">https://medium.com/p/c1253b62cda4</guid>
            <dc:creator><![CDATA[IzvergDK]]></dc:creator>
            <pubDate>Wed, 08 Sep 2021 15:58:43 GMT</pubDate>
            <atom:updated>2021-09-11T16:28:40.443Z</atom:updated>
            <content:encoded><![CDATA[<p>Today we will look at how to perform cross-chain transactions in KiChain Testnet.</p><p>To do this, follow these steps:</p><ol><li>Installed KiChain testnet node (updated at least to kichain-testnet-4):<br><a href="https://github.com/KiFoundation/ki-networks/tree/v0.1/Testnet">https://github.com/KiFoundation/ki-networks/tree/v0.1/Testnet</a></li><li>Installed other Cosmos testnet, UMEE testnet:<br><a href="https://docs.umee.cc/umee/">https://docs.umee.cc/umee/</a></li><li>Cosmos <a href="https://ibcprotocol.org/">IBC</a> relayer:<br><a href="https://github.com/cosmos/relayer">https://github.com/cosmos/relayer</a></li></ol><h3>Relayer Installation Instruction</h3><p>To setup and start the IBC relayer between two IBC-compatible networks, KiChain and UMEE the following steps must be performed:</p><ol><li>Install relayer 0.9.3 from binary</li></ol><pre>$ wget <a href="https://github.com/cosmos/relayer/releases/download/v0.9.3/Cosmos.Relayer_0.9.3_linux_amd64.tar.gz">https://github.com/cosmos/relayer/releases/download/v0.9.3/Cosmos.Relayer_0.9.3_linux_amd64.tar.gz</a> $ tar -zxvf Cosmos.Relayer_0.9.3_linux_amd64.tar.gz $ cp “Cosmos Relayer” /usr/local/bin/rly</pre><p>2. Initialize the relayer’s configuration.</p><pre>$ rly config init</pre><p>3. Add relevant chain configurations to the relayer’s configuration.</p><p>Create <strong>kichain_config.json</strong> and <strong>umee_config.json </strong>with following content:</p><pre>{<br> “chain-id”: “kichain-t-4”,<br> “rpc-addr”: “http://127.0.0.1:26657&quot;,<br> “account-prefix”: “tki”,<br> “gas-adjustment”: 1.5,<br> “gas-prices”: “0.001utki”,<br> “trusting-period”: “10m”<br>}</pre><p>and</p><pre>{<br> “chain-id”: “umee-betanet-1”,<br> “rpc-addr”: “http://&lt;UMEE_SERVER_IP&gt;:26657&quot;,<br> “account-prefix”: “umee”,<br> “gas-adjustment”: 1.5,<br> “gas-prices”: “0.025uumee”,<br> “trusting-period”: “10m”<br>}</pre><p>Add chain configurations from JSONs to the relayer’s configuration:</p><pre>$ rly chains add -f $HOME/.relayer/config/umee_config.json<br>$ rly chains add -f $HOME/.relayer/config/kichain_config.json</pre><p>Сreate new keys for the relayer to use when signing and relaying transactions. Let’s name them with <strong>keyumee</strong> and<strong> keykichain</strong>.</p><pre>$ rly keys add umee-betanet-1 keyumee<br>$ rly keys add kichain-t-4 keykichain</pre><p>Assign the relayer chain-specific keys to the specific chain’s configuration.</p><pre>$ rly chains edit umee-betanet-1 key keyumee<br>$ rly chains edit kichain-t-4 key keykichain</pre><p>Both relayer wallets, keyumee and keykichain, must be funded with tokens in order to successfully sign and relay transactions between the IBC-connected networks.<br>You can use ask tokens for Umee testnet in Umee Discord and ask tokens for KiChain Testnet in Ki Foundation <a href="https://discord.gg/2GJRYb7jvZ">Discord</a>.</p><p>Ensure both relayer accounts are funded by querying each:</p><pre>$ rly q balance umee-betanet-1<br>$ rly q balance kichain-t-4# OUTPUT <br>root@server:~# rly q bal umee-betanet-1<br>10000000uumee <br>root@server:~# rly q bal kichain-t-4<br>30000000utki</pre><p>Now we can initialize the light clients on each network.</p><pre>$ rly light init kichain-t-4 -f<br>$ rly light init umee-betanet-1 -f</pre><p>Then we generate a new paths representing a client, connection, channel and a specific port between the two networks.</p><pre>$ rly paths generate kichain-t-4 umee-betanet-1 ki_to_umee_path --port=transfer<br>$ rly paths generate umee-betanet-1 kichain-t-4 umee_to_ki_path --port=transfer</pre><p>After all we get <strong>config.yaml</strong> for relayer like this<br>(be sure to change <strong>timeout </strong>parameter<strong> </strong>to 1m):</p><pre>global: <br>  api-listen-addr: :5183<br>  timeout: 1m <br>  light-cache-size: 20 <br>chains: <br>— key: keykichain <br>  chain-id: kichain-t-4 <br>  rpc-addr: <a href="http://127.0.0.1:26657/">http://127.0.0.1:26657</a> <br>  account-prefix: tki <br>  gas-adjustment: 1.5 <br>  gas-prices: 0.001utki <br>  trusting-period: 10m <br>— key: keyumee <br>  chain-id: umee-betanet-1<br>  rpc-addr: http://&lt;UMEE_SERVER_IP&gt;:26657 <br>  account-prefix: umee <br>  gas-adjustment: 1.5 <br>  gas-prices: 0.025uumee <br>  trusting-period: 10m <br>paths:   <br>  ki_to_umee_path:     <br>    src:       <br>      chain-id: kichain-t-4<br>      port-id: transfer       <br>      order: UNORDERED<br>      version: ics20-1<br>    dst:<br>      chain-id: umee-betanet-1<br>      port-id: transfer<br>      order: UNORDERED<br>      version: ics20-1<br>    strategy:<br>      type: naive<br>  umee_to_ki_path:     <br>    src:<br>      chain-id: umee-betanet-1<br>      port-id: transfer<br>      order: UNORDERED<br>      version: ics20-1<br>    dst:<br>      chain-id: kichain-t-4<br>      port-id: transfer<br>      order: UNORDERED<br>      version: ics20-1<br>    strategy:<br>      type: naive</pre><p>Check everything:</p><pre>$ rly chains list# Check OUTPUT - all checks<br>0: kichain-t-4          -&gt; key(✔) bal(✔) light(✔) path(✔)  <br>1: umee-betanet-1       -&gt; key(✔) bal(✔) light(✔) path(✔)</pre><p>And finally, we open channels.</p><pre>$ rly tx link umee_to_ki_path<br>$ rly tx link ki_to_umee_path</pre><p>If we did everything right, output should be like this:</p><pre>#OUTPUT<br>root@server:~# rly light init kichain-t-4 -f <br>successfully created light client for kichain-t-4 by trusting endpoint <a href="http://127.0.0.1:26657...">http://127.0.0.1:26657...</a> </pre><pre>root@server:~# rly light init umee-betanet-1 -f<br>successfully created light client for umee-betanet-1 by trusting endpoint http://&lt;UMEE_SERVER_IP&gt;:26657...</pre><pre>root@server:~# rly tx link ki_to_umee_path<br>I[2021-09-10|20:32:29.014] ★ Clients created: client(07-tendermint-13) on chain[kichain-t-4] and client(07-tendermint-1) on chain[umee-betanet-1]<br>I[2021-09-10|20:32:29.345] ★ Connection created: [kichain-t-4]client{07-tendermint-13}conn{connection-17} -&gt; [umee-betanet-1]client{07-tendermint-1}conn{connection-1}<br>I[2021-09-10|20:32:29.863] ★ Channel created: [kichain-t-4]chan{channel-61}port{transfer} -&gt; [umee-betanet-1]chan{channel-0}port{transfer}<br><br>root@server:~# rly tx link umee_to_ki_path <br>I[2021-09-10|20:32:31.004] ★ Clients created: client(07-tendermint-1) on chain[umee-betanet-1] and client(07-tendermint-13) on chain[kichain-t-4] <br>I[2021-09-10|20:32:31.344] ★ Connection created: [umee-betanet-1]client{07-tendermint-1}conn{connection-1} -&gt; [kichain-t-4]client{07-tendermint-13}conn{connection-17} <br>I[2021-09-10|20:32:31.986] ★ Channel created: [umee-betanet-1]chan{channel-0}port{transfer} -&gt; [kichain-t-4]chan{channel-61}port{transfer}</pre><p>Lets see paths list:</p><pre>$ rly paths list -d #OUTPUT<br>0: umee_to_ki_path              -&gt; chns(✔) clnts(✔) conn(✔) chan(✔) (umee-betanet-1:transfer&lt;&gt;kichain-t-4:transfer)<br>1: ki_to_umee_path              -&gt; chns(✔) clnts(✔) conn(✔) chan(✔) (kichain-t-4:transfer&lt;&gt;umee-betanet-1:transfer)</pre><h3>How to cross chain transaction:</h3><p>Command to transfer tokens:</p><pre>$ rly tx transfer [src-chain-id] [dst-chain-id] [amount] [dst-addr] [flags]</pre><p>We translate 1 TKI from KiChain to UMEE.</p><pre>$ root@server:~# rly tx transfer kichain-t-4 umee-betanet-1 1000000utki umee1jptyjc0zdepdnykn67dpwuds6ar2vd3clwnlyq --path ki_to_umee_path<br>I[2021-09-10|20:32:53.767] ✔ [kichain-t-4]@{275148} - msg(0:transfer) hash(7119746454C6AA719488FF6A172CD24BB58D1999D8F239BAF6D5C54884B9AF7E)</pre><p>Check balance in console:</p><pre>$ root@server:~# rly q bal umee-betanet-1<br>1000000transfer/channel-0/utki,8997300uumee</pre><p>We translate 1 UMEE from Umee to KiChain:</p><pre>$ root@server:~# rly tx transfer umee-betanet-1 kichain-t-4 1000000uumee tki1f9aavpppafj3hd9swlg2xajyh9k0aenwy2g0n7 --path umee_to_ki_path<br>I[2021-09-10|17:51:05.384] ✔ [umee-betanet-1]@{256537} - msg(0:transfer) hash(98973F95BFF503AE64D221B51B5F354EF0A07130141A30F436E61CE55C97C548)</pre><p>Check balance in console:</p><pre>$ root@server:~# rly q bal kichain-t-4<br>1000000transfer/channel-61/uumee,265009657utki</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c1253b62cda4" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>