1
0
mirror of https://github.com/oceanprotocol/docs.git synced 2024-11-26 19:49:26 +01:00
docs/content/tutorials/marketplace-download-data-asset.md

45 lines
1.5 KiB
Markdown
Raw Normal View History

---
title: Download data asset
2022-04-14 12:39:47 +02:00
description: Tutorial to download assets using Ocean Market
---
2022-04-07 23:31:12 +02:00
## Accessing marketplace
1. Go to Ocean <a href="https://v4.market.oceanprotocol.com/" target="_blank">Marketplace</a>.
2021-07-12 17:01:42 +02:00
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.
2022-04-07 23:31:12 +02:00
2022-04-14 12:39:47 +02:00
In this tutorial, we will consume <a href="https://v4.market.oceanprotocol.com/asset/did:op:63920bb64ad1e79bed73214e5fd574fc68c0977cdba5b7031aa98a3a83e28197" target="_blank">this</a> dataset.
2022-04-07 23:31:12 +02:00
3. Connect wallet.
![connect wallet](images/marketplace/consume-connect-wallet.png 'Connect wallet')
2022-04-14 12:39:47 +02:00
In this tutorial, we will be using the Rinkeby test network.
2022-04-07 23:31:12 +02:00
## Tutorial
2022-04-14 12:39:47 +02:00
### Step 1 - Click buy
2022-04-07 23:31:12 +02:00
2022-04-14 12:39:47 +02:00
The buy button is enabled only if the connected wallet address has enough OCEAN tokens to exchange them with 1 datatoken.
2022-04-07 23:31:12 +02:00
![consume part-1](images/marketplace/consume-1.png 'Buy')
2022-04-14 12:39:47 +02:00
### Step 2 - Allow access to OCEAN token(s)
2022-04-07 23:31:12 +02:00
2022-04-14 12:39:47 +02:00
![consume part-3](images/marketplace/consume-2.png 'Transaction 1: Permissions to access OCEAN tokens')
2022-04-07 23:31:12 +02:00
2022-04-14 12:39:47 +02:00
### Step 3 - Buy a datatoken by exchanging it with OCEAN token(s)
2022-04-07 23:31:12 +02:00
2022-04-14 12:39:47 +02:00
![consume part-4](images/marketplace/consume-3.png 'Transaction 2: Buy datatoken')
2022-04-07 23:31:12 +02:00
2022-04-14 12:39:47 +02:00
### Step 4 - Click download
2022-04-07 23:31:12 +02:00
![consume part-5](images/marketplace/consume-4.png 'Download asset')
2022-04-07 23:31:12 +02:00
2022-04-14 12:39:47 +02:00
### Step 5 - Sign message
2022-04-07 23:31:12 +02:00
After signing the message, the file download will start.
![consume part-6](images/marketplace/consume-5.png 'Sign')