Sacred
DashboardDiscoverLeaderboardSettings
© 2026 Sacred Protocol
BugsExperiments
Labs
8/34

Feature Gate

Validates the full x402 "pay to unlock a feature" flow. Payment settles to Sacred's platform wallet, purchase is recorded, and the feature stays unlocked across page reloads.

01. Live Gate

Live

Real x402 payment flow against Base Sepolia. Requires a funded embedded wallet.

02. Protocol Flow

x402

The highlighted step reflects the current payment state.

x402 Payment Flow

Client requests feature

03. What This Proves

x402 Payment

fetchWithPayment handles the full 402 cycle — no SDK boilerplate in the page

Entitlement Record

Entitlement is recorded server-side after payment settles, using the session cookie for identity

Persistence

Page reload calls /api/features/check which queries the DB, not client state

© 2026 Sacred LabsBack to Labs