> ## 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.

# How To

> Practical, task-based guides for integrating SODAX — HTTP API routes, SDK configuration, swaps, wallets, and more.

Task guides for common integration work. For product pickers, start from a [solution hub](https://docs.sodax.com/introduction.md). Network-specific onboarding lives under [Get Started](https://docs.sodax.com/introduction.md#or-start-from-your-context).

**Start with the HTTP API.** It works from any language: create an [API key](https://docs.sodax.com/developers/how-to/api-keys.md), then follow the HTTP swap flow. Most other guides use `@sodax/sdk` for TypeScript integrations, and the [Swap hub](https://docs.sodax.com/swap.md) puts the two paths side by side.

## Task guides

> [card] [Make a swap (HTTP)](https://docs.sodax.com/developers/http-api/swaps.md#bot-flow-create-submit-tx-poll)
>
> Quote, build the intent, sign and broadcast it, then submit-tx and poll status, from any language.

> [card] [API keys](https://docs.sodax.com/developers/how-to/api-keys.md)
>
> Create, deploy and rotate a partner portal key.

> [card] [API key good practices](https://docs.sodax.com/developers/how-to/api-key-good-practices.md)
>
> Keep the key off the client, with a worked backend proxy for browser dApps.

> [card] [Make a swap (SDK)](https://docs.sodax.com/developers/how-to/how_to_make_a_swap.md)
>
> Init, quote, execute, and error handling in TypeScript.

> [card] [Integrate Leverage Yield](https://docs.sodax.com/developers/how-to/integrate_leverage_yield.md)
>
> Deposit into and withdraw from LST vaults, over the SDK or the HTTP API.

> [card] [Payout wallet](https://docs.sodax.com/developers/how-to/payout-wallet.md)
>
> Set the address your partner fees are paid to, and claim them.

> [card] [Configure the SDK](https://docs.sodax.com/developers/how-to/configure_sdk.md)
>
> Networks, RPCs, and partner settings.

> [card] [Logging](https://docs.sodax.com/developers/how-to/logging.md)
>
> Silence SDK diagnostics or forward them to Sentry, Datadog or a JSON sink.

> [card] [Install with Next.js](https://docs.sodax.com/developers/packages/sdk/docs/installation/nextjs.md)
>
> Create a Next.js app and install `@sodax/sdk`.

> [card] [Monetize](https://docs.sodax.com/developers/how-to/monetize_sdk.md)
>
> Partner fees and claiming.

> [card] [Wallet providers](https://docs.sodax.com/developers/how-to/wallet_providers.md)
>
> Connect wallets across networks.

> [card] [Estimate gas](https://docs.sodax.com/developers/how-to/estimate_gas.md)
>
> Gas estimation patterns in the SDK.

> [card] [Stellar trustline](https://docs.sodax.com/developers/how-to/stellar_trustline.md)
>
> Trustline setup for Stellar assets.

> [card] [Stellar sponsoring](https://docs.sodax.com/developers/how-to/stellar-sponsoring-getting-started.md)
>
> Activate a new Stellar account with the Sponsoring API.

> [card] [Bitcoin integration](https://docs.sodax.com/developers/how-to/bitcoin-integration.md)
>
> Use Bitcoin as a source or destination network.

> [card] [Testnet](https://docs.sodax.com/developers/how-to/testnet.md)
>
> What “testnet” means for SODAX today.

## Reference, not guides

These live in other tabs. They document a surface rather than walking a task.

> [card] [HTTP API overview](https://docs.sodax.com/developers/http-api.md)
>
> Base URLs, route prefixes, and which API to use.

> [card] [Swaps API reference](https://docs.sodax.com/developers/http-api/swaps.md)
>
> Every `/v1/swaps/*` route, plus the submit-tx walkthrough.

> [card] [Builders MCP](https://docs.sodax.com/builders-mcp.md)
>
> Live chains, tokens, quotes and docs, inside your AI coding agent.

> [card] [SDK modules](https://docs.sodax.com/developers/packages/foundation/sdk/functional-modules.md)
>
> Per-feature API reference for `@sodax/sdk`.


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