mirror of
https://github.com/oceanprotocol/docs.git
synced 2024-11-26 19:49:26 +01:00
45 lines
1.5 KiB
Markdown
45 lines
1.5 KiB
Markdown
---
|
|
title: Download data asset
|
|
description: Tutorial to download assets using Ocean Market
|
|
---
|
|
|
|
## Accessing 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.
|
|
|
|
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 the Rinkeby test network.
|
|
|
|
## Tutorial
|
|
|
|
### Step 1 - Click buy
|
|
|
|
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)
|
|
|
|
![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)
|
|
|
|
![consume part-4](images/marketplace/consume-3.png 'Transaction 2: Buy datatoken')
|
|
|
|
### Step 4 - Click download
|
|
|
|
![consume part-5](images/marketplace/consume-4.png 'Download asset')
|
|
|
|
### Step 5 - Sign message
|
|
|
|
After signing the message, the file download will start.
|
|
|
|
![consume part-6](images/marketplace/consume-5.png 'Sign')
|