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

# SODAX for Solana

> Reach the users and liquidity of every SODAX network from your Solana product. No new programs: integrate over the HTTP API from any language, or the TypeScript SDK.

> [!NOTE]
>
> **No new programs.** On Solana, smart contracts are called programs, and SODAX's are already live and [independently audited](https://github.com/gosodax/sodax-sdks/blob/main/Audits/Sodax%20%28Solana%29%20Smart%20Contract%20Audit%20Report%20-%20Final%20Report%20v2%20%281%29.pdf); integrate over the HTTP API from any language, or in TypeScript with the SDK. Your users sign familiar Solana transactions, and SODAX coordinates cross-network execution, routing, and recovery behind the scenes.

You keep shipping on Solana. SODAX absorbs the cross-network execution layer, so your product can offer trading and lending against every asset in the SODAX System, 166 across all supported networks, without leaving your stack. Swaps and leverage yield run over the HTTP API from any language; money market supply and borrow run in TypeScript at the SDK or React layer. There is nothing to deploy, audit, or maintain on-chain.

Using SODAX is free. Trades carry a fixed 0.1% base fee taken by the protocol, and you set your own platform fee on top. That part is fully yours, both the rate and the revenue. See [Monetize SDK](https://docs.sodax.com/developers/how-to/monetize_sdk.md).

Not sure where SODAX fits in your product? Paste your protocol's URL into the generator and get a guide written for your stack: [Generate your integration guide →](https://sodax.com/solana)

## What you can build

Two SODAX modules are relevant to Solana builders:

> [card] [Swaps](https://docs.sodax.com/solana/swaps.md)
>
> Intent-based cross-network swaps. Users swap between SPL assets and assets on any supported network with one signed transaction on Solana. Solvers fill; SODAX routes and settles.

> [card] [Money Market](https://docs.sodax.com/solana/money-market.md)
>
> Cross-network lending and borrowing. Depositors source collateral from any supported network and settle into positions that back Solana-native flows: supply, borrow, repay, withdraw.

## Choose your integration path

| Path | Best for | Start here |
| - | - | - |
| [HTTP API](https://docs.sodax.com/developers/http-api.md) | Swaps and leverage yield from any language, with no SDK to install. Get a key at [portal.sodax.com](https://portal.sodax.com) | [Swap bot flow](https://docs.sodax.com/developers/http-api/swaps.md#bot-flow-create-submit-tx-poll) |
| [`@sodax/sdk`](https://docs.sodax.com/developers/packages/foundation/sdk) | Full control from any TypeScript backend or frontend | [Quickstart](https://docs.sodax.com/solana/quickstart.md) |
| [`@sodax/dapp-kit`](https://docs.sodax.com/developers/packages/experience/dapp-kit) + [`@sodax/wallet-sdk-react`](https://docs.sodax.com/developers/packages/connection/wallet-sdk-react) | React apps that want hooks and wallet connectivity out of the box | [Wallets](https://docs.sodax.com/solana/wallets.md) |
| [Starter template](https://github.com/gosodax/sodax-solana-swap-template) | A working Next.js swap app to fork: Solana wallet, live quote, swap to EVM networks. Scaffold it with `create-solana-dapp` | [Template repo](https://github.com/gosodax/sodax-solana-swap-template) |
| [Builders MCP](https://docs.sodax.com/builders-mcp.md) | Building with AI agents against the full SODAX stack | See below |

## Scope and build with AI

Point your AI coding assistant at the [SODAX Builders MCP](https://docs.sodax.com/builders-mcp.md) and it gains live access to the whole SODAX System: supported chains and tokens, real swap quotes, money market rates, intent history, and these docs. 40 tools in all, working in Claude, Cursor, VS Code, Windsurf, and any other MCP-capable client.

```json theme={null}
{
  "mcpServers": {
    "sodax-builders": {
      "url": "https://builders.sodax.com/mcp"
    }
  }
}
```

Use it to scope before you commit: your assistant can read your own codebase, pull real quotes and token lists, and map exactly where SODAX fits in your product. Then let it build against the same live data. Full tool list and per-client setup at [builders.sodax.com](https://builders.sodax.com/).

## In this section

* [Quickstart](https://docs.sodax.com/solana/quickstart.md): install the SDK, connect a Solana wallet, make your first cross-network swap.
* [Swaps on Solana](https://docs.sodax.com/solana/swaps.md): how intents work from a Solana perspective, quoting, fees, and settlement.
* [Money Market on Solana](https://docs.sodax.com/solana/money-market.md): supply, borrow, repay, and withdraw with cross-network collateral.
* [Wallets](https://docs.sodax.com/solana/wallets.md): Phantom, Backpack, Solflare, and every other network's wallets through one interface.
* [Networks & Assets](https://docs.sodax.com/solana/networks-and-assets.md): what is live on Solana today and what your users can reach.
* [Solana FAQ](https://docs.sodax.com/solana/faq.md): the questions Solana engineers actually ask.

## Out in the ecosystem

You will run into us where Solana builders already are: Breakpoint, Superteam events, hackathon season.

If you are getting oriented in Solana development more broadly, these are the resources we point builders to:

* [**Superteam**](https://superteam.fun/): the global collective of Solana builders: bounties, grants, local chapters, and the fastest way to find collaborators and your first users.
* [**Colosseum**](https://colosseum.com/hackathon): Solana's flagship online hackathon and accelerator. A cross-network swap or lending feature built on SODAX makes a strong hackathon wedge; ship it in a weekend, no new programs to write.
* [**Solana developer docs**](https://solana.com/developers): the canonical starting point for the runtime, SPL tokens, and tooling.
* [**Anchor**](https://www.anchor-lang.com/): the standard framework for writing Solana programs; a SODAX integration lives alongside it in your TypeScript client, not inside it.
* [**Solana Stack Exchange**](https://solana.stackexchange.com/): where the sharp edges get answered.

***

Building something? Generate a guide at [sodax.com/solana](https://sodax.com/solana), or start with the [Quickstart](https://docs.sodax.com/solana/quickstart.md).


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