# ALEX Lab Docs

## Users

- [What is ALEX?](https://docs.alexlab.co/readme.md)
- [Connect Your Wallet](https://docs.alexlab.co/getting-started/how-to-connect-your-wallet.md): Follow these steps to connect your wallet to ALEX Lab.
- [Join the Community](https://docs.alexlab.co/getting-started/join-the-community.md)
- [Buy ALEX Tokens](https://docs.alexlab.co/getting-started/how-to-buy-alex-tokens.md): Follow these steps to buy ALEX tokens!
- [Bitcoin Swaps](https://docs.alexlab.co/what-can-you-do/bitcoin-swaps.md)
- [Key Concepts](https://docs.alexlab.co/what-can-you-do/bitcoin-swaps/key-concepts.md): Learn the key terms involved in swap operations.
- [How to Swap](https://docs.alexlab.co/what-can-you-do/bitcoin-swaps/how-to.md): This guide will showcase how to swap two tokens on ALEX Lab App.
- [FAQs](https://docs.alexlab.co/what-can-you-do/bitcoin-swaps/faqs.md): Common questions you may have when dealing with the Bitcoin Native Swap.
- [Stacks Swaps](https://docs.alexlab.co/what-can-you-do/stacks-swaps.md): Use the ALEX decentralized exchange (DEX) for trustless swaps.
- [Key Concepts](https://docs.alexlab.co/what-can-you-do/stacks-swaps/key-concepts.md): Learn the key terms involved in swap operations.
- [How to Swap](https://docs.alexlab.co/what-can-you-do/stacks-swaps/how-to.md): This guide will showcase how to swap two tokens on ALEX Lab App.
- [FAQs](https://docs.alexlab.co/what-can-you-do/stacks-swaps/faqs.md): Common questions that may arise when trading tokens.
- [Liquidity Pools](https://docs.alexlab.co/what-can-you-do/liquidity-pools.md): Participate in ALEX DEX liquidity pools and earn a share of the trading fees!
- [Key Concepts](https://docs.alexlab.co/what-can-you-do/liquidity-pools/key-concepts.md): Learn the basics of liquidity pools and providers, their role in DEXs and AMMs, and their function within the ALEX decentralized exchange.
- [How to Add Liquidity](https://docs.alexlab.co/what-can-you-do/liquidity-pools/how-to-add.md): In this guide, you'll find the required steps to provide liquidity to ALEX DEX pools.
- [How to Remove Liquidity](https://docs.alexlab.co/what-can-you-do/liquidity-pools/how-to-remove.md): In this guide, you'll find the required steps to withdraw liquidity from ALEX DEX pools.
- [FAQs](https://docs.alexlab.co/what-can-you-do/liquidity-pools/faqs.md): Common questions you might have as a liquidity provider or pool creator.
- [Farming](https://docs.alexlab.co/what-can-you-do/farming.md): Stake your LP tokens and maximize your rewards!
- [Key Concepts](https://docs.alexlab.co/what-can-you-do/farming/key-concepts.md): All you need to know for successfully farming on ALEX Lab, from farm basics to dashboard metrics!
- [How to Farm](https://docs.alexlab.co/what-can-you-do/farming/how-to-farm.md): Step-by-step guides to learn how to stake LP tokens into a farm, harvest rewards and remove LP tokens from the farm.
- [How to Harvest](https://docs.alexlab.co/what-can-you-do/farming/how-to-harvest.md)
- [FAQs](https://docs.alexlab.co/what-can-you-do/farming/faqs.md): Common questions you may have when dealing with farms.
- [Stake](https://docs.alexlab.co/what-can-you-do/staking.md): Stake your ALEX tokens and start earning rewards!
- [Key Concepts](https://docs.alexlab.co/what-can-you-do/staking/key-concepts.md)
- [How to Stake](https://docs.alexlab.co/what-can-you-do/staking/how-to-stake.md)
- [How to Harvest](https://docs.alexlab.co/what-can-you-do/staking/how-to-harvest.md)
- [How to Liquid Stake](https://docs.alexlab.co/what-can-you-do/staking/how-to-liquid-stake.md)
- [FAQs](https://docs.alexlab.co/what-can-you-do/staking/faqs.md)
- [Launchpad](https://docs.alexlab.co/what-can-you-do/launchpad.md)
- [Join the ALEX Launchpad!](https://docs.alexlab.co/what-can-you-do/launchpad/join-the-alex-launchpad.md): If you are looking to launch your projects on the Bitcoin ecosystem, there's no better place to launch than on the ALEX Launchpad—powered by the ALEX community!
- [Surge](https://docs.alexlab.co/what-can-you-do/surge.md): Participate in ALEX Surge and earn rewards by providing liquidity!
- [Key concepts](https://docs.alexlab.co/what-can-you-do/surge/key-concepts.md): Understand the essential concepts behind ALEX Surge, including LP tokens, voting mechanisms, and reward structures.
- [How to participate](https://docs.alexlab.co/what-can-you-do/surge/how-to.md): A step-by-step guide on how to participate in ALEX Surge and earn rewards.
- [FAQs](https://docs.alexlab.co/what-can-you-do/surge/faqs.md): Common questions you may have when participating in ALEX Surge.
- [Create Your Own Pool](https://docs.alexlab.co/what-can-you-do-as-a-project-owner/self-service-listing.md): Create your own pool and make your token tradeable on ALEX decentralized exchange in simple steps!
- [Add Farming to Your Pool](https://docs.alexlab.co/what-can-you-do-as-a-project-owner/self-service-farming.md): Add the farming feature to your pool and reward LPs with an additional yield!
- [Tokenomics](https://docs.alexlab.co/helpful-concepts/tokenomics.md)
- [Official Links](https://docs.alexlab.co/resources/official-links.md): All official links are available here for your reference to prevent you from falling into phishing websites impersonating ALEX.

## Developers

- [Overview](https://docs.alexlab.co/developers/introduction/readme.md)
- [AMM](https://docs.alexlab.co/developers/products/alexs-automated-market-maker-amm.md)
- [Trading Pool v1](https://docs.alexlab.co/developers/products/alexs-automated-market-maker-amm/trading-pool.md)
- [Trading Pool v2](https://docs.alexlab.co/developers/products/alexs-automated-market-maker-amm/trading-pool-v2.md)
- [DAMM](https://docs.alexlab.co/developers/products/amm-v3.md): ALEX AMM v3, also known as the Discrete Automated Market Maker (DAMM), is coming soon!
- [Orderbook](https://docs.alexlab.co/developers/products/what-is-orderbook.md)
- [Understanding the Orderbook](https://docs.alexlab.co/developers/products/what-is-orderbook/understanding-the-orderbook.md)
- [Launchpad](https://docs.alexlab.co/developers/products/what-is-the-launchpad.md)
- [Stacks](https://docs.alexlab.co/developers/alex-contracts/protocol-contracts.md): ALEX DAO - Comprehensive Technical Design Overview
- [amm-pool-v2-01.clar](https://docs.alexlab.co/developers/alex-contracts/protocol-contracts/amm-pool-v2-01.clar.md)
- [amm-registry-v2-01.clar](https://docs.alexlab.co/developers/alex-contracts/protocol-contracts/amm-registry-v2-01.clar.md)
- [amm-vault-v2-01.clar](https://docs.alexlab.co/developers/alex-contracts/protocol-contracts/amm-vault-v2-01.clar.md)
- [farming-campaign-v2-02.clar](https://docs.alexlab.co/developers/alex-contracts/protocol-contracts/farming-campaign-v2-02.clar.md)
- [amm-pool-v3.clar](https://docs.alexlab.co/developers/alex-contracts/protocol-contracts/amm-pool-v3.clar.md)
- [self-listing-helper-v3a.clar](https://docs.alexlab.co/developers/alex-contracts/protocol-contracts/self-listing-helper-v3a.clar.md)
- [ALEX DAO](https://docs.alexlab.co/developers/alex-contracts/alex-dao.md)
- [Security Audits](https://docs.alexlab.co/developers/alex-contracts/security-audit.md)
- [REST API](https://docs.alexlab.co/developers/integrations/api-references.md)
- [Networks](https://docs.alexlab.co/developers/integrations/networks.md): Stacks networks environments and deployed addresses
- [Mainnet](https://docs.alexlab.co/developers/integrations/networks/mainnet.md)
- [Testnet](https://docs.alexlab.co/developers/integrations/networks/testnet.md)
- [Whitepapers](https://docs.alexlab.co/developers/resources/whitepaper.md)
- [Automated Market Making of Trading Pool](https://docs.alexlab.co/developers/resources/whitepaper/automated-market-making-of-alex.md)
- [Automated Market Making of Yield Token Pool](https://docs.alexlab.co/developers/resources/whitepaper/automated-market-making-of-alex-1.md)
- [Automated Market Making of Collateral Rebalancing Pool](https://docs.alexlab.co/developers/resources/whitepaper/automated-market-making-of-collateral-rebalancing-pool.md)
- [Dive Into Collateral Rebalancing Pool!](https://docs.alexlab.co/developers/resources/whitepaper/dive-into-collateral-rebalancing-pool.md)
- [Bug Bounties](https://docs.alexlab.co/developers/resources/bug-bounty.md)


---

# Agent Instructions: Querying This Documentation

If you need additional information, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on a page URL with the `ask` query parameter:

```
GET https://docs.alexlab.co/readme.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
