{"id":14968460,"url":"https://github.com/lifinance/sdk","last_synced_at":"2026-04-15T09:04:03.820Z","repository":{"id":37766110,"uuid":"435553120","full_name":"lifinance/sdk","owner":"lifinance","description":"LI.FI - Bridge \u0026 DEX aggregation: Any-to-Any Cross-Chain-Swap SDK","archived":false,"fork":false,"pushed_at":"2026-02-04T17:35:34.000Z","size":13165,"stargazers_count":246,"open_issues_count":5,"forks_count":100,"subscribers_count":14,"default_branch":"main","last_synced_at":"2026-02-05T01:54:06.038Z","etag":null,"topics":["bridge","bridge-aggregation","cross-chain","cross-chain-applications","cross-chain-bridge","dapp","defi","ethereum","lifi","nodejs","react","sdk","solana","swap","viem","wagmi","web3"],"latest_commit_sha":null,"homepage":"https://li.fi/sdk","language":"TypeScript","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/lifinance.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":"funding.json","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{}},"created_at":"2021-12-06T15:42:47.000Z","updated_at":"2026-02-03T10:06:11.000Z","dependencies_parsed_at":"2025-12-16T22:08:44.776Z","dependency_job_id":null,"html_url":"https://github.com/lifinance/sdk","commit_stats":{"total_commits":449,"total_committers":18,"mean_commits":"24.944444444444443","dds":0.576837416481069,"last_synced_commit":"19b74804c84dd78b80ec3176deed74a8ed23ada4"},"previous_names":[],"tags_count":353,"template":false,"template_full_name":null,"purl":"pkg:github/lifinance/sdk","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lifinance%2Fsdk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lifinance%2Fsdk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lifinance%2Fsdk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lifinance%2Fsdk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lifinance","download_url":"https://codeload.github.com/lifinance/sdk/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lifinance%2Fsdk/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29273152,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-09T13:47:44.167Z","status":"ssl_error","status_checked_at":"2026-02-09T13:47:43.721Z","response_time":56,"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":["bridge","bridge-aggregation","cross-chain","cross-chain-applications","cross-chain-bridge","dapp","defi","ethereum","lifi","nodejs","react","sdk","solana","swap","viem","wagmi","web3"],"created_at":"2024-09-24T13:39:57.709Z","updated_at":"2026-02-09T17:06:06.333Z","avatar_url":"https://github.com/lifinance.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n[![license](https://img.shields.io/github/license/lifinance/sdk)](/LICENSE)\n[![npm latest package](https://img.shields.io/npm/v/@lifi/sdk/latest.svg)](https://www.npmjs.com/package/@lifi/sdk)\n[![npm downloads](https://img.shields.io/npm/dm/@lifi/sdk.svg)](https://www.npmjs.com/package/@lifi/sdk)\n[![Follow on Twitter](https://img.shields.io/twitter/follow/lifiprotocol.svg?label=follow+LI.FI)](https://twitter.com/lifiprotocol)\n\n\u003c/div\u003e\n\n\u003ch1 align=\"center\"\u003eLI.FI SDK\u003c/h1\u003e\n\n[**LI.FI SDK**](https://docs.li.fi/sdk/overview) provides a powerful toolkit for developers to enable seamless cross-chain and on-chain swaps and bridging within their applications. Our JavaScript/TypeScript SDK can be implemented in front-end or back-end environments, allowing you to build robust UX/UI around our advanced bridge and swap functionalities. LI.FI SDK efficiently manages all communications between our smart routing API and smart contracts and ensures optimal performance, security, and scalability for your cross-chain and on-chain needs.\n\n[**LI.FI SDK**](https://docs.li.fi/sdk/overview) features include:\n\n- All ecosystems, chains, bridges, exchanges, and solvers that [LI.FI](https://docs.li.fi/introduction/chains) supports\n- Complete functionality covering full-cycle from obtaining routes/quotes to executing transactions\n- Easy tracking of the route and quote execution through the robust event and hooks handling\n- Highly customizable settings to tailor the SDK to your specific needs including configuration of RPCs and options to allow or deny certain chains, tokens, bridges, exchanges, solvers\n- Supports widely adopted industry standards, including [EIP-5792](https://eips.ethereum.org/EIPS/eip-5792), [ERC-2612](https://eips.ethereum.org/EIPS/eip-2612), [EIP-712](https://eips.ethereum.org/EIPS/eip-712), and [Permit2](https://github.com/Uniswap/permit2)\n- SDK ecosystem providers are based on industry-standard libraries ([Viem](https://viem.sh/), [Wallet Standard](https://github.com/wallet-standard/wallet-standard), [Bigmi](https://github.com/lifinance/bigmi))\n- Support for arbitrary contract calls on the destination chain\n- Designed for optimal performance with tree-shaking and dead-code elimination, ensuring minimal bundle sizes and faster page load times in front-end environments\n- Compatibility tested with Node.js and popular front-end tools like Vite\n\n## Installation\n\n```bash\npnpm add @lifi/sdk\n```\n\nor\n\n```bash\nnpm install --save @lifi/sdk\n```\n\n## Quick Start\n\n### Set up the SDK\n\nFirstly, create SDK config with your integrator string.\n\n```ts\nimport { createConfig } from '@lifi/sdk'\n\ncreateConfig({\n  integrator: 'Your dApp/company name',\n})\n```\n\n### Request a Quote\n\nNow you can interact with the SDK and for example request a quote.\n\n```ts\nimport { ChainId, getQuote } from '@lifi/sdk'\n\nconst quote = await getQuote({\n  fromAddress: '0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045',\n  fromChain: ChainId.ARB,\n  toChain: ChainId.OPT,\n  fromToken: '0x0000000000000000000000000000000000000000',\n  toToken: '0x0000000000000000000000000000000000000000',\n  fromAmount: '1000000000000000000',\n})\n```\n\n## Examples\n\nSee [examples](/examples) folder in this repository.\n\n## Documentation\n\nPlease checkout the [SDK documentation](https://docs.li.fi/sdk/overview) and our [API reference](https://docs.li.fi/api-reference/introduction) for further information.\n\n## Changelog\n\nThe [changelog](/CHANGELOG.md) is regularly updated to reflect what's changed in each new release.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flifinance%2Fsdk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flifinance%2Fsdk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flifinance%2Fsdk/lists"}