# How to Swap

## Connect wallet

At the moment, for all supported networks, user can connect to Baryon Network via Coin98 and Metamask. Especially for Ancient8 network, user can connect Ancient8 wallet.

Section below will first guide user on how to download and create wallet on Coin98 Wallet.

### How to download Coin98 **Extension**

Coin98 Extension is now supported on Google Chrome. If you are a new user, you could install Extension directly on your computer:

{% hint style="info" %}
[Installation instructions on Google Chrome](https://www.google.com/url?q=https://chrome.google.com/webstore/detail/coin98-wallet/aeachknmefphepccionboohckonoeemg\&sa=D\&source=editors\&ust=1658852341498351\&usg=AOvVaw36wkrVMTzCzvyLNmP7xkNU)
{% endhint %}

### Create a Multi-Chain Wallet

Because BaryonSwap is an AMM on Multi-Chain, you must own a Multi-Chain Wallet to use the platform.

After Coin98 is downloaded or updated, you can follow the instructions below to create a Multi-Chain Wallet or restore wallets from other platforms to Coin98 Wallet:

{% hint style="info" %}

* [How to create a Multi-chain Wallet](https://www.google.com/url?q=https://docs.coin98.com/products/coin98-super-app/mobile/beginners-guide/how-to-create-a-multi-chain-wallet\&sa=D\&source=editors\&ust=1658852341499693\&usg=AOvVaw2aIVyB15OUgcFRtrQYO22c)
* [​How to import old Wallets to Coin98](https://www.google.com/url?q=https://docs.coin98.com/products/coin98-super-app/switch-to-coin98-wallet\&sa=D\&source=editors\&ust=1658852341500518\&usg=AOvVaw1ExKiFFIdexxsuYks1PbjC)
  {% endhint %}

### Appropriate gas fee for each network

Baryon uses gas fees in the form of tokens specific to each network, so you have to have the tokens corresponding to the network in order to make transactions on Baryon.

{% hint style="success" %}
Now everything is ready, let’s start!
{% endhint %}

## How to swap

**Step 1:** Access BaryonSwap: <https://www.baryon.network/swap>

Choose **Connect Wallet** at the top right corner → choose Coin98 from the wallet list.

Coin98 Extension will automatically connect to the corresponding Multi-Chain Wallet.

![](https://lh6.googleusercontent.com/HIn50A61mfirNTLfJjgK32pARlVq25Tk1mjzz5ug1jotTbkUpgC-DJ_BJ98qmVm1lw7NN65IwT-ZwIxuh6ZpWe8m9TOgJxg9aaskA81taKVo6hC5h6wJ1LpTufAcdR3gm6q-1tiE)

**Step 2:** Select the token you want to trade from the list. Adjust the amount you would like to trade. Choose **Approve C98 (for the first time).**

In this tutorial, the **C98** - **INS** pair will be used for example.

{% hint style="warning" %}
The system will ask users to pay **a network fee** to approve the token. Users need to prepare enough fees for this step.
{% endhint %}

![](https://1786158701-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5uhLcyGCQlnjfHxzK8rZ%2Fuploads%2F1EhFF37pCqOwPcgATe21%2Fbaryon-swap-approve.png?alt=media\&token=60d3ad3d-9db0-4ef0-baa8-bdd9712bfb82) ![](https://1786158701-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5uhLcyGCQlnjfHxzK8rZ%2Fuploads%2FuMPvLh2G53C0CtKsEuGY%2Fbaryon-swap-approve-confirm.png?alt=media\&token=c3eff39a-d514-4169-9071-0bbad3d238c6)

{% hint style="info" %}
**Note**: You can adjust the slippage tolerance level by clicking the gear symbol in the upper right corner of the screen. In this case, the default Slippage is set at 0.5%
{% endhint %}

![](https://1786158701-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5uhLcyGCQlnjfHxzK8rZ%2Fuploads%2FqCrcsIRLc5GbSP0OPpyy%2FScreen%20Shot%202022-04-04%20at%2016.40.28.png?alt=media\&token=6841c8c3-70c6-49f6-9e49-8f3bc0c28252) ![](https://1786158701-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5uhLcyGCQlnjfHxzK8rZ%2Fuploads%2FqknI3FJaHjNntoQblBqo%2FScreen%20Shot%202022-04-04%20at%2016.38.15.png?alt=media\&token=d3c41973-9a0b-472a-b889-7ccefb4d6739)

**Step 4**: After approving successfully, click **Swap**, then choose **Confirm.**

{% hint style="warning" %}

* You need to carefully read the information displayed before trading such as **the amount that you expect to receive**, **price impact** (the difference between the market price and the estimated price provided by BaryonSwap).
  {% endhint %}

![](https://1786158701-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5uhLcyGCQlnjfHxzK8rZ%2Fuploads%2FmMM3y5VYFKzWIyfTXG0M%2Fbaryon-swap-amount-confirm.png?alt=media\&token=3a93f768-1185-40bb-a117-9396d9e8efff)

**Step 5:** Wait a few minutes for the system to process. After processing successfully, the system will display a notification.

{% hint style="info" %}
You can view all information about the transaction by clicking “View Transaction”.
{% endhint %}

![](https://1786158701-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5uhLcyGCQlnjfHxzK8rZ%2Fuploads%2F94bRRXvrUFbXjHXX88me%2FScreen%20Shot%202022-04-04%20at%2016.44.40.png?alt=media\&token=9d5af5c1-3c06-453c-903f-22be8791034e)


---

# 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://docs.baryon.network/product/baryonswap/how-to-swap.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.
