NAVI Protocol TypeScript SDK is a comprehensive DeFi SDK collection designed for the Sui blockchain. It provides complete decentralized finance functionality including token swapping, cross-chain bridging, lending, flash loans, and more.
The NAVI TypeScript SDKs have moved to the Sui SDK v2 stack. What changed from the v1 (1.x) line:
| v1 (1.x) | v2 (2.x) | |
|---|---|---|
| Sui SDK | @mysten/sui@^1 |
@mysten/sui@^2 |
| Client | SuiClient (JSON-RPC only) |
SuiGrpcClient (recommended), optional SuiGraphQLClient — unified behind the ClientWithCoreApi interface |
| Module format | CommonJS | ESM |
| Runtime | — | Node.js 22+ |
Interfaces are otherwise unchanged — the one required step is constructing a Sui v2 client and passing it in. Upgrading a 1.x integration to 2.x? Read the Sui SDK v2 Migration guide first.
DEX Aggregator SDK that aggregates liquidity from multiple decentralized exchanges to provide users with the best token swap rates.
Key Features:
Cross-chain Bridge SDK that supports token transfers between different blockchain networks.
Key Features:
Lending SDK that provides complete lending functionality.
Key Features:
Comprehensive Wallet Client SDK that provides a unified interface for DeFi operations.
Key Features:
git checkout -b feat/amazing-feature)git commit -m 'Add some amazing feature')git push origin feat/amazing-feature)This project is licensed under the MIT License - see the LICENSE file for details
| Package | Version | Status |
|---|---|---|
| @naviprotocol/astros-aggregator-sdk | 2.x | ✅ Sui SDK v2 |
| @naviprotocol/astros-bridge-sdk | 2.x | ✅ Sui SDK v2 |
| @naviprotocol/astros-dca-sdk | 2.x | ✅ Sui SDK v2 |
| @naviprotocol/lending | 2.x | ✅ Sui SDK v2 |
| @naviprotocol/wallet-client | 2.x | ✅ Sui SDK v2 |
Looking for the previous 1.x releases? They remain available on npm.
NAVI Protocol - Building DeFi Infrastructure for the Sui Ecosystem 🚀