43 releases (17 breaking)

0.22.1 May 8, 2024
0.21.0 Feb 20, 2024
0.20.0 Jan 24, 2024
0.19.2 Oct 19, 2023
0.2.0-beta.5 Nov 18, 2022

#57 in #ibc

Download history 18/week @ 2024-02-05 194/week @ 2024-02-19 255/week @ 2024-02-26 124/week @ 2024-03-04 97/week @ 2024-03-11 59/week @ 2024-03-18 136/week @ 2024-03-25 455/week @ 2024-04-01 213/week @ 2024-04-08 303/week @ 2024-04-15 304/week @ 2024-04-22 194/week @ 2024-04-29 266/week @ 2024-05-06 363/week @ 2024-05-13 241/week @ 2024-05-20

1,071 downloads per month
Used in 8 crates (3 directly)

GPL-3.0-or-later

660KB
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–18MB
~219K SLoC