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
    • Access token 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
  • Brand Kit
    • Branding
Powered by GitBook
On this page
  1. Integration

Subscriber

PreviousPublisherNextDelegated Addresses

Last updated 2 days ago

Prerequisites

  • A DPSN account with a registered topic.

  • A delegated address with appropriate permissions.

  • The DPSN SDK for your preferred programming language.

Quick Start

1. Browse Data Stream Marketplace

Navigate to the to discover and subscribe to real-time data streams. Click on the Subscribe button from the homepage to see all available streams. Filter streams by categories or sort by newest first. Click "View Details" to learn more about any specific stream.

2. View Stream Details

Access comprehensive information about your selected data stream including description, availability timestamp, pricing per 1,000 events, and the unique Topic ID. The Topic ID serves as the unique identifier you'll use to access the data stream in your integration.

3. API Access to Subscribe to the Stream

You can access streams through our API integration. Follow the API access guide to subscribe to the specific stream of your choice.

4. Alternatively you can choose SDK Access method to subscribe to the stream

Alternatively you can choose the SDK Access method to Subscribe to the Stream. Install and Configure DPSN Client to begin.

Create a new file called dpsn-integration.js and initialize the DpsnClient with your server endpoint, access token, and connection settings. Add event handlers to monitor connection status and handle any errors that occur during the connection process.

5. Get Your Access Token and Integrate the Following Code

Copy your access token from the dashboard to authenticate with the DPSN network. Use the provided details to complete your integration setup.

DPSN marketplace