# How to Buy on Uniswap

### Buying on Uniswap

Uniswap is a decentralized exchange that allows for users to swap one token for another. This is a popular way to buy tokens. The first step is to setup a ERC20 Wallet (like Metamask) and deposit tokens (WETH etc) into your ERC20 Wallet. Once you have tokens available in your wallet, you can connect to Uniswap and swap WETH for NIL Tokens.

![](https://1683309401-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FQfHhOQJ97REIVM30aTjm%2Fuploads%2FjWm7scJWQtun7PHDnt52%2FScreen%20Shot%202021-11-21%20at%209.05.38%20AM.png?alt=media\&token=5f9f46e5-aeae-497f-ae3b-41bd9513d7a1)

### How Uniswap Works

Uniswap allows anyone the ability to exchange one Ethereum token for another Ethereum token. This is powerful because it not only determines the value of each unique token but allows people to buy and sell their tokens easily with no middleman.

Without getting into the technical side and differences, it works very much like any exchange. You own one asset and want to trade it for another asset. So for example you can swap WETH for NIL.&#x20;

NIL ensures there is liquidity in the market to allow for people to buy and sell NIL on Uniswap.


---

# 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://doortoken.gitbook.io/nil-help/how-to-buy-sell-nil/how-to-buy-on-uniswap.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.
