Skip to content

Commit 705456f

Browse files
committed
refactor: rename and update links for data monetization guides, remove deprecated guide
1 parent 71eaa82 commit 705456f

File tree

8 files changed

+276
-447
lines changed

8 files changed

+276
-447
lines changed

.vitepress/sidebar.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,15 +76,14 @@ export function getSidebar() {
7676
link: '/manage-data/guides/handle-schemas-dataset-types',
7777
},
7878
{
79-
text: 'Manage Data Monetization',
80-
link: '/manage-data/guides/manage-data-monetization',
79+
text: 'Monetize Protected Data',
80+
link: '/manage-data/guides/monetize-protected-data',
8181
},
8282
],
8383
},
8484
{
8585
text: '🔐 DataProtector',
8686
link: '/manage-data/dataProtector',
87-
collapsed: true,
8887
items: [
8988
{
9089
text: 'Getting Started',

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,10 +149,13 @@ Fork this repository and ensure you're working on the `main` branch:
149149
## TODO
150150

151151
- Add Arbitrum support
152+
- On arbitrum hide : Oracle Factory ? , DataProtector Sharing ??
152153
- Adapt hardcoded address to feat with new contracts deployed on arbitrum
153154
- Add link to the new explorer feature Asset_Types in the guide =>
154155
`handle-schemas-dataset-types`
155-
- Move `manage-data/dataProtector/advanced/iApp` (Deserializer doc) in an other way to be more visible (may in build-iApp section)
156+
- Add link to remix for deploying whitelist
157+
- Move `manage-data/dataProtector/advanced/iApp` (Deserializer doc) in an other
158+
way to be more visible (may in build-iApp section)
156159
- complete `use-iapp` section
157160
- complete `explorer` section
158161
- complete `build-iapp` section

src/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ features:
4343
details:
4444
Create revenue streams from your data while maintaining full control and
4545
privacy
46-
link: /manage-data/guides/manage-data-monetization
46+
link: /manage-data/guides/monetize-protected-data
4747
- icon: 🧠
4848
title: Core Concepts
4949
details:

src/manage-data/guides.md

Lines changed: 1 addition & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ schema generation and how to use data types effectively.
3737

3838
---
3939

40-
### 💰 [Manage Data Monetization](/manage-data/guides/manage-data-monetization)
40+
### 💰 [Monetize Protected Data](/manage-data/guides/monetize-protected-data)
4141

4242
**Turn your protected data into revenue.** Explore different monetization
4343
strategies from simple pay-per-use to advanced marketplace distribution.
@@ -46,60 +46,3 @@ strategies from simple pay-per-use to advanced marketplace distribution.
4646
- DataProtector Sharing with collections
4747
- Rental, subscription, and sale models
4848
- Revenue optimization strategies
49-
50-
## Quick Navigation
51-
52-
::: tip What You'll Learn These guides cover the complete journey from
53-
protecting your first dataset to building a sustainable data business with
54-
automated monetization. :::
55-
56-
### By Use Case
57-
58-
- **🚀 Just getting started?**
59-
[Create and Share Access](/manage-data/guides/create-and-share-access)
60-
- **🔧 Building an iApp?**
61-
[Handle Schemas and Dataset Types](/manage-data/guides/handle-schemas-dataset-types)
62-
- **💡 Want to monetize data?**
63-
[Manage Data Monetization](/manage-data/guides/manage-data-monetization)
64-
65-
### By Experience Level
66-
67-
**Beginner**: Start with data protection basics
68-
[Create and Share Access](/manage-data/guides/create-and-share-access)
69-
70-
**Intermediate**: Learn about data structures and iApp integration
71-
[Handle Schemas and Dataset Types](/manage-data/guides/handle-schemas-dataset-types)
72-
73-
**Advanced**: Explore monetization strategies and business models
74-
[Manage Data Monetization](/manage-data/guides/manage-data-monetization)
75-
76-
## Additional Resources
77-
78-
### 📚 **SDK Reference**
79-
80-
- [DataProtector Core SDK](/manage-data/dataProtector/dataProtectorCore) -
81-
Complete method reference
82-
- [DataProtector Sharing SDK](/manage-data/dataProtector/dataProtectorSharing) -
83-
Advanced distribution features
84-
- [Type Definitions](/manage-data/dataProtector/types) - TypeScript interfaces
85-
and types
86-
87-
### 🎯 **Real Examples**
88-
89-
- [Content Creator Demo](/overview/use-case-demo/content-creator) - Live example
90-
of data monetization
91-
- [Hello World Tutorial](/overview/helloWorld) - End-to-end walkthrough
92-
93-
### 🔧 **Advanced Topics**
94-
95-
- [Apps Whitelist](/manage-data/dataProtector/advanced/apps-whitelist) - Control
96-
which iApps can access data
97-
- [Smart Contract Details](/manage-data/dataProtector/advanced/dps-smart-contract) -
98-
Blockchain implementation
99-
- [Migration Guide](/manage-data/dataProtector/migrate-from-v1) - Upgrade from
100-
v1 to v2
101-
102-
---
103-
104-
**Ready to start?** Pick the guide that matches your current goal and dive in!
105-
🚀

src/manage-data/guides/create-and-share-access.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ automatically.
194194
**Example**: `pricePerAccess: 1_000_000_000` = 1 RLC per access
195195

196196
**Want to learn more monetization capabilities?** See our detailed
197-
[Manage Data Monetization guide](/manage-data/guides/manage-data-monetization)
197+
[Monetize Protected Data guide](/manage-data/guides/monetize-protected-data)
198198

199199
#### numberOfAccess <OptionalBadge />
200200

@@ -228,4 +228,4 @@ steps:
228228
- **Learn data types**: Deep dive into
229229
[schemas and dataset types](/manage-data/guides/handle-schemas-dataset-types)
230230
- **Monetize data**: Explore
231-
[data monetization strategies](/manage-data/guides/manage-data-monetization)
231+
[data monetization strategies](/manage-data/guides/monetize-protected-data)

src/manage-data/guides/handle-schemas-dataset-types.md

Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ description:
66

77
# 🏷️ Handle Schemas and Dataset Types
88

9-
**Schemas are like content labels that describe what's inside your protected data.**
9+
**Schemas are like content labels that describe what's inside your protected
10+
data.**
1011

1112
They define the structure and types of your data automatically when you protect
1213
it, making it easy for iApps to know what they're working with.
@@ -48,17 +49,16 @@ console.log('📍 Address:', protectedData.address);
4849
```json
4950
{
5051
"email": "string",
51-
"phoneNumber": "string",
52+
"phoneNumber": "string",
5253
"preferences": {
5354
"newsletter": "bool",
5455
"notifications": "bool"
5556
}
5657
}
5758
```
5859

59-
::: info Schema Structure
60-
The schema automatically maps your data structure to types that iApps can understand and validate.
61-
:::
60+
::: info Schema Structure The schema automatically maps your data structure to
61+
types that iApps can understand and validate. :::
6262

6363
## Supported Data Types
6464

@@ -73,10 +73,8 @@ The schema automatically detects these types:
7373
| `application/octet-stream` | Binary data | File contents |
7474
| `image/jpeg`, `image/png`, etc. | Media files | Images, videos |
7575

76-
::: tip Auto-Detection
77-
The SDK automatically detects file types based on
78-
content. No need to specify MIME types manually.
79-
:::
76+
::: tip Auto-Detection The SDK automatically detects file types based on
77+
content. No need to specify MIME types manually. :::
8078

8179
## Why Schemas Matter
8280

@@ -203,7 +201,7 @@ function createArrayBufferFromFile(file: File): Promise<ArrayBuffer> {
203201
}
204202

205203
// Get file from input element
206-
const file = new File([""], "example.jpg", { type: "image/jpeg" });
204+
const file = new File([''], 'example.jpg', { type: 'image/jpeg' });
207205

208206
const web3Provider = getWeb3Provider('PRIVATE_KEY');
209207
const dataProtectorCore = new IExecDataProtectorCore(web3Provider);
@@ -234,11 +232,9 @@ const fileData = await dataProtectorCore.protectData({
234232
Once you have protected data with a schema, you'll want to process it inside an
235233
iApp.
236234

237-
::: warning Type Matching
238-
**Your iApp and frontend must use the same field names
235+
::: warning Type Matching **Your iApp and frontend must use the same field names
239236
and types.** If they don't match, you'll get runtime errors when processing the
240-
data.
241-
:::
237+
data. :::
242238

243239
**Ready to build an iApp?** Check out our detailed
244240
[Inputs and Outputs guide](/build-iapp/guides/inputs-and-outputs) to learn how

0 commit comments

Comments
 (0)