Ecosystem

The Solgateskit ecosystem

Everything you need to build, test, and deploy pay-per-request APIs on Solana. From client SDKs to protocol specs — all open source.

SDK

@solgateskit/client

The core npm package. Drop-in fetch wrapper that attaches Solana payments to any HTTP request. Works in Node.js, browsers, and edge runtimes.

npm install @solgateskit/client

Server

Server Middleware

Express/Next.js/Hono middleware that validates payment headers, confirms transactions on-chain, and gates access to your endpoints.

npm install @solgateskit/server

Playground

Interactive Testing

Browser-based playground to test pay-per-request flows against devnet. Simulate payments, inspect headers, and debug integration issues in real time.

playground.solgateskit.dev

Protocol

HTTP 402 Spec

The open protocol specification. Defines how payment requirements are communicated via HTTP 402 headers, transaction formats, and verification flows.

X-Solana-Pay / X-SGK-Price headers

Token

$SGK Token

Governance and utility token. Stake to reduce protocol fees, vote on upgrades, and earn from the network's transaction volume.

Governance + fee reduction

Community

Open Source Community

Built in the open. Contribute on GitHub, follow updates on X, and install packages from npm. Join the developers building the pay-per-request web.

GitHub / X / npm

Architecture overview

Client

SDK / Wallet

HTTP + Payment

402 Protocol

Server

Middleware + API

Solana confirms transactions in ~400ms — fast enough for real-time API gating