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

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 17/week @ 2024-09-15 25/week @ 2024-09-22 8/week @ 2024-09-29 2/week @ 2024-10-06 172/week @ 2024-10-13 37/week @ 2024-10-20 2/week @ 2024-10-27 4/week @ 2024-11-03 94/week @ 2024-11-10 29/week @ 2024-11-17 5/week @ 2024-11-24 1/week @ 2024-12-01 39/week @ 2024-12-08 12/week @ 2024-12-15 8/week @ 2024-12-29

59 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
~505K SLoC