Skip to content

Implementation of generic IBC queries in CosmWasm.

License

Notifications You must be signed in to change notification settings

33lric/cw-ibc-queries

 
 

Repository files navigation

CosmWasm IBC Queries

Implements generic IBC queries in CosmWasm. This implementation requires the same contract to be deployed on both chains wishing to query each other.

This contract is inspired by Confio's cw-ibc-demo, and from work done during HackAtom 2022.

Unit Tests

All unit tests are in Rust and assume a mocked out environment. They don't actually send packets between contracts in any way, but return a fully mocked response. This can run through many code paths and get a reasonable level of confidence in the basic logic. However, you will need to run through full-stack integration tests to actually have any confidence it will work as expected in production.

To ensure they are proper, run the following in the repo root:

cargo test

Integration Tests

See the tests directory.

About

Implementation of generic IBC queries in CosmWasm.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 55.4%
  • TypeScript 24.6%
  • Shell 20.0%