mirror of
https://github.com/oceanprotocol/docs.git
synced 2024-11-26 19:49:26 +01:00
54 lines
2.7 KiB
Markdown
54 lines
2.7 KiB
Markdown
---
|
|
description: >-
|
|
How to sell compute jobs on your datasets while keeping your data and
|
|
algorithms private
|
|
---
|
|
|
|
# Sell NFT Outputs
|
|
|
|
### Introducing, The Problem
|
|
|
|
{% embed url="https://media0.giphy.com/media/v1.Y2lkPTc5MGI3NjExNjNmMTc3MjFjNTg2MjQwZTQyY2VkNzFiNjk1YzM5ZmJkM2NjMzA4ZiZlcD12MV9pbnRlcm5hbF9naWZzX2dpZklkJmN0PWc/17FxSFyYNOgThnonDK/giphy.gif" %}
|
|
|
|
**Anyone could buy your NFT assets and then publicly share them all over the internet.** Pretty scary, right? But what if there was a way that buyers could access valuable insights from your data and algorithms without actually \*seeing\* the data or algorithms themselves? We have a solution for that!
|
|
|
|
Enter, **Compute-to-Data** (also lovingly called C2D). Ocean Protocol's C2D feature enables you to monetize the OUTPUT of compute jobs on your datasets without revealing the contents of the data/algorithms themselves. Let's dive in how!
|
|
|
|
## How to Compute-to-Data 💃
|
|
|
|
You will need to accomplish **2 main steps** in establishing a compute-to-data flow: publish your algorithm NFT, then publish your data NFT with configurations allowing the algorithm to compute on it. That's it! Then you'll be able to sell compute jobs 🤩
|
|
|
|
### First, Publish Your Algorithm NFT
|
|
|
|
#### Step 1 - Navigate to the Ocean Market
|
|
|
|
* Go to [https://market.oceanprotocol.com](https://market.oceanprotocol.com)
|
|
|
|
#### Step 2 - Connect your wallet
|
|
|
|
* Click the top right Connect Wallet button to connect your self-custody wallet to the Ocean Market
|
|
|
|
<figure><img src="../.gitbook/assets/connect-wallet.png" alt=""><figcaption><p>Connect your self-custody wallet</p></figcaption></figure>
|
|
|
|
#### Step 3 - Click the Publish link in the top left corner of the page
|
|
|
|
* Click the Publish link
|
|
|
|
<figure><img src="../.gitbook/assets/publish.png" alt=""><figcaption><p>Navigate to the Publish page</p></figcaption></figure>
|
|
|
|
#### Step 4 - Enter the metadata
|
|
|
|
* Enter the metadata for your algorithm NFT paying special attention to select the Algorithm asset type button:
|
|
|
|
<figure><img src="../.gitbook/assets/algo-asset.png" alt=""><figcaption><p>Be sure to select the Algorithm asset type</p></figcaption></figure>
|
|
|
|
* Select the appropriate Docker image to run your code - most algorithms are written in Javascript or Python, so you can use either of these Docker images or your own custom image!
|
|
|
|
<figure><img src="../.gitbook/assets/docker-image.png" alt=""><figcaption><p>Select the appropriate Docker image for your algorithm type</p></figcaption></figure>
|
|
|
|
#### Step 5 - Enter the Access information
|
|
|
|
* Make sure to keep this option checked!
|
|
|
|
<figure><img src="../.gitbook/assets/algorithm-privacy.png" alt=""><figcaption><p>Keep this option checked for Compute-to-Data</p></figcaption></figure>
|