Skip to main content

DobLink

DobLink is a lightweight, embeddable investment widget that allows users to invest in real-world infrastructure directly from any web page. It provides a streamlined interface for selecting tokens, choosing investment amounts, and completing transactions -- all without leaving the host application.

Learn more at: dobprotocol.com/doblink

Purpose

DePIN (Decentralized Physical Infrastructure Networks) projects often face a discoverability problem: potential investors need to navigate to a specific platform, connect their wallet, find the right pool, and complete a multi-step process. DobLink reduces this to a single embedded widget.

By dropping a DobLink widget into their website, DePIN project operators give visitors a one-click path from "interested" to "invested."

Technology Stack

LayerTechnologyVersion
FrameworkNext.js15
UI LibraryReact19
LanguageTypeScriptLatest
StylingTailwind CSSLatest

DobLink is built on the latest versions of Next.js and React, using server components where appropriate and client-side interactivity for the wallet connection and transaction flows.

Core Features

Token Selection

Users browse available DePIN tokens and select their investment target. Each token listing displays:

  • Project name and description
  • Current token price (oracle-backed via DobValidatorRegistry)
  • TRUFA score (if the project has a DobValidator certificate)
  • Available investment denominations

Investment Flow

The widget guides users through a minimal-step investment process:

  1. Select token -- Choose which DePIN project to invest in
  2. Choose amount -- Select from preset amounts or enter a custom value
  3. Connect wallet -- MetaMask, Freighter, or other supported wallets
  4. Confirm transaction -- Review details and sign the blockchain transaction
  5. Receive confirmation -- Transaction hash and position summary

Embeddable Widget

DobLink is designed to be embedded in third-party websites via an iframe or script tag:

<!-- Embed DobLink widget -->
<div id="doblink-widget" data-project="solar-panel-array" data-theme="dark"></div>
<script src="https://doblink.dobprotocol.com/widget.js"></script>

Configuration options include:

OptionDescriptionDefault
data-projectPre-select a specific projectNone (shows all)
data-themeWidget color theme"light"
data-networkTarget blockchain network"stellar"
data-localeLanguage"en"

DobLink integrates with and draws inspiration from two emerging payment protocols:

WS402 -- WebSocket Payments

WS402 is a protocol for real-time micropayments over WebSocket connections. In the context of DobLink:

  • Streaming investments -- Rather than a single lump-sum transaction, users can set up streaming payments to DePIN projects
  • Real-time settlement -- WebSocket connections enable instant confirmation of payment receipt
  • Metered access -- DePIN projects can gate data feeds or dashboards behind WS402 payment channels

WS402 enables a model where investors can "stream" capital to infrastructure projects in real time, matching the continuous nature of infrastructure revenue generation.

X402 -- HTTP 402 Payment Protocol

X402 implements the long-dormant HTTP 402 (Payment Required) status code as a machine-readable payment protocol:

  • API monetization -- DePIN projects can monetize their data APIs using 402 payment headers
  • Pay-per-request -- Consumers pay per API call to access real-time infrastructure data
  • Machine-to-machine -- Enables automated payment flows between IoT devices and infrastructure services

In the DobLink context, X402 allows DePIN infrastructure to programmatically charge for its services, creating a direct revenue stream that backs the tokenized asset.

Protocol Integration Vision

DePIN Device --> Generates revenue via X402/WS402 --> Revenue flows to pool
|
DobLink Widget --> Investor buys tokens --> Receives share of revenue
|
DobValidator --> Verifies device is real --> TRUFA score backs the token
|
DobDex --> Provides liquidity --> Zero-slippage exit

DobLink sits at the intersection of these protocols, providing the investment interface while WS402 and X402 handle the revenue plumbing.

Architecture

Widget Mode

When embedded on a third-party site, DobLink operates as a self-contained widget:

Host Website
|
+--> DobLink Widget (iframe)
|
+--> Token selection UI
+--> Wallet connection
+--> Transaction signing
+--> Confirmation display

The widget communicates with the host page via postMessage for events like successful investments or wallet connection status.

Standalone Mode

DobLink also functions as a standalone application at its own URL, providing the full investment experience with additional features:

  • Portfolio overview of existing investments
  • Transaction history
  • Project discovery and filtering
  • Detailed project pages with TRUFA scores and documentation

Supported Networks

DobLink supports investments across the same networks as the broader DobProtocol ecosystem:

NetworkSupportToken Standard
StellarFullSAC tokens
BaseFullERC-20
ArbitrumFullERC-20
LiskFullERC-20

The widget detects the user's connected wallet type (Freighter vs MetaMask) and routes the transaction to the appropriate network.

Integration with DobProtocol

DobLink is not a standalone product -- it connects to the broader DobProtocol infrastructure:

IntegrationPurpose
Token StudioPool and share data for investment targets
DobValidatorTRUFA scores and certificate verification
DobDexToken pricing via DobValidatorRegistry oracle
MarketplaceSecondary market for acquired shares

Investments made through DobLink result in the user holding pool shares (on Stellar) or ERC-20 tokens (on EVM chains) that are fully compatible with the rest of the DobProtocol ecosystem.