mirror of
https://github.com/oceanprotocol/docs.git
synced 2024-11-26 19:49:26 +01:00
77 lines
2.7 KiB
Markdown
77 lines
2.7 KiB
Markdown
---
|
|
title: Swap and/or Add liquidity
|
|
description: Tutorial to swap datatokens, and add liquidity to Ocean pools
|
|
---
|
|
|
|
## Swap OCEAN tokens against datatokens
|
|
|
|
### Finding an asset
|
|
|
|
Search for the desired asset published on the <a href="https://v4.market.oceanprotocol.com/" target="_blank">Ocean Marketplace</a>.
|
|
|
|
### Step 1 - Associated risks
|
|
|
|
Please read carefully the risks associated with this operation.
|
|
|
|

|
|
|
|
### Step 2 - Trade amount
|
|
|
|
Enter the amount of OCEAN tokens to swap. The datatokens amount to receive is displayed with the swap fees information. The reverse operation(swap datatokens to OCEAN tokens) is also available on the trade tab.
|
|
|
|

|
|
|
|
### Step 3 - Transaction: Access to OCEAN token(s)
|
|
|
|

|
|
|
|
### Step 4 - Click swap
|
|
|
|

|
|
|
|
### Step 5 - Transaction: Swap tokens
|
|
|
|

|
|
|
|

|
|
|
|
Click <a href="https://rinkeby.etherscan.io//tx/0x2f98479adafa93eedbdff8a90a41d760a42290c961dd6aa2b9e09170665adc23" target="_blank">here</a> to view a sample transaction on the Rinkeby test network.
|
|
|
|
## Adding Liquidity
|
|
|
|
Search for the desired asset published on the <a href="https://v4.market.oceanprotocol.com/" target="_blank">Ocean Marketplace</a>.
|
|
|
|
### Step 1 - Select pool tab
|
|
|
|
After finding the dataset, select **`POOL`** tab and click on **`ADD LIQUIDITY`**
|
|
|
|

|
|
|
|
### Step 2 - Associated risks
|
|
|
|
Please read carefully the risks associated with this operation.
|
|
|
|

|
|
|
|
### Step 3 - Add liquidity amount
|
|
|
|
Enter the amount of OCEAN tokens you want to add. The expected amount of pool shares and percentages for the provided amount will be displayed.
|
|
|
|

|
|
|
|
### Step 4 - Transaction: Access to OCEAN tokens
|
|
|
|

|
|
|
|
### Step 5 - Click supply
|
|
|
|

|
|
|
|
### Step 6 - Transaction: Add liquidty
|
|
|
|

|
|
|
|

|
|
|
|
Click <a href="https://rinkeby.etherscan.io//tx/0x719b8627e5deb51af21184db7c6747bf5141782ba3e8fe5358f5a15ba67b594b" target="_blank">here</a> to view a sample transaction on the Rinkeby test network.
|