Trade SODA on Kraken.

SODAX SDK

The SODAX SDK (@sodax/sdk) is the TypeScript interface for integrating SODAX's cross-network execution and liquidity capabilities, and one of two integration paths alongside the SODAX API.

sdksystemcross-networkexecutionintents

What it is

The SODAX SDK is the TypeScript 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.

It is one of two paths into the system. The other is the SODAX API, which serves the same capabilities over HTTP to any stack.

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
  • SODAX 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 working in TypeScript, the SDK is the fastest way to integrate SODAX. It supports EVM and non-EVM networks across all 21 networks SODAX operates on, including native Bitcoin. The current list is available at runtime through sodax.config.getSupportedSpokeChains().

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.

Teams that do not run TypeScript should use the SODAX API instead. It reaches the same execution surface and supports the same partner fee model.

Last updated: 8/20/2026