{"id":30614553,"url":"https://github.com/ap211unitech/solana-escrow","last_synced_at":"2026-05-17T19:39:42.113Z","repository":{"id":310535846,"uuid":"1040251635","full_name":"ap211unitech/solana-escrow","owner":"ap211unitech","description":"Secure Token Swaps, No Middlemen. Powered by Solana.","archived":false,"fork":false,"pushed_at":"2025-08-19T04:29:25.000Z","size":103,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-10-22T01:33:00.364Z","etag":null,"topics":["anchor","rust","solana","spl-token"],"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/ap211unitech.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":"2025-08-18T17:26:27.000Z","updated_at":"2025-08-19T04:29:28.000Z","dependencies_parsed_at":"2025-08-18T19:26:07.128Z","dependency_job_id":"9f469cd7-a48d-4dda-a5f3-f6e811da03a8","html_url":"https://github.com/ap211unitech/solana-escrow","commit_stats":null,"previous_names":["ap211unitech/solana-escrow"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ap211unitech/solana-escrow","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ap211unitech%2Fsolana-escrow","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ap211unitech%2Fsolana-escrow/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ap211unitech%2Fsolana-escrow/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ap211unitech%2Fsolana-escrow/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ap211unitech","download_url":"https://codeload.github.com/ap211unitech/solana-escrow/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ap211unitech%2Fsolana-escrow/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33152286,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-17T09:28:26.183Z","status":"ssl_error","status_checked_at":"2026-05-17T09:27:52.702Z","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":["anchor","rust","solana","spl-token"],"created_at":"2025-08-30T07:15:12.197Z","updated_at":"2026-05-17T19:39:42.095Z","avatar_url":"https://github.com/ap211unitech.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🔄 Solana Escrow App\n\nThe **Escrow App** is a Solana smart contract built using [Anchor](https://www.anchor-lang.com/) that allows users to securely exchange SPL tokens in a trustless way.  \nEach offer is backed by a **dedicated vault account**, ensuring tokens are locked until the offer is either taken by another user or canceled by the maker, ensuring fairness and eliminating counterparty risk.\n\n---\n\n## 📜 Overview\n\nThe program supports:\n\n- **Make Offer**:  \n  A user (maker) creates an offer by locking a specified amount of `Token A` in a vault, while specifying how much `Token B` they expect in return.\n\n- **Take Offer**:  \n  Another user (taker) accepts an existing offer by sending the required `Token B` amount to the maker. In return, the taker receives the locked `Token A` from the vault.\n\n- **Cancel Offer**:  \n  The maker can cancel their offer before it's taken, retrieving their locked tokens from the vault and closing appropriate accounts.\n\n## ⚙️ Program Structure\n\n```plaintext\nsrc/\n ├─ instructions/   # Business logic for each instruction\n ├─ states/         # Account data structures for offer\n ├─ constants.rs\n ├─ utils.rs\n └─ lib.rs          # Program entry point\n```\n\n## 🛠️ Building \u0026 Deploying\n\n### 1. Install Prerequisites\n\n- Solana CLI\n- Anchor CLI\n- Rust (latest stable)\n- Quick setup (https://solana.com/docs/intro/installation)\n\n### 2. Clone Repository\n\n```\ngit clone https://github.com/ap211unitech/solana-escrow.git\ncd solana-escrow\n```\n\n### 3. Build Program\n\n```\nanchor build\n```\n\n### 4. Running Tests\n\n```\nsolana-test-validator (keep it running in a seperate terminal)\n```\n\nand\n\n```\nanchor test --skip-local-validator\n```\n\n## 📄 License\n\nMIT License © 2025 Arjun Porwal\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fap211unitech%2Fsolana-escrow","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fap211unitech%2Fsolana-escrow","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fap211unitech%2Fsolana-escrow/lists"}