{"id":18300983,"url":"https://github.com/bonfida/dex-v4","last_synced_at":"2025-04-05T14:30:48.555Z","repository":{"id":36974626,"uuid":"402164859","full_name":"Bonfida/dex-v4","owner":"Bonfida","description":"Orderbook-based on-chain SPL token swap market","archived":false,"fork":false,"pushed_at":"2023-02-28T19:17:22.000Z","size":981,"stargazers_count":103,"open_issues_count":8,"forks_count":34,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-03-21T05:43:02.895Z","etag":null,"topics":["bonfida","solana","solana-program","typescript"],"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/Bonfida.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}},"created_at":"2021-09-01T18:31:56.000Z","updated_at":"2025-03-02T22:20:27.000Z","dependencies_parsed_at":"2023-02-14T07:16:00.590Z","dependency_job_id":null,"html_url":"https://github.com/Bonfida/dex-v4","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bonfida%2Fdex-v4","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bonfida%2Fdex-v4/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bonfida%2Fdex-v4/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bonfida%2Fdex-v4/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Bonfida","download_url":"https://codeload.github.com/Bonfida/dex-v4/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247352264,"owners_count":20925242,"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":["bonfida","solana","solana-program","typescript"],"created_at":"2024-11-05T15:14:02.653Z","updated_at":"2025-04-05T14:30:47.765Z","avatar_url":"https://github.com/Bonfida.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Serum dex\n\nOrderbook-based on-chain SPL token swap market\n\nThis program is intended for use to build a decentralized exchange (DEX) specialized on SPL token swaps.\n\n## Repository\n\n- `program` contains the code for the on-chain program\n- `js` contains the code for the JS/wasm bindings for the on-chain program, an up to date npm package is available [here](https://www.npmjs.com/package/@bonfida/dex-v4)\n- `cranker` contains the code for the associated cranking runtime\n\n## Documentation\n\nDetailed API documentation is available for the program by running `cargo doc --open` in the `program` directory.\n\n## FAQ\n\n- [How to choose base/currency multipliers?](https://github.com/Bonfida/dex-v4/issues/97#issuecomment-1382019471)\n\n## Testing on devnet\n\n#### Market information\n\n- Market Address: `Gdaxn4WkV2ZyNcMYsUWiAnmjy4YqSka4woy8ggazh4ba`\n- Base Mint (6 decimals): `72m4rktxyKqWQxTnXz1rpjJ6v9RPaa6mW5Qb2aizQ8Zq`\n- Quote Mint (4 decimals): `Cetq9LiKkhvQuyHRjbk1FSbbsWSCCEVvPVQ4BHCHDF3t`\n\n#### Faucets (airdrop test tokens):\n\n- (Add the Test USDC Mint to your wallet)\n- Go to: https://www.spl-token-ui.com/#/\n- Select `devnet` in the top right\n- In the `Airdrop` dropdown menu select `Token Faucets`\n- Select `Token Airdrop`\n- Enter your address in `Token destination address`\n- Enter one of the addresses below in `Faucet address`\n- Enter the amount you want to receive (with decimals, max is 1k in ui amount) and click `Airdrop Tokens`\n\n- Base faucet: `DiptCWpttbGc5y4Pb2LhxWLnkbmZUUzmEoeca55aaJfy`\n- Quote faucet: `2ewphvAYknMVe55d9KgZMEw1vKTFgFUDTdyMGNcyGD1c`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbonfida%2Fdex-v4","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbonfida%2Fdex-v4","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbonfida%2Fdex-v4/lists"}