{"id":21347129,"url":"https://github.com/kybernetwork/kyberswap-dex-lib","last_synced_at":"2026-05-27T07:02:20.764Z","repository":{"id":168596572,"uuid":"644338488","full_name":"KyberNetwork/kyberswap-dex-lib","owner":"KyberNetwork","description":"DexLib is a library used by Kyberswap backend to integrate with decentralized exchanges. This library enables external DEX developers to integrate their DEX with Kyberswap by creating pull requests to this repository.","archived":false,"fork":false,"pushed_at":"2026-05-25T03:16:30.000Z","size":75976,"stargazers_count":64,"open_issues_count":16,"forks_count":90,"subscribers_count":8,"default_branch":"main","last_synced_at":"2026-05-25T04:29:51.738Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","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/KyberNetwork.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-05-23T10:06:39.000Z","updated_at":"2026-05-25T02:23:20.000Z","dependencies_parsed_at":"2026-02-09T10:07:20.596Z","dependency_job_id":null,"html_url":"https://github.com/KyberNetwork/kyberswap-dex-lib","commit_stats":null,"previous_names":["kybernetwork/kyberswap-dex-lib"],"tags_count":968,"template":false,"template_full_name":null,"purl":"pkg:github/KyberNetwork/kyberswap-dex-lib","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KyberNetwork%2Fkyberswap-dex-lib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KyberNetwork%2Fkyberswap-dex-lib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KyberNetwork%2Fkyberswap-dex-lib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KyberNetwork%2Fkyberswap-dex-lib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KyberNetwork","download_url":"https://codeload.github.com/KyberNetwork/kyberswap-dex-lib/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KyberNetwork%2Fkyberswap-dex-lib/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33554780,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-27T02:00:06.184Z","response_time":53,"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":"2024-11-22T02:12:47.144Z","updated_at":"2026-05-27T07:02:20.721Z","avatar_url":"https://github.com/KyberNetwork.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# kyberswap-dex-lib\n\n## What?\n\nKyberSwap uses this lib for off-chain tracking and computation, specifically\n\n1. Fetch pools;\n2. Track latest pool states; and\n3. Simulate expected output for a given input swap amount\n\nin order to search for the optimal aggregated swapping route.\n\n## How to Contribute?\n\n* Off-chain: Implements 3 things in pkg/liquidity-source (pkg/source contains legacy code using big.Int):\n\n1. PoolsListUpdater: fetches latest pool list incrementally\n2. PoolTracker: tracks latest pool state on new log event or on an interval\n3. PoolSimulator: simulates expected output for a given input swap amount\n  a. It's recommended to use uint256.Int for better performance\n  b. CloneState should also be implemented\n\n* On-chain: Contribute encoding to https://github.com/KyberNetwork/ks-dex-adapter-lib\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkybernetwork%2Fkyberswap-dex-lib","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkybernetwork%2Fkyberswap-dex-lib","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkybernetwork%2Fkyberswap-dex-lib/lists"}