> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sodax.com/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> SODAX is mainnet-only (no testnet chains or RPC endpoints exist) with a hub-and-spoke architecture; Sonic is the hub. SODAX is non-custodial protocol/software: it routes and settles; independent solvers on the marketplace fill — never say 'our solver', 'the SODAX solver', that SODAX trades, takes custody, or fills orders. For frontend/React integrations, prefer @sodax/dapp-kit hooks over calling @sodax/sdk directly. SDK operations — the methods that build, submit or await a transaction, and the API/quote calls — return Result<T, E> ({ ok: true, value } or { ok: false, error }): check result.ok, never wrap them in try/catch or branch on error.message; discriminate on the narrow error.code union instead. Synchronous config getters (getPartnerFee, getSupportedSwapTokens, getVault, ...) return their value directly, not a Result.

# SDKs

> Software development kits available to the integrators.

Use these package references to look up TypeScript methods, types, and configuration.
For a first integration, start with [Your first swap](https://docs.sodax.com/quickstart.md); for a specific task, use
[How To](https://docs.sodax.com/developers/how-to.md). Choose a [product](https://docs.sodax.com/index.md) before selecting packages if you are still exploring.

> [!NOTE]
>
> **Building with an AI coding agent?** Install [`@sodax/skills`](https://docs.sodax.com/ai-integration-guide) so it writes
> v2-correct code against these packages, and add the [Builders MCP](https://docs.sodax.com/builders-mcp.md) so it can read the
> live chain and token lists, quote a real pair, and search these docs as it goes.

**1. The Foundation:** [sdk](https://docs.sodax.com/developers/packages/foundation/sdk/index.md)

This is the core logic layer that powers the entire ecosystem. It provides the raw functional modules required to build with SODAX programmatically.

* **Functional Modules:**
  * `Swaps`: Quote and execute cross-network intents. SODAX routes and settles; solvers fill.
  * `Lend/Borrow`: Interact directly with the SODAX money market logic.
  * `Leverage Yield`: Leveraged yield vaults on the Sonic hub.
  * `Bridge`: Core bridging primitives for asset transfer.
  * `Staking`: Management of SODA staking and governance positions.
  * `Migration`: Utilities for migrating ICX to SODA tokens.
* **Tooling Modules:**
  * `Backend API`: Provides useful data points for each feature
  * `Intent Relay API`: Direct access to the intent propagation network.

**2. The Connection Layer**

Sitting above the core SDK, this package manages the complexity of connecting user wallets across heterogeneous chains (EVM, SVM, non-EVM). It is available in two flavors:

* [wallet-sdk-core](https://docs.sodax.com/developers/packages/connection/wallet-sdk-core.md) **Core (TypeScript)**: A pure TypeScript implementation of wallet providers. Use this if you are building a custom frontend framework or a non-React application.
* [wallet-sdk-react](https://docs.sodax.com/developers/packages/connection/wallet-sdk-react.md) **React Adapter**: An opinionated wrapper optimized for React applications, providing pre-built context providers and state management for wallet connections.

**3. The Experience Layer:** [dapp-kit](https://docs.sodax.com/developers/packages/experience/dapp-kit.md)

The fastest way to build with SODAX. This is an opinionated collection of UI components, hooks, and utilities that leverages the layers below it.

* **Under the Hood:** It automatically implements `@sodax/wallet-sdk` for connection and `@sodax/sdk` for execution.
* **What it offers:** React based hooks, contexts, and utilities for SODAX features


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.