{"id":30694306,"url":"https://github.com/goosefx1/gamma-swap","last_synced_at":"2025-09-02T06:06:03.120Z","repository":{"id":258116342,"uuid":"864912275","full_name":"GooseFX1/gamma-swap","owner":"GooseFX1","description":"GooseFX constant product AMM with dynamic fees GAMMA7meSFWaBXF25oSUgmGRwaW6sCMFLmBNiMSdbHVT","archived":false,"fork":false,"pushed_at":"2025-07-09T22:57:24.000Z","size":1183,"stargazers_count":26,"open_issues_count":1,"forks_count":12,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-10T08:59:03.059Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://goosefx.io","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/GooseFX1.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":"2024-09-29T13:57:14.000Z","updated_at":"2025-07-03T06:49:54.000Z","dependencies_parsed_at":"2024-10-25T09:53:54.593Z","dependency_job_id":"24c0f9c2-d0cc-42a9-8f92-3de912befbcb","html_url":"https://github.com/GooseFX1/gamma-swap","commit_stats":null,"previous_names":["goosefx1/gamma-swap"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/GooseFX1/gamma-swap","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GooseFX1%2Fgamma-swap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GooseFX1%2Fgamma-swap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GooseFX1%2Fgamma-swap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GooseFX1%2Fgamma-swap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GooseFX1","download_url":"https://codeload.github.com/GooseFX1/gamma-swap/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GooseFX1%2Fgamma-swap/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273238878,"owners_count":25069798,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-02T02:00:09.530Z","response_time":77,"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":[],"created_at":"2025-09-02T06:05:55.041Z","updated_at":"2025-09-02T06:06:03.113Z","avatar_url":"https://github.com/GooseFX1.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GAMMA\n\nGoose Automated Market Making Algorithm (GAMMA) is a decentralized exchange (DEX) protocol built on Solana. It provides dynamic fee AMM functionality with customizable fee structures and liquidity pool management.\n\n## Key Features\n- Dynamic fees based on volatility and pool rebalancing mechanisms, up to 10% of swap amount\n- Permissionless pool creation with low fees (less than 0.1 SOL)\n- Migration tool for to transfer LP position from other AMMs\n- Referral program and open source code\n- Token2022 support\n- Highly CU optimized for faster swaps\n- $GOFX revenue share and burn mechanism (see docs.goosefx.io for more info)\n\n## Developer Features\n\n- Create and manage AMM configurations\n- Initialize liquidity pools\n- Deposit and withdraw liquidity\n- Swap tokens with base input or base output\n- Oracle price feed integration\n- Transfer fee handling for SPL tokens (Token22 support)\n\n## Project Structure\n\n- `programs/gamma`: Solana program (smart contract) code\n- `client`: Rust client for interacting with the Gamma program\n\n## Getting Started\n\n### Prerequisites\n\n- Rust and Cargo\n- Solana CLI tools\n- Anchor framework\n\n### Building\n\nTo build the project:\n```bash\ncargo make build_all\n```\n\n### Deploying\n\nTo deploy the program:\n```bash\ncargo make deploy_program\n```\n\n### Running the Client\n\nThe client provides a command-line interface for interacting with the Gamma program. Use the following command to see available options:\n```bash\ncargo install --path client\n```\n\n## Commands\n```bash\ngamma-cli --help\n```\n\n- `create-config`: Create a new AMM configuration\n- `initialize-pool`: Initialize a new liquidity pool\n- `init-user-pool-liquidity`: Initialize user pool liquidity account\n- `deposit`: Deposit liquidity into a pool\n- `withdraw`: Withdraw liquidity from a pool\n- `swap-base-in`: Perform a token swap with a specified input amount\n- `swap-base-out`: Perform a token swap with a specified output amount\n\n\n### Testing\n\nTo run the test suite:\n```bash\ncargo test-sbf\n```\n\n\n\u003e Note: Do not use `cargo update`, it adds some unwanted dependency version which then causes the compilation to fail.\nAt the time of writing this, it was adding multiple version of solana-sdk and borsh and then the jupiter-library and the external anchor providers we have for those the compilation was failing. If you want to check if the project is compiling its better to use `cargo check`","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoosefx1%2Fgamma-swap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgoosefx1%2Fgamma-swap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoosefx1%2Fgamma-swap/lists"}