2PM.Network
WebsiteXDiscordLinkedinGithub
  • Overview
    • What is 2PM.Network
    • Architecture
    • FAQ
    • Official Social Channels
  • 2PM Data VSIES Service
    • What is Data VSIES and why is it important
    • [V] Data Validation (ZK)
    • [SI] Data Standardization and Index
    • [E] Data Encryption Client (FHE)
    • [S] Data Storage and Access
    • Data VSIES SDK
  • Node Framework
    • Modular Architecture
    • Federated Learning
      • Horizontal Federated Learning Task
      • Logistic Regression Task
      • On-chain Secure Aggregation
      • Typical Scenarios
    • FHE Machine Learning
      • Built-in Models
      • Deep Learning
      • Typical Scenarios
    • Task Submission
    • Running a 2PM Node
      • Installation
      • Chain Connector Configuration
      • Data Preparation
      • Joining a Subnet
  • Security and Verification
    • Node Staking and Slash Mechanism
    • Running Verification Client
      • EigenLayer
      • Mind Network
    • Restaking and Delegation
  • Model Inference
    • 2PM Node Inference API
    • Posting Request to a Subnet Model
    • Getting Inference Results on Chain
      • Oracle Adapters
  • Monetization and Incentives
    • AI Model IP Assets
    • Distribution Algorithm
  • 2PM DAO
    • Build Subnets
      • Establishing New Subnets
      • General Requirements
      • Data Schema Definition
      • Model Selection
      • Task Implementation
    • $DMP Token
  • Deployed Smart Contracts
    • Subnets on Testnets
    • Local Deployment Guideline
  • Ecosystem
    • Partners
    • Use Cases
      • Private Personalized Recommendation
Powered by GitBook
On this page
  • Core Components
  • Modular Design of 2PM Node Framework
  1. Node Framework

Modular Architecture

PreviousData VSIES SDKNextFederated Learning

Last updated 10 months ago

The 2PM.Network Node Framework is a modular, decentralized system designed for privacy-preserving computations across a peer-to-peer network. This framework is particularly geared towards multiple data holders who establish nodes to connect and utilize their own data securely.

Core Components

  1. Blockchain Node:

    • Function: Acts as the backbone for the P2P networking, managing digital identities and node discoveries.

    • Features: Supports the decentralized nature of the network, enabling nodes to freely join or leave without affecting overall network functionality. It uses smart contracts for task distribution and result reporting, ensuring consistent rule enforcement across the network.

  2. 2PM Node:

    • Function: Handles the computation tasks, connecting to the blockchain node through the Chain Connector.

    • Features: Engages in the network for task dissemination, result submission, and execution of privacy-preserving computations like Secure Multi-Party Computation (SMPC) and Private Set Intersection (PSI).

Modular Design of 2PM Node Framework

  1. Chain Connector:

    • Function: Serves as a modular link between the 2PM Node and the blockchain node, facilitating seamless integration and communication. It allows for easy switching between different blockchain systems and manages cryptographic operations required for privacy-preserving tasks.

  2. Task Management:

    • Server Side Function: Manages the registration and distribution of computing tasks. It aggregates results from various client nodes to form the final outcome, ensuring data privacy and security throughout the process.

    • Client Side Function: Monitors blockchain for new tasks, retrieves the execution code from the server side, and performs local computations. It engages in SMPC with other client nodes to ensure data privacy during computation.

  3. Data Connector:

    • Function: Connects the 2PM Node to the local data storage or 0G storage nodes, supporting various data formats like files, relational databases, and big data storage systems. It also ensures that data used in computations meets the necessary standards and conditions, adding an extra layer of data integrity and validation.