47 releases (19 breaking)

0.24.1 Oct 25, 2024
0.23.0 Jul 16, 2024
0.21.0 Feb 20, 2024
0.19.2 Oct 19, 2023
0.2.0-beta.5 Nov 18, 2022

#15 in #ibc

Download history 178/week @ 2024-08-24 105/week @ 2024-08-31 89/week @ 2024-09-07 75/week @ 2024-09-14 175/week @ 2024-09-21 92/week @ 2024-09-28 34/week @ 2024-10-05 334/week @ 2024-10-12 280/week @ 2024-10-19 196/week @ 2024-10-26 105/week @ 2024-11-02 73/week @ 2024-11-09 319/week @ 2024-11-16 87/week @ 2024-11-23 62/week @ 2024-11-30 91/week @ 2024-12-07

586 downloads per month
Used in 9 crates (3 directly)

GPL-3.0-or-later

655KB
15K SLoC

Abstract IBC host

The Abstract IBC host is a contract designed to be deployed on an Abstract-deployed chain. It enables any Account on a remote chain to claim and perform cross-chain actions on an account on the local chain.

Supported actions

Register

Register an Account by creating a local account. Incoming requests and funds will be routed to this account.

Dispatch

Proxy a set of execute messages to the Account's proxy on the host chain.

IBC

In order to connect this host contract to the client contract on a remote chain, one need to use an IBC protocol that can relay packets between chains. In our case, we use Polytone by DA0-DA0, which provides great flexibility and built in security (by not mixing up chains), as well as common channels with all other protocols that build cross chain apps. This allows for easier maintainability and collaboration.

This host contract need to whitelist Polytone's execution proxy for each chain it communicates with. IBC Channels are therefore identified with the chain name, which allows for easy migration, even when the chain id changes!

Dependencies

~6–20MB
~263K SLoC