{"id":13566213,"url":"https://github.com/confio/cw-ibc-demo","last_synced_at":"2026-01-16T23:28:54.914Z","repository":{"id":50562253,"uuid":"516757622","full_name":"confio/cw-ibc-demo","owner":"confio","description":"Example IBC enabled contracts along with full stack integration tests","archived":false,"fork":false,"pushed_at":"2024-08-15T09:42:51.000Z","size":1697,"stargazers_count":34,"open_issues_count":6,"forks_count":19,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-03T23:33:36.105Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/confio.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-07-22T13:18:54.000Z","updated_at":"2025-01-30T10:08:44.000Z","dependencies_parsed_at":"2024-01-19T07:09:39.958Z","dependency_job_id":"6ea7ca0a-445a-4d30-8146-2df5515fadb3","html_url":"https://github.com/confio/cw-ibc-demo","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/confio/cw-ibc-demo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/confio%2Fcw-ibc-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/confio%2Fcw-ibc-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/confio%2Fcw-ibc-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/confio%2Fcw-ibc-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/confio","download_url":"https://codeload.github.com/confio/cw-ibc-demo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/confio%2Fcw-ibc-demo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28487586,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T22:54:02.790Z","status":"ssl_error","status_checked_at":"2026-01-16T22:50:10.344Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T13:02:04.671Z","updated_at":"2026-01-16T23:28:54.890Z","avatar_url":"https://github.com/confio.png","language":"Rust","funding_links":[],"categories":["Rust"],"sub_categories":[],"readme":"# CosmWasm IBC Demo\n\n_Example IBC enabled contracts along with full stack integration tests_\n\nThis package demos how to write a simple pair of IBC-enabled contracts\nthat speak to each other. It includes unit tests on each contract\nin Rust, as well as full stack integration tests on two live blockchains\nusing [CosmJS](https://github.com/cosmos/cosmjs) and the\n[TS-Relayer](https://github.com/confio/ts-relayer).\n\n## Design\n\nThis is a simple set of Interchain Account (ICA)-like contracts.\n`simple-ica-host` will receive messages from a remote connection\nand execute them on it's chain. `simple-ica-controller` will\nsend messages from the original chain and get the results.\n\nThe main difference between this and ICA is the use of one\nunordered channel rather than multiple ordered channels. We\nalso use a different payload with a CosmWasm/JSON focus.\n\nThis could be the basis of writing full ICA compatible contracts,\nbut the main focus here is the ability to showcase how to write\nand test IBC contracts in general.\n\n## Rust Contracts\n\nThe package `simple-ica` holds common types and functionality\nused in both contracts. The concrete logic is stored\nin `simple-ica-host` and `simple-ica-controller`.\n\nTo ensure they are proper, run the following in the repo root:\n\n```shell\ncargo build --all-targets\ncargo clippy --all-targets\ncargo fmt\n```\n\n## Unit Tests\n\nAll unit tests are in Rust and assume a mocked out environment.\nThey don't actually send packets between contracts in any way,\nbut return a fully mocked response. This can run through many\ncode paths and get a reasonable level of confidence in the basic\nlogic. However, you will need to run through full-stack\nintegration tests to actually have any confidence it will work\nas expected in production.\n\nTo ensure they are proper, run the following in the repo root:\n\n```shell\ncargo test\n```\n\n## Integration Tests\n\nSee [tests/README.md](tests/README.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconfio%2Fcw-ibc-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fconfio%2Fcw-ibc-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconfio%2Fcw-ibc-demo/lists"}