raindeer-seller
v1.0.1
Published
Seller node — serves AI inference and accepts payments
Readme
@raindeer/seller
Raindeer Seller Node — Fastify-based AI inference server that advertises offerings, proxies upstream LLMs, and verifies x402 payment authorization.
The Seller Node is the core provider service in the Raindeer network. It listens for incoming inference requests from buyers, validates cryptographically signed x402 state channel updates against deposited USDC balances, and streams LLM output back to the buyer.
Features
- Upstream AI Proxy: Connects seamlessly to OpenAI, Anthropic, OpenRouter, and Together AI endpoints.
- x402 Verification: Validates spending authorizations and cumulative spend tracking to ensure zero counterparty risk.
- Heartbeat Daemon: Periodically broadcasts node liveness and capabilities to the Raindeer Registry.
- Prometheus Metrics: Exports real-time request counts, token consumption, and earned USDC stats (
/metrics).
Running
npm run dev --workspace=packages/seller