SODAX SDK
The SODAX SDK (@sodax/sdk) is the core programmatic interface for integrating SODAX's cross-network execution and liquidity capabilities into any application.
What it is
The SODAX SDK is the primary integration surface for builders who want to add cross-network capabilities to their applications. Published as @sodax/sdk, it provides programmatic access to all of SODAX's functional modules: Swaps, Lend/Borrow (Money Market), Bridge, Staking, and Migration.
The SDK is designed to be modular. Each functional module can be integrated independently or combined, depending on what the application needs.
What it does inside SODAX
Within the SODAX system, the SDK translates application-level actions into the underlying system operations: creating intents, relaying messages to the Hub, interacting with Spoke deployments, and handling responses.
The SDK handles:
- Intent creation and submission for cross-network swaps (often searched as cross chain swap SDK)
- Money Market interactions including supply, borrow, and repay operations
- Bridge transfers between supported networks
- SODA token staking and xSODA management
- Token migration utilities
- Backend API access for market data, asset information, and transaction history
The SDK works in conjunction with Spoke Providers, which represent the user's wallet connection on a specific network. Operations are routed through the appropriate Spoke Provider to the local Spoke deployment.
Why it exists
Without the SDK, applications would need to interact directly with SODAX's smart contracts across multiple networks, manage message relaying, handle intent formatting, and coordinate execution flows manually.
The SDK exists to abstract this complexity into a clean, consistent interface. It is the layer that makes SODAX's infrastructure accessible to builders without requiring deep knowledge of the underlying system architecture.
What this means for users and partners
For builders, the SDK is the primary way to integrate SODAX. It supports EVM networks (Arbitrum, Avalanche, Base, BSC, Optimism, Polygon, Sonic, HyperEVM, LightLink, Ethereum, Redbelly, Kaia) and non-EVM networks (Sui, Solana, Stellar, Injective, ICON).
The SDK is part of a broader package ecosystem: @sodax/wallet-sdk handles wallet connectivity, and @sodax/dapp-kit provides ready-made UI components. Together, these packages offer different integration depths depending on the builder's needs.