DPSN: Decentralised Pub/Sub Network
  • Introduction
  • Why Decentralized?
  • Understanding Topics
  • Architecture
    • Topics Registry
    • Configurator
    • Clusters
    • Publishers and Subscribers
    • Facilitator Brokers
    • SDK
  • Functionality
    • Message Publishing and Delivery
    • Subscription Management
    • Security Considerations
    • Topic Ownership and Access Control
    • Private Key Authentication
    • Fully Homomorphic Encryption Support
  • Advantages and Use Cases
    • Advantages of DPSN
    • Use Cases
  • Integration
    • SDK Introduction
    • Publisher
    • Subscriber
    • Delegated Addresses
    • Private Messaging
  • Integration Guides
    • Messaging Application
  • Token Use
    • Utility
    • Token Utility Model
  • DIPs
    • DIP1: Stateless Message Routing in DPSN
  • DIP2: Integration of DPSN with Model Context Protocol (MCP)
  • DIP-3: Standardizing DPSN AVS for Enhanced Security and Reliability
Powered by GitBook
On this page
  1. Architecture

SDK

DPSN provides Software Development Kits (SDKs) for both publishers and subscribers to simplify interaction with the network. These SDKs encapsulate the complexities of DPSN's decentralized architecture, providing a user-friendly interface for message publishing, subscription, and management.

Core Functionalities

  • Message Creation and Publishing: Publishers can create and publish messages using the SDK, including formatting, encryption (including FHE), and topic selection.

  • Subscription Management: Subscribers can easily manage their subscriptions, including creating, modifying, and deleting subscriptions.

  • Message Reception and Processing: Subscribers can receive, process, and decrypt (including FHE decryption) messages using the SDK.

  • Error Handling: The SDK provides mechanisms for handling network errors, message delivery failures, and other exceptions.

  • Security: SDKs incorporate security best practices, including key management, authentication, and authorization.

  • Speed vs Accuracy: DPSN icnorporates unique consensus mechanicms that allows subscribers to take decision according to their speed and messages accuracy expectations.

FHE Integration

The SDKs seamlessly integrate with FHE libraries, allowing users to encrypt data before publishing, perform computations on encrypted data, and decrypt results.

PreviousFacilitator BrokersNextMessage Publishing and Delivery

Last updated 8 months ago