Subscription3

A private, automated way to subscribe to Spotify, Netflix, OnlyFans and more with crypto.

Visit Repo
Subscription3 banner

About

Subscription3 is a simple way to pay subscriptions with crypto—privately and automatically. Instead of entering credit cards or PayPal, users create a private subscription UID inside the Aztec Network. Only the user and service provider can see what the subscription is for. On Ethereum, our contract holds a balance for each UID and knows only how much USD the subscription costs. When it’s time to pay, Chainlink Runtime Environment triggers a job that calls our contract, which fetches the real-time ETH/USD price from Pyth, converts the fee into ETH, and sends it to Aztec for private settlement. Anyone can top up a subscription balance, making it easy for parents, friends, or employers to contribute. Subscription3 brings privacy, decentralization, and crypto-native automation to the world of recurring payments.

How it's made

Subscription3 is built by connecting four components: Ethereum, Pyth, Chainlink CRE, and the Aztec privacy network. On Ethereum, we deploy a smart contract that maintains a balance sheet for each subscription UID and stores its USD-denominated fee (2 decimals). For simplicity in this hackathon, our payment flow uses ETH only, but the contract design can easily be extended to any ERC-20 token using Pyth’s broad range of price feeds—or even multi-chain assets via Pyth’s cross-chain pricing.

When a subscription becomes due, Chainlink’s Runtime Environment executes a recurring schedule (e.g., monthly) and calls our contract’s executePayment(uid). Inside this function, we fetch a fresh ETH/USD price from Pyth using getPriceNoOlderThan, normalize the exponent, convert the USD amount into wei, and then execute the payment to the Aztec placeholder address. All sensitive subscription metadata (service provider, order ID, monthly fee) lives privately inside Aztec, while L1 only handles an opaque UID and balances. Anyone—not just the subscriber—can deposit ETH to fund a UID.

The system blends privacy (Aztec), accurate real-time pricing (Pyth), decentralized recurring automation (Chainlink CRE), and a minimal, hackathon-friendly contract/API on Ethereum. It was stitched together manually, including the exponent math for Pyth and the UID-based abstraction layer for Aztec, resulting in a fully functioning privacy-preserving recurring payment pipeline.

From the public ETHGlobal showcase page. Votes, swipes and the judge score are hackfeed's own.

AI judge

Not judged yet. A free model reads this page, compares it with similar projects and this event's winners, then scores it and says what would make it win.

Still being built?

Not checked yet.

Swipe stats

0upvotes
0skips
0saves

Discussion 0

No comments yet. Ask the team something, or say what you'd use it for.

Posting as a guest. Plain text, 1,000 characters max.

Already built nearby

Closest projects by meaning and shared words. Similar isn't the same as copied: read them.

StreamFlow

StreamFlow: Ditch subscriptions ! Pay for videos per watch-second with streaming USDC !!

Reloop

We're building the Stripe for Web3—simple, automated crypto subscriptions for users and creators.