Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] docs: add ecosystem introduction tutorial #33

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ dist
tsconfig*.tsbuildinfo

.vercel
.zed/
112 changes: 112 additions & 0 deletions pages/docs/tutorial/collaboration.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,112 @@
# Lesson 4: Collaboration Across Industries

In this lesson, we will explore the power of collaboration within the Pontus-X ecosystem, where industries can securely share and utilize data across various sectors. Collaboration is the backbone of the decentralized data economy, enabling industries such as manufacturing, AI, healthcare, and mobility to create innovative solutions and unlock new business opportunities.

By the end of this lesson, you will understand how to:
- Facilitate cross-industry collaboration using Nautilus.
- Leverage decentralized data spaces to share and consume data across sectors.
- Use Pontus-X to develop joint AI and data-driven solutions that benefit multiple industries.


## Why Cross-Industry Collaboration Matters

In today’s digital economy, industries are increasingly interconnected. Data from one sector, such as healthcare, can have a profound impact when applied to another, like AI or manufacturing. However, traditional data sharing is often limited by concerns about privacy, intellectual property, and the security of sensitive information.

The Pontus-X ecosystem, with its decentralized and federated structure, offers a solution by providing a secure, transparent, and privacy-compliant platform for cross-sector collaboration. Through Pontus-X, industries can share data assets and AI models, enabling them to:
- Accelerate innovation by pooling resources and expertise from different fields.
- Reduce costs by leveraging shared data and infrastructure.
- Unlock new market opportunities by developing joint solutions tailored to multiple industries.

## Facilitating Cross-Industry Collaboration Using Nautilus

Nautilus makes it easy to collaborate across industries by enabling secure data sharing and seamless interaction between different data spaces. Let’s go through how you can set up collaborative projects in Pontus-X.

### **Step 1: Publishing Shared Assets**

When publishing data assets in **Pontus-X**, you can configure them for shared access across different industries. For example, you might publish a dataset that is useful for both healthcare and AI sectors, such as a medical imaging dataset that can be used for AI training.

### **Step 2: Setting Up Collaborative Access Permissions**

**Nautilus** allows you to set up specific access permissions to enable collaboration between industries. For example, you may choose to provide free access to universities while offering paid access to private companies.

```typescript
const service = serviceBuilder.setPricing({ type: "free" })
```

This flexibility enables institutions, businesses, and researchers to collaborate on the same dataset with tailored access depending on their role in the ecosystem.


## Leveraging Decentralized Data Spaces for Collaboration

**Pontus-X** operates across **decentralized data spaces**, meaning different organizations can maintain their own data spaces while still sharing and consuming data within the larger ecosystem. This makes cross-sector collaboration more efficient, as each industry can maintain control over its data while accessing shared resources from other sectors.

### Step 1: Accessing Data from Other Sectors

Let’s assume you are a company in the manufacturing industry, but you want to access data from the mobility sector to optimize your production process with real-time traffic data.

Using a Pontus-XPortal, you can search for and consume data from other industries, such as mobility or AI: [Pontus-X Portal](https://portal.pontus-x.eu/search?sort=nft.created&sortOrder=desc)

Once you find a relevant dataset, you can request access just like with any other data asset.

```typescript
const assetDid = 'did:op:mobility_data_did';
const mobilityData = await nautilus.access({ assetDid });
console.log('Accessed mobility data:', mobilityData);
```

Now you can combine this data with your own manufacturing data to develop a solution that optimizes production based on traffic patterns.

### Step 2: Cross-Sector Compute-to-Data Jobs

Compute-to-Data enables secure collaboration by allowing industries to perform computations on shared data without accessing the raw data itself. This is particularly useful for industries like healthcare and AI, where sensitive data needs to be processed while maintaining strict privacy controls.

For instance, if a healthcare company wants to collaborate with an AI provider to develop a diagnostic model, they can share their medical data without exposing it.

```typescript
const computeJob = await nautilus.compute({
did: 'did:op:healthcare_data_did',
did: 'did:op:ai_model_did',
});

const { jobId } = computeJob

const computeJobStatus = await nautilus.getComputeStatus({
jobId, // using our extracted jobId
providerUri: 'https://v4.provider.oceanprotocol.com/'
})

console.log('Compute job status:', computeJobStatus);
```
The AI company can run computations on the healthcare data to develop an AI model, but the healthcare company retains full control over its sensitive information.

## Developing Joint Solutions Across Industries

Collaboration within Pontus-X allows industries to develop joint solutions that benefit from the expertise and data of multiple sectors. Let’s explore a real-world example of how this works:

Example: Healthcare and Mobility Collaboration
In this scenario, a mobility company wants to integrate healthcare data into its services to develop a smart ambulance routing system. This system uses real-time traffic data from the mobility company and patient data from healthcare providers to optimize ambulance routes during emergencies.

### Step 1: Access Mobility Data
The healthcare provider can consume traffic data from the mobility company through **Nautilus**:
```typescript
const trafficData = await nautilus.access({ assetDid: 'did:op:traffic_data_did' });
```

### Step 2: Compute Healthcare Data
The mobility company can securely process the healthcare data without accessing it directly:
```typescript
const computeJob = await nautilus.compute({
did: 'did:op:healthcare_data_did',
did: 'did:op:ai_model_did',
});
```

### Step 3: Joint Solution Deployment
The result is a smart ambulance routing solution that combines the best of both industries—real-time traffic data and patient healthcare information—to save lives in emergencies.


## Conclusion

Collaboration across industries is one of the most powerful features of the Pontus-X ecosystem. By using Nautilus, you can securely share and consume data from various sectors, develop joint solutions, and unlock new business opportunities that would not be possible in traditional siloed data environments.

In the next lesson, we will explore advanced privacy and compliance features within the Pontus-X ecosystem, focusing on how to ensure data sovereignty and meet regulatory requirements when sharing sensitive data.
122 changes: 122 additions & 0 deletions pages/docs/tutorial/compliance.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,122 @@
# Lesson 5: Ensuring Privacy and Compliance

Welcome to the final lesson of the Pontus-X Educational Campaign! In this session, we will focus on one of the most critical aspects of decentralized data sharing and monetization: privacy, security, and compliance. By understanding and leveraging the built-in protections of the Pontus-X ecosystem, you can confidently share and monetize data while adhering to regulations like GDPR and ensuring the sovereignty of your assets.

By the end of this lesson, you will be able to:

- Understand the Gaia-X Trust Framework and its importance for compliance.
- Use Compute-to-Data to ensure privacy during data processing.
- Apply best practices for data security in the Pontus-X ecosystem.
- Set up privacy-preserving access controls using Nautilus.

## The Gaia-X Trust Framework

The Gaia-X Trust Framework forms the backbone of the Pontus-X ecosystem, ensuring that all data transactions, services, and interactions adhere to stringent European standards for data sovereignty, privacy, and transparency. This framework provides the legal and technical guidelines necessary for organizations to securely share and consume data without losing control over their assets or violating compliance regulations like GDPR.

**Key Principles of the Gaia-X Trust Framework**:

- **Data Sovereignty**: Each organization retains full control over how their data is used, shared, and monetized.
- **Transparency**: All transactions and data exchanges are fully transparent, building trust among ecosystem participants.
- **Security**: Robust encryption, secure data storage, and privacy-preserving technologies protect sensitive information.
- **Compliance**: The framework ensures that data sharing within Pontus-X adheres to GDPR and other regulatory requirements.

The Pontus-X ecosystem fully integrates the Gaia-X Trust Framework, making it a trusted platform for businesses to share and monetize data while complying with regulatory obligations.

## Ensuring Privacy Through Compute-to-Data

One of the most innovative privacy features within the Pontus-X ecosystem is Compute-to-Data. This technology allows you to provide access to data for computational purposes without sharing the raw data itself. It ensures that your sensitive data never leaves your control, yet it can still be used to power valuable AI models and analyses .

**How Compute-to-Data Protects Privacy**:

- **Data remains in its original location** and is processed locally, avoiding the risk of exposure during transmission.
- **Users can only access the results** of computations performed on the data, not the data itself.
- **Granular access control** allows you to decide who can run compute jobs and what algorithms they can use.

**Example: Running a Compute Job on Sensitive Healthcare Data**

Here’s an example of how you can allow an AI company to train a model on sensitive healthcare data without exposing the raw data:

```typescript
const computeJob = await nautilus.compute({
{did: 'did:op:sensitive_healthcare_data_did'}, // dataset,
{did: 'did:op:ai_training_algorithm_did' } //algorithm
})

console.log('Compute job result:', computeJob);
```

The AI company receives the trained model but never gains access to the underlying healthcare data, ensuring complete privacy while still enabling collaboration.

## Best Practices for Data Security in Pontus-X

The Pontus-X ecosystem provides several layers of data security to protect your assets, whether you are publishing, sharing, or consuming data. By following best practices, you can ensure that your data remains secure at every stage of the data lifecycle.

### Encryption

All data assets published and shared in Pontus-X are encrypted, both in transit and at rest. Nautilus automatically handles encryption, but you should also ensure that any sensitive data is encrypted before it is uploaded.

### Access Controls

Setting granular access controls ensures that only authorized users can access or compute on your data. This is critical for maintaining security, particularly when dealing with sensitive or proprietary information.

You can configure access permissions with Nautilus to restrict data to specific users or organizations.

```typescript
const assetBuilder =new AssetBuilder()

assetBuilder.addCredentialAddresses(CredentialListTypes.ALLOW, [
'0x0000000000000000000000000000000000000000' // add your address here to allow it
])
const asset = assetBuilder.build()

await nautilus.publish(asset)
```

await nautilus.setAccessPermissions(publishedAsset.id, restrictedAccess);

This ensures that only trusted parties can interact with your data in ways you’ve explicitly allowed.

### Identity Management

The Pontus-X ecosystem uses decentralized identity mechanisms to ensure that all participants are verified and that their actions can be traced transparently. Each participant has a Decentralized Identifier (DID), which provides a secure way to verify identities without relying on central authorities.

## Meeting Compliance Requirements with Pontus-X

Compliance with regulations like GDPR is essential for organizations handling sensitive data, especially in sectors like healthcare, finance, and AI. Pontus-X ensures that all data exchanges are compliant with European standards for data protection.

### GDPR Compliance in Pontus-X

- Data Minimization: Only the necessary data is shared or processed, reducing the risk of overexposure.
- Purpose Limitation: Data can only be used for the specific purposes agreed upon by the data provider and consumer.
- Data Subject Rights: Participants in Pontus-X retain full control over their personal data and can exercise rights like access, rectification, and erasure.

### Example: Handling Data Subject Requests

In Pontus-X, you can track how your data is being used and respond to requests for data deletion or updates, ensuring GDPR compliance.

This process ensures that personal data is handled in accordance with privacy laws and can be modified or deleted as needed.

## Privacy-Preserving Access Controls with Nautilus

One of the key features of Nautilus is the ability to implement privacy-preserving access controls, ensuring that only the right users can access your data and that they only use it in ways you’ve approved.

**Set Up Role-Based Access**

You can restrict access based on the role of the user (e.g., researcher, company, or public user). Here’s how you can implement role-based access with Nautilus:

```typescript
const assetBuilder =new AssetBuilder()

assetBuilder.addCredentialAddresses(CredentialListTypes.ALLOW, [
'0x0000000000000000000000000000000000000000' // add your address here to allow it
])
const asset = assetBuilder.build()

await nautilus.publish(asset)
```


## Conclusion
Privacy, security, and compliance are crucial components of the Pontus-X ecosystem. By following the best practices outlined in this lesson, you can confidently share and monetize your data while ensuring it remains protected and compliant with regulations like GDPR. Whether through Compute-to-Data, robust encryption, or granular access controls, Nautilus offers the tools you need to safeguard your data in the decentralized economy.

This concludes the Pontus-X Educational Campaign! You’ve learned how to publish, consume, monetize, collaborate, and protect your data within the Pontus-X ecosystem using Nautilus. Now, you’re ready to fully engage in the data economy of the future.
46 changes: 46 additions & 0 deletions pages/docs/tutorial/introduction.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# Lesson 1: Introduction to Pontus-X Ecosystem

Welcome to the first lesson of the **Pontus-X Educational Campaign**. In this lesson, we will explore the core components, vision, and significance of the **Pontus-X ecosystem**, a groundbreaking paradigm for decentralized data management and monetization, built on **Gaia-X** principles and designed to meet the needs of today’s data-driven industries.

## What is Pontus-X?

**Pontus-X** is a decentralized digital ecosystem that enables organizations to **consume, offer, and monetize data, AI products, and digital services** in a trusted, secure, and transparent environment. It is built on the principles of data sovereignty and privacy, ensuring that data owners maintain control over their data, even when sharing or monetizing it.

The system is designed to:

- **Foster collaboration** between industries, institutions, and individual companies by enabling data sharing across different sectors.
- **Empower businesses** to monetize their data without losing control over their intellectual property.
- Ensure **GDPR compliance** and **privacy protection** through advanced technologies like **Compute-to-Data**, which allows data processing without moving sensitive information.

By leveraging the **Pontus-X ecosystem**, data owners can unlock new revenue streams from their digital assets while adhering to the highest standards of data protection and transparency.

## Key Components of Pontus-X Ecosystem

1. **Data Sovereignty**: Data sovereignty is a core principle of Pontus-X. It ensures that data providers retain full control over how their data is used, shared, and processed. **Data is managed locally**, within the jurisdiction of the data provider, using technologies like Compute-to-Data, which allows for secure, local processing of data while maintaining privacy.

2. **Decentralized and Federated Network**: Pontus-X operates in a decentralized manner, meaning there is no central authority controlling the network. Instead, it uses a **federated model**, where different members of the network (federators) contribute to its infrastructure and validate transactions. This creates a more transparent and trusted environment for data exchange across industries.

3. **Gaia-X Trust Framework**: Pontus-X is aligned with the **Gaia-X Trust Framework**, which provides the guidelines for **data sovereignty, privacy, and compliance** within the European Union. Gaia-X is key to ensuring that the data shared and processed on the Pontus-X network meets the highest standards for data protection.

4. **Open Ecosystem and Collaboration**: Pontus-X is designed to be **domain-agnostic**, meaning it can be used by any industry, from aerospace and AI to healthcare and mobility. This allows companies from different sectors to collaborate, share data, and access services in an **open, decentralized marketplace**.

## Why Pontus-X Matters

The European data economy is set to grow rapidly, with the projected market size reaching **€829 billion by 2025**. As data becomes an increasingly valuable asset, businesses need a way to share and monetize data securely and transparently. **Pontus-X** addresses the critical challenges of data sovereignty, intellectual property protection, and GDPR compliance, allowing companies to unlock the full potential of their data.

## Pontus-X in Action: Key Use Cases

1. **AI and Data-Driven Solutions**: Companies can leverage Pontus-X to create and deploy AI models and data-driven applications without compromising data security. By using tools like Compute-to-Data, AI solutions can be developed with secure access to sensitive data, ensuring compliance with privacy laws.
2. **Cross-Sector Collaboration**: Pontus-X enables seamless data sharing across different industries and data spaces. For example, manufacturers can collaborate with AI providers or mobility companies to create innovative data-driven services, unlocking new revenue streams.
3. **Monetizing Data and AI Products**: One of the most significant advantages of Pontus-X is its ability to allow companies to monetize their data assets. Organizations can offer data, AI models, and software as services on the Pontus-X marketplace, opening up new opportunities for growth.

## How You Can Benefit from Pontus-X

- **For Data Professionals**: Learn how to manage and monetize data in a decentralized ecosystem, ensuring compliance and control.
- **For Business Leaders**: Discover how Pontus-X can unlock new business models and revenue streams, while keeping data secure.
- **For Developers**: Explore the tools available within the Pontus-X ecosystem, like Nautilus, to build and manage decentralized data pipelines and services.
- **For Researchers**: Understand how Pontus-X can facilitate cross-border research collaborations without compromising sensitive data.

## Next Steps

In the next lesson, we will dive deeper into the **Nautilus toolkit**, an essential tool within the **Pontus-X** ecosystem that simplifies data management and enables businesses to connect with decentralized data spaces effortlessly.
Loading