Crates.io | abstract-ibc-host |
lib.rs | abstract-ibc-host |
version | 0.24.1 |
source | src |
created_at | 2022-10-26 16:47:33.045394 |
updated_at | 2024-10-25 16:13:05.171388 |
description | Abstract IBC Host Contract |
homepage | |
repository | https://github.com/AbstractSDK/abstract |
max_upload_size | |
id | 698053 |
size | 98,178 |
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.
Register an Account by creating a local account. Incoming requests and funds will be routed to this account.
Proxy a set of execute messages to the Account's proxy on the host chain.
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!