> For the complete documentation index, see [llms.txt](https://docs.aqua.network/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.aqua.network/developers/code-examples.md).

# Code examples

All code examples are fully functional and provided in both Python and JavaScript, ready for you to copy and paste into your local environment.

{% hint style="success" %}
New to Aquarius? The [Quickstart](/developers/quickstart.md) runs a complete swap on testnet in five minutes before you dive into the details here.
{% endhint %}

## Suggested reading order

1. [Deposit liquidity](/developers/code-examples/deposit-liquidity.md) → [Withdraw liquidity](/developers/code-examples/withdraw-liquidity.md) → [Claim LP rewards](/developers/code-examples/claim-lp-rewards.md) — the liquidity-provider lifecycle, on the [official SDKs](/developers/integrating-with-aquarius.md#official-sdks).
2. [Get pools info](/developers/code-examples/get-pools-info.md) — pools, reserves, and positions, no signer required.
3. [Executing swaps through optimal path](/developers/code-examples/executing-swaps-through-optimal-path.md) — the raw swap flow via the Find Path API and the router, step by step, for any language. [Prerequisites & basics](/developers/code-examples/prerequisites-and-basics.md) collects the constants and helpers it relies on.
4. [Executing swaps through specific pool](/developers/code-examples/executing-swaps-through-specific-pool.md) — swapping against one known pool, without the path-finding API.
5. [Add fees to swap](/developers/code-examples/add-fees-to-swap.md) — monetizing your integration with provider fees.

Looking for concentrated liquidity? Position management examples live in the dedicated [Concentrated liquidity](/developers/concentrated-liquidity.md) section.

{% hint style="info" %}
If you don't have a local execution environment, platforms like Replit work for testing — use a throwaway key holding minimal funds, never a real one.
{% endhint %}
