PATH Gateway Software

PATH (Path API & Toolkit Harness) is an open-source Go framework for enabling access to Pocket Network’s decentralized supply network. It serves as the gateway that handles service requests and relays them through the Shannon protocol to blockchain endpoints.

PATH is the same software PNF uses to operate api.pocket.network. It’s production-tested at scale and serves as the primary SDK and access layer for Shannon.

Who PATH Is For

  • Gateway operators running commercial RPC businesses on Pocket
  • Developers building custom access points to Pocket Network
  • Chain foundations deploying dedicated endpoints for their ecosystems
  • Core developers extending PATH’s QoS, routing, or protocol layers

Architecture Overview

PATH operates as a multi-layered gateway system:

plaintext
HTTP Request → Gateway → QoS Service → Protocol (Shannon) → Blockchain Endpoint
     ↑                                                              ↓
     └──────────── Response ← QoS Validation ← Protocol ← ─────────┘

Core Components

ComponentLocationPurpose
Gatewaygateway/Main entry point — handles HTTP requests, coordinates processing
Protocolprotocol/Shannon protocol implementation — gRPC communication with the chain
QoSqos/Quality of Service — endpoint validation per blockchain type
Routerrouter/HTTP routing, operational endpoints, admin API
Configconfig/YAML-based configuration with per-service overrides
Reputationreputation/Endpoint scoring — tiered selection, probation, recovery
Metricsmetrics/Prometheus metrics collection and reporting

QoS Services

QoS ModuleChainsCapabilities
EVMEthereum, Base, Arbitrum, Polygon, etc.Block height sync, archival detection, JSON-RPC + WebSocket
SolanaSolanaSlot-based sync, JSON-RPC
CosmosPocket, Osmosis, Celestia, etc.REST + CometBFT + JSON-RPC, RPC type fallback
NoOpAny unsupported servicePass-through — no QoS validation

What’s in This Section

  • Quickstart — Get PATH running in under 10 minutes
  • Installation — Local binary, Docker, and development setup
  • Configuration — Full YAML config reference with per-service overrides
  • Architecture — Reputation system, QoS data flow, session rollover
  • Operating — Helm deployment, monitoring, health checks, scaling
  • Developing — Extending PATH — adding QoS services, testing, contributing
  • Repository: github.com/pokt-network/path
  • API spec: api/path_openapi.yaml in the repo
  • Default port: 3069 (gateway), 9090 (Prometheus metrics)
  • License: MIT

In this section