1
0
mirror of https://github.com/oceanprotocol/docs.git synced 2024-11-26 19:49:26 +01:00

GITBOOK-132: change request with no subject merged in GitBook

This commit is contained in:
Veronica Manuel 2023-05-17 14:23:25 +00:00 committed by gitbook-bot
parent 5181d4ac3c
commit 8f23e4a05e
No known key found for this signature in database
GPG Key ID: 07D2180C7B12D0FF
6 changed files with 84 additions and 60 deletions

View File

@ -12,7 +12,10 @@
* [📜 How To's](how-tos/README.md)
* [Publish an NFT](how-tos/marketplace-publish-data-asset.md)
* [Download NFT Assets](how-tos/marketplace-download-data-asset.md)
* [Sell NFT Outputs](how-tos/compute-to-data.md)
* [Sell NFT Outputs](how-tos/compute-to-data/README.md)
* [Make a Boss C2D Algorithm](how-tos/compute-to-data/make-a-boss-c2d-algorithm.md)
* [Publish a C2D Algorithm NFT](how-tos/compute-to-data/publish-a-c2d-algorithm-nft.md)
* [Publish a C2D Data NFT](how-tos/compute-to-data/publish-a-c2d-data-nft.md)
* [Host Assets](how-tos/asset-hosting/README.md)
* [Arweave](how-tos/asset-hosting/arweave.md)
* [AWS](how-tos/asset-hosting/aws.md)

View File

@ -1,59 +0,0 @@
---
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>
#### Step 6 - Set a price, Fixed or Free, for your algorithm
* It is recommended that you set a fixed price since the price that you choose for your algorithm will be charged any time that someone selects to run your algorithm on a dataset, including datasets that aren't yours!
<figure><img src="../.gitbook/assets/Set-a-price-algo.png" alt=""><figcaption><p>Set a price for your algorithm</p></figcaption></figure>

View File

@ -0,0 +1,20 @@
---
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 **3 main steps** in establishing a compute-to-data flow: [create an algorithm](make-a-boss-c2d-algorithm.md) that's compatible with C2D, [publish your C2D-specific algorithm NFT](publish-a-c2d-algorithm-nft.md), then [publish your data NFT with C2D configurations](publish-a-c2d-data-nft.md) allowing the algorithm to compute on it. That's it! Then you'll be able to sell compute jobs 🤩

View File

@ -0,0 +1,9 @@
---
description: >-
How to construct the beginnings of an awesome algorithm for C2D compute jobs
on datasets
---
# Make a Boss C2D Algorithm
The beginning of any great algorithm for Compute-to-Data first starts by references the dataset file correctly on the Docker container. Here is the code in Javascript and in Python for how to correctly reference the dataset file that's local on the Docker container that you choose. [(If all of this is unintelligible to you, then skim the Sell NFT Outputs page!)](./)&#x20;

View File

@ -0,0 +1,45 @@
---
description: How to publish a C2D algorithm NFT on the Ocean Market
---
# Publish a C2D Algorithm NFT
### 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>
#### Step 6 - Set a price, Fixed or Free, for your algorithm
* It is recommended that you set a fixed price since the price that you choose for your algorithm will be charged any time that someone selects to run your algorithm on a dataset, including datasets that aren't yours!
<figure><img src="../../.gitbook/assets/Set-a-price-algo.png" alt=""><figcaption><p>Set a price for your C2D algorithm NFT</p></figcaption></figure>

View File

@ -0,0 +1,6 @@
---
description: How to publish a data NFT with C2D configurations
---
# Publish a C2D Data NFT