#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.

6 releases (breaking)

0.57.0 Jan 31, 2025
0.56.0 Nov 15, 2024
0.55.0 Oct 17, 2024
0.54.0 Aug 13, 2024
0.52.0 Apr 26, 2024

#5 in #light-client

Download history 61/week @ 2024-11-09 59/week @ 2024-11-16 8/week @ 2024-11-23 1/week @ 2024-11-30 39/week @ 2024-12-07 12/week @ 2024-12-14 8/week @ 2024-12-28 58/week @ 2025-01-25 75/week @ 2025-02-01 6/week @ 2025-02-08 4/week @ 2025-02-15

143 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

~25MB
~510K SLoC