Documentation
Architecture
The stack, data flow, and how scan pricing works.
Stack
#Sentinel's frontend is built with Next.js (App Router), React, TypeScript, and Tailwind CSS. The backend runs as Next.js API routes, with a dedicated agents layer handling AI-driven risk analysis (contract inspection, risk scoring, and scam detection). Data is persisted in Supabase/PostgreSQL, on-chain reads go through X Layer RPC, and wallet connectivity is handled via the OKX Wallet SDK.
Pricing
#The scan endpoint can optionally be gated behind an x402 micropayment (via the OKX facilitator on X Layer). This is opt-in — it only activates once payment credentials and a payout address are configured on the backend. Until then, scanning remains free.
