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

> Reach the users and liquidity of every SODAX network from your Avalanche product through the C-Chain. No contracts to deploy: integrate over the HTTP API from any language, or the TypeScript SDK.

> [!NOTE]
>
> **No new contracts.** SODAX's Avalanche spoke contracts are already live; integrate over the HTTP API from any language, or in TypeScript with the SDK. Your users sign ordinary EVM transactions on the C-Chain, and SODAX coordinates cross-network execution, routing, and recovery behind the scenes.

You keep shipping on Avalanche. 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, against the C-Chain. 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).

## What to know on Avalanche

To the SDK, Avalanche is a standard EVM network. SODAX has no Avalanche-specific code path: the same wallet provider, approvals, and intent flow apply as on any other EVM network. Two scoping notes:

* **C-Chain only.** SODAX runs on the C-Chain (chain ID 43114), the EVM chain of Avalanche's Primary Network. AVAX held on the X-Chain or P-Chain is outside SODAX's reach until the user moves it to the C-Chain.
* **AVAX is the native token.** It pays gas, uses 18 decimals, and needs no approval. Every other Avalanche token in the SODAX list is an ERC-20 and needs an allowance before it is swapped or supplied.

## What you can build

Two SODAX modules are relevant to Avalanche builders:

> [card] [Swaps](https://docs.sodax.com/avalanche/swaps.md)
>
> Intent-based cross-network swaps. Users swap between AVAX or C-Chain tokens and assets on any supported network with one signed transaction on Avalanche. Solvers fill; SODAX routes and settles.

> [card] [Money Market](https://docs.sodax.com/avalanche/money-market.md)
>
> Cross-network lending and borrowing. Supply from Avalanche, borrow to Avalanche or any other supported network, and manage positions without running lending infrastructure.

## 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/avalanche/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/avalanche/wallets.md) |
| [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. It works 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. Full tool list and per-client setup at [builders.sodax.com](https://builders.sodax.com/).

## In this section

* [Quickstart](https://docs.sodax.com/avalanche/quickstart.md): install the SDK, connect an Avalanche wallet, make your first cross-network swap.
* [Swaps on Avalanche](https://docs.sodax.com/avalanche/swaps.md): approvals, quoting, fees, and execution.
* [Money Market on Avalanche](https://docs.sodax.com/avalanche/money-market.md): supply, borrow, repay, and withdraw with cross-network collateral.
* [Wallets](https://docs.sodax.com/avalanche/wallets.md): EVM wallets on Avalanche, and every other network's wallets through one interface.
* [Networks & Assets](https://docs.sodax.com/avalanche/networks-and-assets.md): what is live on Avalanche today and what your users can reach.
* [Avalanche FAQ](https://docs.sodax.com/avalanche/faq.md): the questions Avalanche engineers actually ask.

## Avalanche references

* [**Primary Network**](https://build.avax.network/docs/primary-network): the C-Chain, P-Chain, and X-Chain, with C-Chain chain ID and RPC details.
* [**C-Chain RPC**](https://build.avax.network/docs/rpcs/c-chain): the C-Chain JSON-RPC API.
* [**Avalanche Explorer**](https://explorer.avax.network/c-chain): the C-Chain explorer, for checking transactions and token balances.

***

Building something? Start with the [Quickstart](https://docs.sodax.com/avalanche/quickstart.md).


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