SubsCrypt: Private, anonymous on-chain subscription payments via ZK-proofs and EIP-7702 automation.

Prize Pool
SubsCrypt is an innovative platform that leverages EIP-7702 and Vlayer ZK-proofs to create an on-chain private subscription payment marketplace.
Leveraging advanced blockchain technologies, SubsCrypt combines Ethereum's EIP-7702 standard and Vlayer zero-knowledge (ZK) email proofs to achieve user privacy without sacrificing usability.
Name morphological analysis: * Subs: Short for “Subscription”, highlighting recurring payments. * Crypt: From the Greek “kryptós”, meaning “hidden” or “secret”, emphasizing user privacy.
In most Web2 SaaS applications, users' emails are used as the service consumer profiles, allowing users to authenticate themselves in web apps and consume the specific service. In the case of paid services, payments should be routed through a conventional payment gateway (PayPal, Stripe...) to which the identity of the user must be disclosed (email, payment information, service consumed, price paid) to a third-party payment gateway. The advantage is that for subscription payments, the user should only set up the payment method once, and the service provider will periodically pull the funds throw the payment gateway from the user's payment methods automatically without requiring any user interaction. We can now mimic that flow efficiently by implementing delegate logic to EOAs thanks to the EIP-7702 introduced in the Ethereum Pectra upgrade.
Once a user generates their dedicated "payment" EOA, it can be anonymously funded through privacy-preserving methods. Service providers utilize EIP-7702's delegation capabilities, enabling semi-automated, non-interactive recurring payments after a one-time authorization.
SubsCrypt thus ensures complete privacy, streamlined recurring payments, and enhanced interoperability for subscription services on the blockchain.
SubsCrypt is built specifically to tackle the privacy challenges in decentralized subscription payments.
Built on Next.js with TypeScript and Tailwind CSS v4.
The Web3 integration utilizes:
Developed using Solidity 0.8.28 with Hardhat as our development framework and OpenZeppelin contracts for security-audited base implementations. We deployed on Sepolia testnet with Anvil for local development and testing.
Our contract architecture consists of:
SubsCryptMarketplace.sol - Main marketplace and service registrySubsCryptSmartAccountDelegate.sol - EIP-7702 delegation logicBun.js-based wallet services handling:
Service providers can announce their services by submitting a transaction to SubsCryptMarketplace.registerService specifying all the properties of the service through ServiceOffer struct. This can be easily done through the service provider admin dashboard.
struct ServiceOffer { address serviceProvider; address paymentRecipient; address paymentAsset; uint256 assetChainId; uint256 servicePrice; // in wei/seconds uint256 paymentInterval; // seconds }
The users knows the address of the wallet and is its his duty to add funds to it in order to trigger the first payment of the subscription. Privacy preserving funding methods can be used to completely anonymize the payments of the subscription.
After each period of paymentInterval the bots will be incentivized to trigger the payment transactions mimicking an automatic execution of the payments. The payments can be triggered selectively in batches through calling the SubsCryptMarketplace.batchExecutePayments.
The biggest challenge has been parsing the email and passing its properties to the Vlayer prover. We innovated in email parsing and authorization tuple extraction.
We leverage 1 Inch Unoswap swaps so users can pay in their preferred currency and the services providers got payed with their specified currency. The swap executes atomically in a same pulling transaction, converting the funds.
Balancing complete privacy with necessary functionality required creative solutions:
We've laid groundwork for family subscription features using MPC:
SubsCrypt represents a convergence of emerging blockchain standards (EIP-7702), zero-knowledge privacy (Vlayer), creating something that's never existed before: truly anonymous, automated, Web2-UX subscription payments on Web3 infrastructure.

