// the find
rango-exchange/rango-sdk
Rango Exchange Typescript SDK
TypeScript SDK for Rango Exchange, a cross-chain swap aggregator that routes trades across EVM chains, Solana, Bitcoin (PSBT), Tron, Starknet, Stellar, TON, and more. Comes in two flavors: a basic single-step SDK for simple swaps, and a main multi-step SDK for complex cross-chain routes. Aimed at DeFi developers who want to integrate multi-chain swaps without building routing logic themselves.
The monorepo splits types (rango-types), basic SDK, and main SDK cleanly — you can import just the types package without pulling in HTTP client logic. Chain coverage is genuinely broad: the main SDK's tx types include Cosmos, EVM, Solana, Starknet, Stellar, TON, Tron, XRPL, Sui, and Hyperliquid, which is rare to see in one place. Per-chain example directories (node-evm, node-psbt, node-solana, node-starknet, node-stellar, node-tron) make the getting-started path concrete rather than abstract. Active maintenance — last push was 3 days ago with 1657 stars and a real changelog.
39 forks for 1657 stars is a weak community signal — most users are consumers, not contributors, which means bug fixes and chain additions depend almost entirely on the Rango team. The SDK is a thin HTTP wrapper around Rango's proprietary API, so you're fully dependent on their infrastructure and routing decisions; there's no local fallback or alternative provider. No test suite visible in the repo — a swap SDK handling real money with no tests is a red flag. The basic vs. main SDK split adds cognitive overhead upfront: the README doesn't clearly explain when you'd choose one over the other.