Components

Detailed breakdown of Vanta SDK components.

Client SDK (@vanta/client)

Browser and Node.js client with wallet integration, automatic 402 handling, payment execution, token caching, and retry logic.

Middleware (@vanta/middleware)

Server-side middleware with challenge generation, payment verification, token issuance, quota management, and rate limiting.

Core (@vanta/sdk)

Shared types, utilities, challenge parsing, signature verification, and cryptographic primitives.

Storage Adapters

In-memory (development), Redis (production), and custom adapters for challenge and quota storage.

Blockchain Verifier

Multi-chain RPC client for verifying payment transactions across Ethereum, Base, Optimism, and Arbitrum.