#cosmwasm #ibc #light-client #ics-08

no-std ibc-client-cw

Contains types and implementations that are needed to integrate a light client, built using ibc-rs, into CosmWasm contract. It functions as a library, allowing users to import the ready-made Context object that is generic across light clients, introduce their concrete client type and integrate their assembled context into the CosmWasm contract’s entrypoint.

5 releases (breaking)

new 0.56.0 Nov 15, 2024
0.55.0 Oct 17, 2024
0.54.0 Aug 13, 2024
0.53.0 May 14, 2024
0.52.0 Apr 26, 2024

#2 in #light-client

Download history 160/week @ 2024-07-20 31/week @ 2024-07-27 8/week @ 2024-08-03 139/week @ 2024-08-10 12/week @ 2024-08-17 11/week @ 2024-08-24 7/week @ 2024-08-31 16/week @ 2024-09-14 26/week @ 2024-09-21 8/week @ 2024-09-28 2/week @ 2024-10-05 164/week @ 2024-10-12 44/week @ 2024-10-19 3/week @ 2024-10-26 4/week @ 2024-11-02

215 downloads per month
Used in ibc-client-tendermint-cw

Apache-2.0

47KB
967 lines

ibc-rs to CosmWasm Contracts: Integration Toolkit

This collection is designed to offer libraries that facilitate the implementation of various ibc-rs core, clients and applications as CosmWasm contracts. Currently, the available packages are:

IBC Clients

  • ibc-client-cw: Provides utilities and a generic Context object to streamline the implementation of any ibc-rs powered light clients as CosmWasm contracts.
    • To utilize the CosmWasm contracts developed with this library, hosting environments must support the CosmWasm module and be using the version of ibc-go that supports the 08-wasm proxy light client.

[!CAUTION] The ibc-client-cw is currently in development and should not be deployed for production use. Users are advised to exercise caution and test thoroughly in non-production environments.

[!TIP] The pre-compiled CosmWasm contract for ibc-client-tendermint-cw is available as a GitHub workflow artifact at Actions tab. They can be downloaded during a Github workflow using actions/download-artifact@v4 action.

Dependencies

~24MB
~497K SLoC