> For the complete documentation index, see [llms.txt](https://docs.beamswap.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.beamswap.io/getting-started/how-to-swap-tokens.md).

# Legacy: How to swap tokens?

Historical Moonbeam documentation. See the current Base guide for active products.

{% hint style="warning" %}
Historical Moonbeam documentation. This page describes the previous Beamswap product and may contain retired features, outdated addresses or old prices. It is preserved for reference. It does not describe the current Base contracts or audit them. Start with the [current Base guide](https://docs.beamswap.io/getting-started).
{% endhint %}

{% hint style="warning" %}
Make sure your MetaMask wallet is connected to the Moonbeam network!
{% endhint %}

## Step 1

Click [here ](https://app.beamswap.io/exchange/swap)to go to the swap page

Or visit: <https://app.beamswap.io/exchange/swap>

## Step 2

First, you need to connect your MetaMask wallet. Refer to the guide below:

{% embed url="<https://docs.beamswap.io/getting-started/how-to-connect-the-dapp-to-your-wallet>" %}

## Step 3

First, select the token you want to buy, as shown below.

<figure><img src="https://4237212995-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9tC9qDROHxBdPo4ntPQ5%2Fuploads%2FXkES5hl0TYsX5FRIAbOo%2Fimage.png?alt=media&#x26;token=c85ff4c9-5310-4073-9322-57949d08a9b9" alt=""><figcaption></figcaption></figure>

## Step 4

Next, select the token that you want to exchange, as shown below.

<figure><img src="https://4237212995-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9tC9qDROHxBdPo4ntPQ5%2Fuploads%2FiL2Y6Prw32aMDbIy0JQ5%2Fimage.png?alt=media&#x26;token=38d89e74-bb26-4e40-b20d-7d85da3bcc99" alt=""><figcaption></figcaption></figure>

## Step 5

Next, enter the amount of tokens you want to buy and click on **Approve**.

<figure><img src="https://4237212995-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9tC9qDROHxBdPo4ntPQ5%2Fuploads%2F1uMlvByfqhtlPBdKwD8R%2Fimage.png?alt=media&#x26;token=5bbb734f-ea8a-41d5-9146-4584c7f806d6" alt=""><figcaption></figcaption></figure>

## Step 6

The MetaMask pop-up will appear. Click on **Confirm** to proceed.

<figure><img src="https://4237212995-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9tC9qDROHxBdPo4ntPQ5%2Fuploads%2FRRw6FsWgENMyt3W1d8HZ%2Fimage.png?alt=media&#x26;token=b3bf2e15-33db-4154-96bf-9e7bf1408ef2" alt=""><figcaption></figcaption></figure>

## Step 7

Next, click on Confirm

<figure><img src="https://4237212995-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9tC9qDROHxBdPo4ntPQ5%2Fuploads%2FLD9JbqUeBQ6sRGW5qfoZ%2Fimage.png?alt=media&#x26;token=ebc2e833-82e2-4589-b907-6018bd0b13cd" alt=""><figcaption></figcaption></figure>

## Step 8

Now just wait for the transaction to complete and you're done!

<figure><img src="https://4237212995-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9tC9qDROHxBdPo4ntPQ5%2Fuploads%2Fk7B16oOPNpp8Ws7clkar%2Fimage.png?alt=media&#x26;token=a344cd70-cc4c-4067-87ac-1aa4fab83a90" alt=""><figcaption></figcaption></figure>

The Beamswap decentralized exchange (DEX) is the core product of the Beamswap platform.

Powered by an Automated Market Maker (AMM) protocol, it allows you to exchange assets directly with other Beamswap users in a completely decentralized way, bypassing intermediaries.

<figure><img src="https://4237212995-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9tC9qDROHxBdPo4ntPQ5%2Fuploads%2Ftiuz5aTODxvu3JtCKJeU%2Fbeamswap-dex.PNG?alt=media&#x26;token=810007aa-b783-45ba-b1ac-3e7f073cce28" alt=""><figcaption></figcaption></figure>
