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

> ## Agent Instructions
> Soroswap Aggregator API: base URL https://api.soroswap.finance, pick the network with ?network=mainnet or ?network=testnet (omitted means mainnet).
> Auth: Authorization: Bearer sk_... on every call. Get a key at https://console.soroswap.finance/register. A missing or invalid key returns 401 with code and registerUrl (POST /send returns 403 instead); an expired JWT or a missing role returns 403. Free plan 1 request/s; see https://docs.soroswap.finance/api/plans.md.
> Flow: POST /quote (assetIn, assetOut as C... contract addresses, amount as an integer string in the smallest unit, tradeType, protocols) -> POST /quote/build with the unchanged quote and from -> the user signs the XDR -> POST /send. Build right after quoting: a Soroban XDR is valid for 180 seconds. Submit it as is, never re-simulate it.
> Partner id: every account has one (9 hex chars, permanent). Read partnerId from GET /partner, or in the console at https://console.soroswap.finance under Fees & payouts. The partner fee itself is switched on by Soroswap; see https://docs.soroswap.finance/api/fees.md.
> AI tools: docs MCP at https://docs.soroswap.finance/mcp (claude mcp add --transport http soroswap-docs https://docs.soroswap.finance/mcp), skill with npx skills add https://docs.soroswap.finance. Other clients: https://docs.soroswap.finance/api/build-with-ai.md.
> Units and Stellar pitfalls: https://docs.soroswap.finance/api/stellar-gotchas.md. Errors and retries: https://docs.soroswap.finance/api/errors.md.

# Tutorials

> Step-by-step walkthroughs of the Soroswap app: wallet setup, swapping, providing liquidity and working with Stellar Classic assets.

Hands-on walkthroughs of the Soroswap interface, in the order most people need them.

> [card] [Soroswap Testnet Overview](https://docs.soroswap.finance/tutorials/soroswap-testnet-overview.md)
>
> What the testnet is for and how to get funded before you start.

> [card] [Installing Freighter](https://docs.soroswap.finance/tutorials/installing-freighter.md)
>
> Set up the browser wallet and point it at the right network.

> [card] [Soroswap Sections](https://docs.soroswap.finance/tutorials/soroswap-sections.md)
>
> A tour of the app: swap, liquidity, balances.

> [card] [Adding Liquidity](https://docs.soroswap.finance/tutorials/adding-liquidity.md)
>
> Deposit a token pair and receive pool tokens.

> [card] [Doing a Swap](https://docs.soroswap.finance/tutorials/doing-swap.md)
>
> Execute your first trade, end to end.

> [card] [Removing Liquidity](https://docs.soroswap.finance/tutorials/remove-liquidity.md)
>
> Redeem pool tokens for your share of the pair.

> [card] [Stellar Classic Assets](https://docs.soroswap.finance/tutorials/stellar-classic-assets)
>
> Wrap, swap and test Stellar Classic assets on Soroban.


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