1
0
mirror of https://github.com/oceanprotocol/docs.git synced 2024-06-29 00:58:02 +02:00

Devided "Swap" and "Add liquidity" tutorials and minor wording changes

This commit is contained in:
Ana Loznianu 2022-04-15 12:38:16 +03:00
parent c96229be6a
commit 2ed7930d05
6 changed files with 112 additions and 84 deletions

View File

@ -0,0 +1,54 @@
---
title: Add liquidity to liquidity pools
description: Tutorial to add liquidity to Ocean pools using Ocean Market
---
## Access marketplace
1. Go to Ocean <a href="https://v4.market.oceanprotocol.com/" target="_blank">Marketplace</a>.
2. Search for the data asset.
The Ocean Marketplace provides features to search the Data/Algorithms by text, and users can also sort the result by published date.
3. Connect wallet.
![connect wallet](images/marketplace/consume-connect-wallet.png 'Connect wallet')
## Tutorial
### Find an asset
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`**.
![staking part-1](images/marketplace/Staking-1.png 'POOL tab')
### Step 2 - Associated risks
Read carefully the risks associated with this operation.
![staking part-2](images/marketplace/Staking-2.png 'Associated risks')
### Step 3 - 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.
![staking part-3](images/marketplace/Staking-3.png 'Add liquidity amount')
### Step 4 - Transaction: Access to OCEAN tokens
![staking part-4](images/marketplace/Staking-4.png 'Transaction: Approve spend limit')
### Step 5 - Click supply
![staking part-5](images/marketplace/Staking-5.png 'SUPPLY liquidity')
### Step 6 - Transaction: Add liquidty
![staking part-6](images/marketplace/Staking-6.png 'Transaction: Add liquidity')
![staking part-7](images/marketplace/Staking-7.png 'View transaction')
Click <a href="https://rinkeby.etherscan.io//tx/0x719b8627e5deb51af21184db7c6747bf5141782ba3e8fe5358f5a15ba67b594b" target="_blank">here</a> to view a sample transaction on the Rinkeby test network.

View File

@ -1,9 +1,9 @@
---
title: Download data asset
title: Download a data asset
description: Tutorial to download assets using Ocean Market
---
## Accessing marketplace
## Access marketplace
1. Go to Ocean <a href="https://v4.market.oceanprotocol.com/" target="_blank">Marketplace</a>.
2. Search for the data asset.

View File

@ -1,5 +1,5 @@
---
title: Publish a Data asset on Ocean Marketplace.
title: Publish a data asset
description: Tutorial to publish assets using the Ocean Market
---
@ -9,7 +9,7 @@ Ocean Market provides a convenient interface for individuals and organizations t
## Tutorial
### Connecting wallet and navigating to the publish page
### Connect wallet and navigate to the publish page
1. Go to <a href="https://v4.market.oceanprotocol.com " target="_blank">Ocean Market</a>

View File

@ -1,76 +0,0 @@
---
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.
![swap part-1](images/marketplace/Swap-1.png 'Associated risks')
### 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.
![swap part-2](images/marketplace/Swap-2.png 'Amount of OCEANs to swap')
### Step 3 - Transaction: Access to OCEAN token(s)
![swap part-3](images/marketplace/Swap-3.png 'Transaction: Approve spend limit')
### Step 4 - Click swap
![swap part-4](images/marketplace/Swap-4.png 'Swap tokens')
### Step 5 - Transaction: Swap tokens
![swap part-5](images/marketplace/Swap-5.png 'Transaction: Swap tokens')
![swap part-6](images/marketplace/Swap-6.png 'View transaction')
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`**
![staking part-1](images/marketplace/Staking-1.png 'POOL tab')
### Step 2 - Associated risks
Please read carefully the risks associated with this operation.
![staking part-2](images/marketplace/Staking-2.png 'Associated risks')
### 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.
![staking part-3](images/marketplace/Staking-3.png 'Add liquidity amount')
### Step 4 - Transaction: Access to OCEAN tokens
![staking part-4](images/marketplace/Staking-4.png 'Transaction: Approve spend limit')
### Step 5 - Click supply
![staking part-5](images/marketplace/Staking-5.png 'SUPPLY liquidity')
### Step 6 - Transaction: Add liquidty
![staking part-6](images/marketplace/Staking-6.png 'Transaction: Add liquidity')
![staking part-7](images/marketplace/Staking-7.png 'View transaction')
Click <a href="https://rinkeby.etherscan.io//tx/0x719b8627e5deb51af21184db7c6747bf5141782ba3e8fe5358f5a15ba67b594b" target="_blank">here</a> to view a sample transaction on the Rinkeby test network.

View File

@ -0,0 +1,48 @@
---
title: Swap datatokens
description: Tutorial to swap datatokens for OCEAN tokens using Ocean Market
---
## Access marketplace
1. Go to Ocean <a href="https://v4.market.oceanprotocol.com/" target="_blank">Marketplace</a>.
2. Search for the data asset.
The Ocean Marketplace provides features to search the Data/Algorithms by text, and users can also sort the result by published date.
3. Connect wallet.
![connect wallet](images/marketplace/consume-connect-wallet.png 'Connect wallet')
## Tutorial
### Step 1 - Select TRADE tab
After finding the dataset, select the **`TRADE`** tab.
### Step 2 - Associated risks
Read carefully the risks associated with this operation.
![swap part-1](images/marketplace/Swap-1.png 'Associated risks')
### Step 3 - 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.
![swap part-2](images/marketplace/Swap-2.png 'Amount of OCEANs to swap')
### Step 4 - Transaction: Access to OCEAN token(s)
![swap part-3](images/marketplace/Swap-3.png 'Transaction: Approve spend limit')
### Step 5 - Click swap
![swap part-4](images/marketplace/Swap-4.png 'Swap tokens')
### Step 6 - Transaction: Swap tokens
![swap part-5](images/marketplace/Swap-5.png 'Transaction: Swap tokens')
![swap part-6](images/marketplace/Swap-6.png 'View transaction')
Click <a href="https://rinkeby.etherscan.io//tx/0x2f98479adafa93eedbdff8a90a41d760a42290c961dd6aa2b9e09170665adc23" target="_blank">here</a> to view a sample transaction on the Rinkeby test network.

View File

@ -16,12 +16,14 @@
items:
- title: Introduction
link: /tutorials/marketplace-introduction/
- title: Publishing data asset
- title: Publish
link: /tutorials/marketplace-publish-data-asset/
- title: Download data asset
- title: Download
link: /tutorials/marketplace-download-data-asset/
- title: Swap & Add liquidity
link: /tutorials/marketplace-swap-and-stake/
- title: Swap
link: /tutorials/marketplace-swap/
- title: Add liquidity
link: /tutorials/marketplace-add-liquidity/
- group: Bridges
items: