> For the complete documentation index, see [llms.txt](https://brc-20-dex.gitbook.io/brc-20dex/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://brc-20-dex.gitbook.io/brc-20dex/2.1-decentralized-exchange.md).

# 2.1 Decentralized Exchange

1. <mark style="color:purple;">**Elimination of Centralized Control:**</mark> DEX remove the need for a central authority to hold user funds or facilitate trades. Instead, transactions are conducted directly between users through smart contracts and decentralized protocols. This eliminates the risk of hacking or manipulation by a single point of control.
2. <mark style="color:purple;">**User Ownership of Funds:**</mark> In a DEX, users have complete control and ownership of their funds. They retain control of their private keys and can securely manage their assets without relying on a centralized entity. This gives users the freedom to trade and manage their funds without the need for intermediaries.
3. <mark style="color:purple;">**Enhanced Security:**</mark> DEX leverage the security features of blockchain technology, such as cryptographic encryption and distributed consensus mechanisms, to ensure the integrity and safety of transactions. By eliminating the need to trust a centralized entity, DEX reduce the risk of hacking, fraud, or mismanagement of funds.
4. <mark style="color:purple;">**Transparency and Audibility:**</mark> All transactions on a DEX are recorded on a public blockchain, ensuring transparency and immutability. Users can verify transaction details and account balances, promoting trust and reducing the risk of manipulation or fraud.
5. <mark style="color:purple;">**Global Accessibility:**</mark> DEX provide equal access to users from all over the world. As long as users have an internet connection, they can participate in trading activities on a DEX, eliminating **geographical barriers and restrictions.**
6. <mark style="color:purple;">**Community Governance:**</mark> Many DEX implement community-driven governance mechanisms, where platform decisions are made through voting by token holders. This ensures a democratic and inclusive approach to platform governance, allowing users to actively participate in shaping the future of the exchange.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://brc-20-dex.gitbook.io/brc-20dex/2.1-decentralized-exchange.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
