mirror of
https://github.com/oceanprotocol/docs.git
synced 2024-11-26 19:49:26 +01:00
74 lines
2.7 KiB
Markdown
74 lines
2.7 KiB
Markdown
---
|
|
title: Swap and/or Stake Tokens
|
|
description:
|
|
---
|
|
|
|
## 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: Understanding the risks
|
|
|
|

|
|
|
|
### Step 2: Select amount of Ocean tokens or Datatokens to trade
|
|
|
|
Enter the amount of Ocean tokens you want to swap. The expected amount that the account will receive will be shown with the swap fees information. You can also swap datatokens to Ocean tokens here.
|
|
|
|

|
|
|
|
### Step 3: Transaction: Allow pool contract to access your Ocean tokens
|
|
|
|

|
|
|
|
### Step 4: Click swap button
|
|
|
|

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

|
|
|
|
### Viewing transaction
|
|
|
|

|
|
|
|
Click <a href="https://rinkeby.etherscan.io//tx/0x2f98479adafa93eedbdff8a90a41d760a42290c961dd6aa2b9e09170665adc23" target="_blank">here</a> to view a sample transaction on Rinkeby testnet.
|
|
|
|
## Staking (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: Understanding the risks
|
|
|
|

|
|
|
|
### Step 3: Enter amount of Ocean tokens to stake
|
|
|
|
Enter the amount of Ocean tokens you want to stake. The expected amount of pool shares and percentage of share for the entered amount will be displayed.
|
|
|
|

|
|
|
|
### Step 4: Transaction: Allow pool contract to access your Ocean tokens
|
|
|
|

|
|
|
|
### Step 5: Transaction: Add liquidty
|
|
|
|

|
|

|
|
|
|
### View transaction
|
|
|
|

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