{"id":27946649,"url":"https://github.com/bitfancy/simple-raydium-cpi","last_synced_at":"2025-07-08T14:04:39.324Z","repository":{"id":277384966,"uuid":"932252955","full_name":"BitFancy/simple-raydium-cpi","owner":"BitFancy","description":"raydium cpi example","archived":false,"fork":false,"pushed_at":"2025-02-13T17:07:12.000Z","size":108,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-07T13:56:54.178Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BitFancy.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":"2025-02-13T16:08:10.000Z","updated_at":"2025-02-13T17:07:16.000Z","dependencies_parsed_at":"2025-02-13T17:35:59.681Z","dependency_job_id":"0c3ec273-f2f3-4f94-87ce-0fdcc319dd51","html_url":"https://github.com/BitFancy/simple-raydium-cpi","commit_stats":null,"previous_names":["bitfancy/simple-raydium-cpi"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/BitFancy/simple-raydium-cpi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BitFancy%2Fsimple-raydium-cpi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BitFancy%2Fsimple-raydium-cpi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BitFancy%2Fsimple-raydium-cpi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BitFancy%2Fsimple-raydium-cpi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BitFancy","download_url":"https://codeload.github.com/BitFancy/simple-raydium-cpi/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BitFancy%2Fsimple-raydium-cpi/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264283834,"owners_count":23584617,"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","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-05-07T13:56:53.546Z","updated_at":"2025-07-08T14:04:39.259Z","avatar_url":"https://github.com/BitFancy.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Raydium-cpi-example\n\nExample of CPI call, relying on Raydium's CLMM/CPMM/AMM main contracts\n\n## Environmental requirements\n\n```\nsolana-cli 1.17.0\nanchor-cli 0.29.0\n```\n\n\u003cfont color=\"red\"\u003e If you are using a newer version of the anchor, please refer to examples and development environment requirements from other branches.\u003c/font\u003e\n\n## Accounts\n\nSome accounts are convenient for testing purposes.\n\n### CPMM\n\n| network     | devnet                                       | mainnet                                      |\n| ----------- | -------------------------------------------- | -------------------------------------------- |\n| Program     | CPMDWBwJDtYax9qW7AyRuVC19Cc4L4Vcy4n2BHAbHkCW | CPMMoo8L3F4NbTegBCKVNunggL7H1ZpdTHKxQB5qKP1C |\n| AmmConfig   | 9zSzfkYy6awexsHvmggeH36pfVUdDGyCcwmjT3AQPBj6 | D4FPEruKEHrG5TenZ2mpDGEfu1iUvTiqBxvpU8HLBvC2 |\n| FeeReceiver | G11FKBRaAkHAKuLCgLM6K6NUc9rTjPAznRCjZifrTQe2 | DNXgeM9EiiaAbaWvwjHj9fQQLAX5ZsfHyvmYUNRAdNC8 |\n\n### CLMM\n\n| network   | devnet                                       | mainnet                                      |\n| --------- | -------------------------------------------- | -------------------------------------------- |\n| Program   | devi51mZmdwUJGU9hjN27vEz64Gps7uUefqxg27EAtH  | CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK |\n| AmmConfig | CQYbhr6amxUER4p5SC44C63R4qw4NFc9Z4Db9vF4tZwG | 4BLNHtVe942GSs4teSZqGX24xwKNkqU7bGgNn3iUiUpw |\n\n## Devnet Test\n\nIf your contract is completed and you want to deploy it on devnet, please pay attention to the `devnet` feature in the [example](https://github.com/raydium-io/raydium-cpi-example/blob/master/cpmm-cpi/programs/cpmm-cpi/Cargo.toml#L17). Use the following command when compiling: \n```\nanchor build -- --features devnet\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitfancy%2Fsimple-raydium-cpi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbitfancy%2Fsimple-raydium-cpi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitfancy%2Fsimple-raydium-cpi/lists"}