mirror of
https://github.com/oceanprotocol/docs.git
synced 2024-11-26 19:49:26 +01:00
Updated download, stake&swap tutorials
This commit is contained in:
parent
9dd2740b72
commit
f77f45cf01
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: Download data asset
|
||||
description: A tutorial to download an asset using Ocean Market
|
||||
description: Tutorial to download assets using Ocean Market
|
||||
---
|
||||
|
||||
## Accessing marketplace
|
||||
@ -9,35 +9,35 @@ description: A tutorial to download an asset using Ocean Market
|
||||
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.
|
||||
|
||||
In this tutorial, we will be consuming <a href="https://v4.market.oceanprotocol.com/asset/did:op:63920bb64ad1e79bed73214e5fd574fc68c0977cdba5b7031aa98a3a83e28197" target="_blank">this</a> dataset.
|
||||
In this tutorial, we will consume <a href="https://v4.market.oceanprotocol.com/asset/did:op:63920bb64ad1e79bed73214e5fd574fc68c0977cdba5b7031aa98a3a83e28197" target="_blank">this</a> dataset.
|
||||
|
||||
3. Connect wallet.
|
||||
|
||||
![connect wallet](images/marketplace/consume-connect-wallet.png 'Connect wallet')
|
||||
|
||||
In this tutorial, we will be using Rinkeby testnet.
|
||||
In this tutorial, we will be using the Rinkeby test network.
|
||||
|
||||
## Tutorial
|
||||
|
||||
### Step 1: Click on the buy button
|
||||
### Step 1 - Click buy
|
||||
|
||||
The buy button will be enabled only if the wallet address has enough Ocean tokens to exchange them with 1 datatoken.
|
||||
The buy button is enabled only if the connected wallet address has enough OCEAN tokens to exchange them with 1 datatoken.
|
||||
|
||||
![consume part-1](images/marketplace/consume-1.png 'Buy')
|
||||
|
||||
### Step 2: Allow access to Ocean token(s)
|
||||
### Step 2 - Allow access to OCEAN token(s)
|
||||
|
||||
![consume part-3](images/marketplace/consume-2.png 'Transaction 1: Allow pool to access Ocean tokens')
|
||||
![consume part-3](images/marketplace/consume-2.png 'Transaction 1: Permissions to access OCEAN tokens')
|
||||
|
||||
### Step 3: Buy a datatoken by exchanging it with Ocean token(s)
|
||||
### Step 3 - Buy a datatoken by exchanging it with OCEAN token(s)
|
||||
|
||||
![consume part-4](images/marketplace/consume-3.png 'Transaction 1: Buy datatoken')
|
||||
![consume part-4](images/marketplace/consume-3.png 'Transaction 2: Buy datatoken')
|
||||
|
||||
### Step 4: Click on the download button
|
||||
### Step 4 - Click download
|
||||
|
||||
![consume part-5](images/marketplace/consume-4.png 'Download asset')
|
||||
|
||||
### Step 5: Sign message
|
||||
### Step 5 - Sign message
|
||||
|
||||
After signing the message, the file download will start.
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: Swap and/or Stake Tokens
|
||||
description: A tutorial to swap datatoken, and stake Ocean tokens
|
||||
description: Tutorial to swap datatoken, and stake Ocean tokens
|
||||
---
|
||||
|
||||
## Swap OCEAN tokens against datatokens
|
||||
@ -9,69 +9,72 @@ description: A tutorial to swap datatoken, and stake Ocean tokens
|
||||
|
||||
Search for the desired asset published on the <a href="https://v4.market.oceanprotocol.com/" target="_blank">Ocean Marketplace</a>.
|
||||
|
||||
### Step 1: Agree with the risks associated
|
||||
### Step 1 - Associated risks
|
||||
|
||||
Please read carefully the risks associated with this operation and agree to move forward.
|
||||
Please read carefully the risks associated with this operation.
|
||||
|
||||
![swap part-1](images/marketplace/Swap-1.png 'Agree with the risks associated')
|
||||
![swap part-1](images/marketplace/Swap-1.png 'Associated risks')
|
||||
|
||||
### Step 2: Select amount of Ocean tokens or Datatokens to trade
|
||||
### Step 2 - Trade amount
|
||||
|
||||
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.
|
||||
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 'Enter amount of Oceans')
|
||||
![swap part-2](images/marketplace/Swap-2.png 'Amount of OCEANs to swap')
|
||||
|
||||
### Step 3: Transaction: Allow pool contract to access your Ocean tokens
|
||||
### Step 3 - Transaction: Access to OCEAN token(s)
|
||||
|
||||
![swap part-3](images/marketplace/Swap-3.png 'Transaction: Approve spend limit')
|
||||
|
||||
### Step 4: Click swap button
|
||||
### Step 4 - Click swap
|
||||
|
||||
![swap part-4](images/marketplace/Swap-4.png 'Click swap tokens')
|
||||
|
||||
### Step 5: Transaction: Swap tokens
|
||||
### Step 5 - Transaction: Swap tokens
|
||||
|
||||
![swap part-5](images/marketplace/Swap-5.png 'Transaction: Swap tokens')
|
||||
|
||||
### Viewing transaction
|
||||
### View transaction
|
||||
|
||||
![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 Rinkeby testnet.
|
||||
Click <a href="https://rinkeby.etherscan.io//tx/0x2f98479adafa93eedbdff8a90a41d760a42290c961dd6aa2b9e09170665adc23" target="_blank">here</a> to view a sample transaction on the Rinkeby test network.
|
||||
|
||||
## 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
|
||||
### 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 'Agree with the risks associated')
|
||||
![staking part-1](images/marketplace/Staking-1.png 'POOL tab')
|
||||
|
||||
### Step 2: Agree with the risks associated
|
||||
### Step 2 - Associated risks
|
||||
|
||||
Please read carefully the risks associated with this operation and agree to move forward.
|
||||
Please read carefully the risks associated with this operation.
|
||||
|
||||
![staking part-2](images/marketplace/Staking-2.png 'Enter amount of Oceans')
|
||||
![staking part-2](images/marketplace/Staking-2.png 'Associated risks')
|
||||
|
||||
### Step 3: Enter amount of Ocean tokens to stake
|
||||
### Step 3 - Stake amount
|
||||
|
||||
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.
|
||||
Enter the amount of OCEAN tokens you want to stake. The expected amount of pool shares and percentages for the provided amount will be displayed.
|
||||
|
||||
![staking part-3](images/marketplace/Staking-3.png 'Enter the amount to stake')
|
||||
![staking part-3](images/marketplace/Staking-3.png 'Stake amount')
|
||||
|
||||
### Step 4: Transaction: Allow pool contract to access your Ocean tokens
|
||||
### Step 4 - Transaction: Access to OCEAN tokens
|
||||
|
||||
![staking part-4](images/marketplace/Staking-4.png 'Transaction: Approve spend limit')
|
||||
|
||||
### Step 5: Transaction: Add liquidty
|
||||
### Step 5 - Click supply
|
||||
|
||||
![staking part-5](images/marketplace/Staking-5.png 'Click on SUPPLY button')
|
||||
![staking part-6](images/marketplace/Staking-6.png 'Transaction: Swap tokens')
|
||||
![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')
|
||||
|
||||
### View transaction
|
||||
|
||||
![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 Rinkeby testnet.
|
||||
Click <a href="https://rinkeby.etherscan.io//tx/0x719b8627e5deb51af21184db7c6747bf5141782ba3e8fe5358f5a15ba67b594b" target="_blank">here</a> to view a sample transaction on the Rinkeby test network.
|
||||
|
Loading…
Reference in New Issue
Block a user