{"id":46489513,"url":"https://github.com/oraidex/ibc-bridge-wasm","last_synced_at":"2026-03-06T10:15:52.791Z","repository":{"id":148391022,"uuid":"535968003","full_name":"oraidex/ibc-bridge-wasm","owner":"oraidex","description":null,"archived":false,"fork":false,"pushed_at":"2025-05-01T00:29:09.000Z","size":118638,"stargazers_count":9,"open_issues_count":5,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2026-01-14T11:48:34.957Z","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":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/oraidex.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-09-13T05:11:47.000Z","updated_at":"2025-05-17T00:21:34.000Z","dependencies_parsed_at":"2023-12-17T17:33:29.931Z","dependency_job_id":"cbf57487-83af-4be7-b387-191797e48e80","html_url":"https://github.com/oraidex/ibc-bridge-wasm","commit_stats":null,"previous_names":["oraidex/ibc-bridge-wasm","oraichain/ibc-bridge-wasm"],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/oraidex/ibc-bridge-wasm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oraidex%2Fibc-bridge-wasm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oraidex%2Fibc-bridge-wasm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oraidex%2Fibc-bridge-wasm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oraidex%2Fibc-bridge-wasm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oraidex","download_url":"https://codeload.github.com/oraidex/ibc-bridge-wasm/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oraidex%2Fibc-bridge-wasm/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30171661,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-06T07:56:45.623Z","status":"ssl_error","status_checked_at":"2026-03-06T07:55:55.621Z","response_time":250,"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":"2026-03-06T10:15:52.582Z","updated_at":"2026-03-06T10:15:52.777Z","avatar_url":"https://github.com/oraidex.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# IBC transfer flow:\n\nLet's assume the network that has the contract cw20-ics20 deployed is network B, the other network is A.\n\nIn the source code, we call the network having cw20-ics20 deployed local chain, other networks are remote chains.\n\nAs of now, we only support A bridging to B first, not the other way around.\n\nIn the cw-ics20-latest contract, there are couple transfer flows in the code below:\n\n## Network A transfers native tokens to B first (A-\u003eB, where native token is not IBC token)\n\nIn this case, the packet is caught in the `do_ibc_packet_receive` function, we increase the balance's channel then forward the packet to the `allow_contract` contract for minting. Then, the cw-ics20 contract returns an acknowledgement to the network A.\n\nHere, if any line returns an error, then the cw-ics20 contract will send a fail acknowledgement to the network A, and the network A will refund the tokens to the sender according to the `ibctransfer` application.\n\n## Network A transfers IBC tokens to B (A-\u003eB, where IBC tokens are tokens that were previously sent from B to A)\n\nCurrently not supported.\n\n## Network B transfers tokens to A (B-\u003eA, where tokens are either native or cw20 that originated from B)\n\nCurrently not supported.\n\n## Network B transfers tokens to A (B-\u003eA, where tokens are native tokens from A)\n\nIn this case, the user will deposit tokens and invoke the function `execute_transfer_back_to_remote_chain` function. It will create an IBC Send packet and lock the cw20 or native token in the cw20-ics20 contract. If there's a failed acknowledgement, the contract will try to automatically refund the locked tokens back to the sender. If the refund msg is failed, then the token will be locked in the contract, and the team will refund these tokens manually for security purposes.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foraidex%2Fibc-bridge-wasm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foraidex%2Fibc-bridge-wasm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foraidex%2Fibc-bridge-wasm/lists"}