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

# Money Market

> Supply and borrow across networks through one money market on the Sonic hub — SDK today, HTTP API coming.

Supply collateral from any spoke network and borrow against it. The money market itself lives on the Sonic hub.

Start with the [supply example](https://docs.sodax.com/developers/packages/foundation/sdk/functional-modules/money_market.md#supply-tokens), including its allowance check, then follow [borrowing](https://docs.sodax.com/developers/packages/foundation/sdk/functional-modules/money_market.md#borrow-tokens) if your app needs it.
For failures, use the [money-market error reference](https://docs.sodax.com/developers/packages/foundation/sdk/functional-modules/money_market.md#error-handling).

## Integration reference

> [card] [SDK method reference](https://docs.sodax.com/developers/packages/foundation/sdk/functional-modules/money_market.md)
>
> `@sodax/sdk` — supply, borrow, withdraw, repay, and reserve data.

> [card] [HTTP API](https://docs.sodax.com/developers/http-api.md)
>
> Reserve and position reads exist. No write API yet — supply and borrow through the SDK.

### Next steps

> [card] [Solana money market](https://docs.sodax.com/solana/money-market.md)
>
> Solana-specific lend / borrow flows.

> [card] [React frontend](https://docs.sodax.com/developers/packages/experience/dapp-kit.md)
>
> `@sodax/dapp-kit` hooks with wallet wiring included.

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


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