Autiv
Autiv is an onchain subscription service built on Monad tesnet, powered by Metamask Smart Account and Metamask Delegation Toolkit
視頻
技術堆疊
描述
Autiv is an on-chain subscription platform built for the MetaMask Smart Accounts x Monad Dev Cook Off. Autiv lets creators launch recurring payment plans and normal users can manage their subscriptions on Monad testnet while abstracting away contract complexity. Subscribers approve once through MetaMask Smart Accounts, delegate renewal permissions, and the system handles everything else.
What I Built
MetaMask Smart Accounts + Delegation: Customers sign delegations that let the Autiv manager trigger future renewals without custodial control.
Realtime Verification via HyperSync RPC: Every payment the worker receives is verified against Envio’s HyperSync RPC before updating off-chain state so we never double-charge or miss events.
Cloudflare Worker API: (
worker/autiv/) serves as the gateway for subscription lifecycle: creating plans, processing payments, cancelling, and listening to blockchain events.Frontend Dashboard (
app/frontend/): Vite + React UI where developers configure plans, monitor subscribers, and manage webhooks.Payment Widget (
app/payment-site/): A lightweight checkout experience embeddable in any product site.Subscription Manager Contract and Subscription Manager Factory (
/contracts): Core contract of subscription flows and a factory to easily deploy the manager.Payment collector (
contracts/payment-processor): Collect due subscription ontime
Why It Matters
Recurring revenue on Monad: Autiv makes subscription billing a first-class citizen for Monad-native apps.
Security-first: Delegations are scoped to each plan, and on-chain verification guarantees state consistency.
Composable: The payment widget and Cloudflare APIs allow projects to integrate Autiv subscription flows within minutes.