{"id":25186131,"url":"https://github.com/atharmohammad/exchange","last_synced_at":"2026-04-30T00:02:15.416Z","repository":{"id":191846406,"uuid":"685189756","full_name":"atharmohammad/Exchange","owner":"atharmohammad","description":"Exchange is AMM based on constant product curve. Inspired from Balancer and Solana Token Swap Program","archived":false,"fork":false,"pushed_at":"2025-03-17T20:13:36.000Z","size":181,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-04T08:48:14.429Z","etag":null,"topics":["amm","anchor-lang","defi","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/atharmohammad.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2023-08-30T17:44:11.000Z","updated_at":"2025-03-17T20:13:40.000Z","dependencies_parsed_at":"2023-10-24T19:34:28.123Z","dependency_job_id":"8e40a3d3-f9ca-4ce6-8450-2eee02036148","html_url":"https://github.com/atharmohammad/Exchange","commit_stats":null,"previous_names":["atharmohammad/exchange"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/atharmohammad/Exchange","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atharmohammad%2FExchange","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atharmohammad%2FExchange/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atharmohammad%2FExchange/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atharmohammad%2FExchange/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/atharmohammad","download_url":"https://codeload.github.com/atharmohammad/Exchange/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atharmohammad%2FExchange/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32448883,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T22:27:22.272Z","status":"ssl_error","status_checked_at":"2026-04-29T22:10:49.234Z","response_time":110,"last_error":"SSL_read: 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":["amm","anchor-lang","defi","rust","solana"],"created_at":"2025-02-09T19:42:27.590Z","updated_at":"2026-04-30T00:02:15.388Z","avatar_url":"https://github.com/atharmohammad.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Exchange\n\n## 🔖 About\n\nExchange is an AMM based on constant product curve. Inspired from Balancer and Solana Token Swap Program.\n\n- Constant product:\n  `(A+A') * (B-B') = Invariant`\n\n- Balancer WhitePaper:\n  https://balancer.fi/whitepaper.pdf\n\n- Solana Token Swap:\n  https://spl.solana.com/token-swap\n\n## 🚀 Features\n\n- Initialize Swap Pool with tokens\n- Deposit tokens to get pool tokens representing the share in the pool\n- Withdraw tokens in exchange for pool tokens\n- Swap token A with token B and vice versa after some fee\n\n** CODE IS NOT AUDITED AND STILL WIP **\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatharmohammad%2Fexchange","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fatharmohammad%2Fexchange","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatharmohammad%2Fexchange/lists"}