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

# Conclusions

> Summary of the Soroswap guide: interface, adding liquidity, swapping tokens, removing liquidity, and where to go next.

In this guide, we have explored the key features and benefits of using Soroswap. Soroswap is a decentralized exchange (DEX) on Stellar that allows users to trade and provide liquidity for various tokens in a user-friendly and intuitive manner.

We walked through the flow on testnet, where you can experiment freely without risking real funds. The same interface and the same steps apply on mainnet, where Soroswap is live today.

Throughout this guide, we have covered the following topics:

1. **User-Friendly Interface:** Soroswap offers a user-friendly interface that makes it easy to navigate and interact with the platform. The intuitive design ensures a smooth experience for users.
2. **Adding Liquidity:** Users can contribute to the stability and efficiency of the Soroswap ecosystem by adding liquidity to the pools. This allows for efficient trading and transactions on the platform.
3. **Performing Swaps:** Soroswap enables users to exchange one token for another within the liquidity pool. This feature provides flexibility and diversification options for users.
4. **Removing Liquidity:** Users can manage their liquidity positions by removing liquidity from the pools. This allows users to effectively control their positions and receive tokens in return.

The testnet remains a valuable learning tool: it is a safe environment to rehearse a swap or a liquidity position, try a strategy, and get comfortable with the mechanics before you do the same thing with real funds.

## Where to go next

* **Use the live app:** head to [app.soroswap.finance](https://app.soroswap.finance), connect your wallet, and switch your wallet to Mainnet when you are ready to trade with real funds.
* **Build on top of Soroswap:** if you want to integrate swaps, quotes, or liquidity into your own product, start with the [Soroswap API](https://docs.soroswap.finance/index.md).

We hope this guide has given you a comprehensive overview of Soroswap. Now it's time for you to dive in, explore the platform, and experience the exciting world of decentralized finance. Happy trading!


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