{"id":21538329,"url":"https://github.com/rarimo/solana-bridge-program","last_synced_at":"2026-03-04T02:33:06.174Z","repository":{"id":208827964,"uuid":"700786608","full_name":"rarimo/solana-bridge-program","owner":"rarimo","description":"Rarimo bridge program on Solana","archived":false,"fork":false,"pushed_at":"2023-11-23T13:18:04.000Z","size":7434,"stargazers_count":6,"open_issues_count":0,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-10T03:37:47.751Z","etag":null,"topics":["cross-chain-bridge","rust","solana"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rarimo.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}},"created_at":"2023-10-05T09:42:22.000Z","updated_at":"2025-01-10T21:02:42.000Z","dependencies_parsed_at":"2023-11-23T14:29:08.784Z","dependency_job_id":"c8487435-693a-4fd5-92f6-9c9372b34728","html_url":"https://github.com/rarimo/solana-bridge-program","commit_stats":null,"previous_names":["rarimo/solana-bridge-program"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rarimo/solana-bridge-program","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rarimo%2Fsolana-bridge-program","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rarimo%2Fsolana-bridge-program/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rarimo%2Fsolana-bridge-program/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rarimo%2Fsolana-bridge-program/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rarimo","download_url":"https://codeload.github.com/rarimo/solana-bridge-program/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rarimo%2Fsolana-bridge-program/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30070119,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-04T01:03:42.280Z","status":"online","status_checked_at":"2026-03-04T02:00:07.464Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["cross-chain-bridge","rust","solana"],"created_at":"2024-11-24T04:11:40.583Z","updated_at":"2026-03-04T02:33:06.156Z","avatar_url":"https://github.com/rarimo.png","language":"Rust","readme":"# Rarimo Solana Bridge programs\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\nThat repository stores all contracts related to the Rarimo bridge on Solana. \n\nCurrently, they are described in the following sub-crates:\n\n- [Bridge](./bridge/program) - Rarimo Bridge program \n- [Commission](./commission/program) - Rarimo Bridge commission program.\n- [Lib](./lib) - Rarimo bridge library\n\n## Usage flow\n\nThe deposit implies the one transaction with two instructions:\n- Charge commission instruction to the [commission program](./commission/program).\n- Deposit (native/ft/nft) instruction to the [bridge program](./bridge/program).\n\nNote, that commission program should be the same that is defined in bridge admin, \nand the bridge admin should be the same that Rarimo system uses. Otherwise, you can loose your tokens.\n\nThe withdrawal implies the one transaction with withdraw (native/ft/nft) instruction. \nIt is required to provide the correct signature for the requested withdrawal token data. \nThat signature should be generated by Rarimo system and can be fetched from Rarimo core.   \n\n\n## Build\n\n```shell\nnpm run build:bridge\nnpm run build:commission\nnpm run build:upgrade\n```\n\n## Deploy\n```shell\nsolana program deploy --program-id ./dist/program/bridge-keypair.json ./dist/program/bridge.so\nsolana program deploy --program-id ./dist/program/commission-keypair.json ./dist/program/commission.so\nsolana program deploy --program-id ./dist/program/upgrade-keypair.json ./dist/program/upgrade.so\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frarimo%2Fsolana-bridge-program","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frarimo%2Fsolana-bridge-program","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frarimo%2Fsolana-bridge-program/lists"}