{"id":21659695,"url":"https://github.com/inkdevhub/dex","last_synced_at":"2026-01-19T15:03:53.339Z","repository":{"id":88006169,"uuid":"571587333","full_name":"inkdevhub/dex","owner":"inkdevhub","description":"ink! DEX unaudited full implementation","archived":false,"fork":false,"pushed_at":"2023-03-31T14:08:07.000Z","size":103,"stargazers_count":31,"open_issues_count":1,"forks_count":3,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-07-18T00:36:31.988Z","etag":null,"topics":["dex","ink","uniswap-v2"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/inkdevhub.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2022-11-28T13:04:48.000Z","updated_at":"2025-05-19T05:59:04.000Z","dependencies_parsed_at":"2023-07-19T12:49:18.565Z","dependency_job_id":null,"html_url":"https://github.com/inkdevhub/dex","commit_stats":null,"previous_names":["swankyhub/dex","inkdevhub/dex"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/inkdevhub/dex","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inkdevhub%2Fdex","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inkdevhub%2Fdex/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inkdevhub%2Fdex/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inkdevhub%2Fdex/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/inkdevhub","download_url":"https://codeload.github.com/inkdevhub/dex/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inkdevhub%2Fdex/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28572601,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-19T14:39:55.009Z","status":"ssl_error","status_checked_at":"2026-01-19T14:39:01.217Z","response_time":67,"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":["dex","ink","uniswap-v2"],"created_at":"2024-11-25T09:31:23.872Z","updated_at":"2026-01-19T15:03:53.319Z","avatar_url":"https://github.com/inkdevhub.png","language":"Rust","funding_links":[],"categories":["Rust"],"sub_categories":[],"readme":"# DEX - UniswapV2\nThis folder contains the line by line implementation of [uniswap-v2 core](https://github.com/Uniswap/v2-core) and [uniswap-v2 periphery](https://github.com/Uniswap/v2-periphery) with its tests.   \nFirst version: [wasm-showcase-dapps](https://github.com/AstarNetwork/wasm-showcase-dapps)\n\n### Purpose\nThis is an unaudited full dex implementation ready to be used.\n\n### Status\n- :white_check_mark: contracts\n- :white_check_mark: integration tests\n- :white_large_square: UI (January 2023)\n- :white_large_square: Audit\n\n### Versions\n[ink! 4.0.0](https://github.com/paritytech/ink/tree/v4.0.0)   \n[openbrush 3.0.0](https://github.com/727-Ventures/openbrush-contracts/tree/3.0.0)\n\n### License\nApache 2.0\n\n## 🏗️ How to use - Contracts\n##### 💫 Build\nUse these [instructions](https://use.ink/getting-started/setup) to set up your ink!/Rust environment    \nRun this command in the contract folder:\n\n```sh\ncargo contract build\n```\n\n##### 💫 Run unit test\n\n```sh\ncargo test\n```\n##### 💫 Deploy\nFirst start your local node.  \nDeploy using polkadot JS. Instructions on [Astar docs](https://docs.astar.network/docs/wasm/sc-dev/polkadotjs-ui)\n\n##### 💫 Run integration test\nFirst start your local node. Recommended [swanky-node](https://github.com/AstarNetwork/swanky-node) v0.13.0\n\n```sh\nyarn\nyarn compile\nyarn test:typechain\n```\n\n##### 💫 Deployed contracts\n\n###### Shibuya\nFactory [Zuyf2wq2WXknr82Dp7Et46qmRJpWFY7bzdSM87MN5RqzYLv](https://shibuya.subscan.io/account/Zuyf2wq2WXknr82Dp7Et46qmRJpWFY7bzdSM87MN5RqzYLv)    \nWNative [XaE8oMj2rYFv6SQKGPKxGDLrdZqhduUHrwJU7pDfUke46Kx](https://shibuya.subscan.io/account/XaE8oMj2rYFv6SQKGPKxGDLrdZqhduUHrwJU7pDfUke46Kx)    \nRouter [ZtkfGHXkfcimYf9cXJdjxytw5Pzp3ucnZM51kBms5Eiu2PH](https://shibuya.subscan.io/account/ZtkfGHXkfcimYf9cXJdjxytw5Pzp3ucnZM51kBms5Eiu2PH)   \nUSDC [X3aX6HYcKrm3ZZSna7PR45Doh9tKyjaiUBLBWWMRfpQB4u6](https://shibuya.subscan.io/account/X3aX6HYcKrm3ZZSna7PR45Doh9tKyjaiUBLBWWMRfpQB4u6)   \nUSDT [YDBTHeQC2d5EuWiKFnvxaUipd67Va7Kx7AuiQaXydExkfPG](https://shibuya.subscan.io/account/YDBTHeQC2d5EuWiKFnvxaUipd67Va7Kx7AuiQaXydExkfPG)    \nUSDC/SBY-LP [YeoXYLUimoyHmn79FwYknWp89yX265i2Rq8zdAf5DkCiRz8](https://shibuya.subscan.io/account/YeoXYLUimoyHmn79FwYknWp89yX265i2Rq8zdAf5DkCiRz8)    \nUSDT/SBY-LP [Z8q71nvirYBbxzmhcVoeiXZ1oL3b64zjxhVMxbmBvvzxiWs](https://shibuya.subscan.io/account/Z8q71nvirYBbxzmhcVoeiXZ1oL3b64zjxhVMxbmBvvzxiWs)    \n\nTo interact with contracts on Shibuya, use _Add an existing contract_ in [polkadotjs UI](https://polkadot.js.org/apps/?rpc=wss%3A%2F%2Frpc.shibuya.astar.network#/contracts) and enter contract address and the .contract file\n\n---\n## 🏗️  UI\nComing in January\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finkdevhub%2Fdex","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finkdevhub%2Fdex","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finkdevhub%2Fdex/lists"}