# The Counterparty DEX

The Counterparty protocol (XCP), which runs on top of the bitcoin blockchain, has been chugging away since 2014. Besides the fact that XCP actually accomplishes what it promises, flawlessly, it’s native DEX has been picking up significant volume.

The Counterparty DEX is an extraordinarily easy to use venue where Rare Pepe traders can establish a mutually agreed upon value for each Rare Pepe card, priced in XCP under free market conditions.

Counterparty is a bona fide decentralized exchange. Anyone can sell assets without anyone’s permission and have the BTC (or some other Counterparty token) get automatically sent to a personal wallet after each transaction is settled on the main chain.

If you want to buy 0.5 XCP with your BTC to name your brand new NFT or issue dividends to your existing NFT holders, then you go to a dispenser and search for the user offering the most advantageous deal.


---

# Agent Instructions: 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:

```
GET https://wiki.pepe.wtf/chapter-3-blockchain-counterparty-how-to/counterparty-what-is-it/the-counterparty-dex.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.
