Skip to content
SubBase

SubBase

Onchain subscription payment dApp built on Base

Created on 22nd October 2025

•

SubBase

SubBase

Onchain subscription payment dApp built on Base

The problem SubBase solves

The Problem SubBase Solves

Managing recurring payments in Web3 is currently complex and inefficient.
Users must manually approve every transaction, and dApps have no reliable way to automate ongoing payments — unlike traditional Web2 systems (like Stripe subscriptions or PayPal recurring billing).

This creates friction for both users and builders:

Users: Can’t set up automatic payments for services, memberships, or donations without manual wallet confirmations each time.

Developers & Businesses: Struggle to build sustainable revenue models onchain because there’s no decentralized, trustless way to charge users periodically.

What People Can Use SubBase For

SubBase enables secure, automated, onchain subscription payments using smart contracts and relayers.
It allows anyone to easily:

Set up recurring payments for onchain services, SaaS tools, or premium content.

Manage and cancel subscriptions directly from their smart wallet — no middlemen.

Automate payments via a relayer, ensuring timely transactions without user intervention.

Build new business models — creators, DAOs, and projects can monetize onchain without centralized payment processors.

Why It’s Safer & Easier

Fully decentralized: No third parties controlling funds or user data.

Transparent & auditable: Every subscription and payment is recorded onchain.

User-controlled: Subscribers can pause or cancel anytime through their wallet.

Gasless & user-friendly (future goal): Planned integration of account abstraction (ERC-4337) will let users enjoy gasless, automated payments with social login.

In short — SubBase makes Web3 subscriptions as simple and reliable as Web2, while staying 100% decentralized and user-owned.

Challenges I ran into

Challenges I Ran Into

Building SubBase wasn’t without its hurdles — especially since it bridges multiple layers of onchain infrastructure. Here are some of the key challenges and how I overcame them:

  1. Contract Deployment Issues

During the initial deployment of SubscriptionManager.sol to Base Sepolia, I encountered several Hardhat configuration errors, including module resolution issues (TS5109) and network misconfigurations (Error HH100).

How I solved it:

Created a dedicated tsconfig.json inside the contracts/ folder to fix the TypeScript module conflicts.

Corrected the Base Sepolia network name in the Hardhat config and verified the RPC URL.

Installed missing dependencies like @openzeppelin/contracts to ensure successful compilation and deployment.

  1. Frontend ↔ Contract Integration

Connecting the React frontend to the deployed contract was tricky because of mismatched ABIs and placeholder logic. The Dashboard.tsx originally didn’t perform any onchain actions.

How I solved it:

Used ethers.js and OnchainKit hooks to connect the UI to the smart contract.

Replaced placeholder logic with actual functions calling createSubscription() and getActiveSubscriptions() on the contract.

Implemented environment variables to dynamically load the deployed contract address.

  1. Relayer Configuration

Setting up the relayer to execute payments on a schedule was another challenge. The cron job was configured correctly but couldn’t be tested because the contract wasn’t deployed initially.

How I solved it:

Updated .env to include RELAYER_PRIVATE_KEY and CONTRACT_ADDRESS.

Verified connection to Base Sepolia RPC and tested the script manually before automation.

Structured the relayer to handle errors gracefully and log failed executions for debugging.

  1. Testing & End-to-End Validation

One of the hardest parts was validating the full subscription flow — from frontend creation to relayer execution — due to the async nature of blockchain operations.

How I solved it:

Broke testing into smaller parts: verified contract deployment → frontend write/read → relayer execution.

Used console logging and mock subscriptions to simulate real runs.

Planned integration of unit and integration tests using Hardhat and Jest for the next iteration.

Link to the GitHub Repo of your project

https://github.com/MarcusDavidG/Subbase

Live URL of your project

https://subbase-ivory.vercel.app/

What is your product’s unique value proposition?

Unique Value Proposition

SubBase stands out as a trustless, automated onchain subscription system that eliminates intermediaries while ensuring secure, recurring payments — powered by smart wallets, relayers, and Base’s scalable infrastructure.

Here’s what makes it unique:

  1. Fully Onchain, Yet Effortless

Most subscription systems rely on centralized APIs or custodial wallets. SubBase replaces all of that with a decentralized, self-custodied model — where users maintain control of their funds, and smart contracts handle recurring payments autonomously.

No third-party platforms, no risk of censorship, no missed payments — just pure onchain automation.

  1. Relayer-Powered Automation

Unlike static payment dApps, SubBase integrates a relayer system that automatically triggers subscription payments at predefined intervals.
This ensures payments go through even when the subscriber is offline, without giving up control of their private keys.

Users authorize once — the relayer handles the rest.

  1. Built for Account Abstraction & Smart Wallets

SubBase is designed to seamlessly integrate ERC-4337 account abstraction (via SmartWallet.dev) and gasless transactions in future versions, making it easy for non-crypto users to interact without worrying about gas fees or private key management.

The goal is to make blockchain subscriptions feel like Web2 — but with Web3’s transparency and autonomy.

  1. Demonstrated Alpha Functionality

The current alpha already validates the concept through:

Deployed smart contract on Base Sepolia (SubscriptionManager.sol)

Working frontend where users can create and view subscriptions onchain

Configured relayer to automate payments

Clean, modular architecture separating frontend, contracts, and relayer

In Summary

SubBase is not just another subscription tool — it’s a bridge between Web2 usability and Web3 self-sovereignty, proving that automated, recurring payments can be transparent, secure, and entirely decentralized.

Who is your target customer?

Target Customer

SubBase is built for a growing audience of Web3 creators, developers, and businesses who need a seamless, trustless way to manage recurring payments and subscriptions — without relying on centralized platforms.

  1. Web3 Developers & SaaS Builders

Use Case: Automate subscription payments for decentralized apps or services.

Developers building pay-per-use or subscription-based DApps can plug SubBase into their projects for onchain billing.

Ideal for API-based projects, NFT memberships, or premium DeFi analytics tools.

Feedback from early dev users highlighted how SubBase’s modular contracts and relayer model simplify implementing recurring billing logic — something that’s tedious to build from scratch.

  1. Content Creators & Community Builders

Use Case: Monetize communities through recurring crypto payments.

DAO creators, NFT project founders, and educators can set up token-based memberships where users pay monthly in stablecoins or ETH.

Unlike Patreon or Substack, creators keep 100% of revenue, with no platform fees or censorship.

Testing with small creator groups showed strong interest in transparent, automatic, and non-custodial payment systems for their communities.

  1. Web3 Startups & Protocols

Use Case: Handle automated token-based payments (salaries, subscriptions, or donations).

Protocols or DAOs that need to manage onchain recurring transfers (e.g., grants, staking rewards, or service payments) can automate them securely via SubBase.

Early user interviews with Base ecosystem builders validated that automating such payments reduces operational overhead and increases trust.

Why They’re the Right Audience

Through developer discussions, Base ecosystem research, and early test feedback, it’s clear that:

There’s no easy, trustless solution for onchain recurring payments today.

Both technical and non-technical users want automation without sacrificing control.

SubBase fills this gap by combining ease of use (frontend + relayer) with full decentralization (smart contracts on Base).

In essence, SubBase’s target audience is any Web3-native user or builder who values automation, transparency, and ownership in how subscriptions and recurring payments are managed.

Who are your closest competitors and how are you different?

Closest Competitors & How SubBase Is Different

While the Web3 payment space is expanding rapidly, few projects focus specifically on decentralized recurring payments. Here’s how SubBase compares to the closest players:

  1. Superfluid — https://www.superfluid.finance

What they do:
Superfluid enables real-time token streaming — continuous payments per second — primarily used for salaries and DAOs.

How SubBase is different:

SubBase focuses on discrete, periodic subscription payments (e.g., daily, weekly, monthly), rather than continuous token flows.

Account abstraction–ready: SubBase supports a smart wallet + relayer model, allowing gasless or automated transactions.

Easier integration for subscription-based businesses, creators, or SaaS tools, where recurring intervals are more practical than continuous streaming.

  1. Sablier — https://www.sablier.com

What they do:
Sablier offers onchain token streaming for salaries, vesting, and real-time payouts.

How SubBase is different:

SubBase enables fixed recurring billing cycles (e.g., monthly payments) that mirror Web2 subscription models like Stripe or Patreon.

Built on Base L2, optimized for low-cost, scalable recurring payments.

Integrated relayer automation to handle transaction execution — users don’t have to remember or manually trigger payments.

  1. Loop Crypto — https://www.loopcrypto.xyz

What they do:
Loop Crypto focuses on crypto payments and billing tools for Web3 startups.

How SubBase is different:

SubBase is fully decentralized and non-custodial, while Loop operates with more Web2-style infrastructure.

Onchain subscription manager contract ensures full transparency and auditability of all payments.

Designed for developers and creators, not just businesses — anyone can integrate or use SubBase without enterprise overhead.

  1. Etherspot / Biconomy (ERC-4337 Wallets)

What they do:
These platforms provide account abstraction and paymaster services for gasless transactions.

How SubBase is different:

SubBase leverages account abstraction rather than competing with it — the goal is to use smart wallets to enable recurring payments, not to replace wallet infrastructure.

The combination of smart contracts + relayer + UI forms a turnkey subscription stack built natively for Base.

SubBase’s edge lies in simplicity and automation — it brings true recurring payments to Web3 with no intermediaries, low fees on Base, and a clean, open-source developer experience that bridges Web2 familiarity with Web3 trustlessness.

What is your distribution strategy and why?

Distribution Strategy

SubBase’s distribution strategy focuses on community-driven growth, developer adoption, and ecosystem partnerships — aligning perfectly with how successful Web3 infrastructure projects gain traction.

  1. Ecosystem Partnerships (Base, Chainlink, etc.)

Why: SubBase is built on Base L2, and partnering with Base’s ecosystem accelerates exposure among developers and dApps already using the network.

How:

Apply for Base Ecosystem Grants and showcase SubBase in ecosystem hackathons.

Integrate Chainlink Automation to power payment triggers and gain visibility within Chainlink’s large builder community.

Collaborate with Web3Auth and Uniswap teams to highlight the seamless wallet experience and swap integration.

  1. Community-Driven Growth & Developer Evangelism

Why: Developers and early adopters drive innovation in DeFi tools — especially open-source subscription protocols like SubBase.

How:

Launch tutorials, walkthroughs, and templates on GitHub and Dev.to.

Build an active Discord/Telegram community for contributors, testers, and early adopters.

Run bounties and challenges (e.g., “Integrate SubBase into your dApp” contests) to drive adoption through real use cases.

  1. Targeted B2B Integration & Partnerships

Why: Small and medium-sized Web3 projects (NFT platforms, creator tools, DAOs) need recurring billing for sustainability.

How:

Offer developer SDKs and APIs for seamless integration.

Directly onboard projects that use Stripe or Patreon equivalents but want to transition to decentralized payments.

Build case studies with these early partners to validate SubBase’s impact (reduced gas fees, automation benefits, etc.).

  1. Content & Organic Marketing

Why: In Web3, trust and education are key. SubBase’s mission resonates when builders understand the pain points it solves.

How:

Share deep-dives and demo videos on X (Twitter) and Lens Protocol.

Publish blog posts comparing Web2 vs Web3 subscription systems.

Appear in podcasts and Base ecosystem Twitter Spaces to drive awareness.

  1. Hackathons & Builder Events

Why: Hackathons are the fastest route to real usage and developer validation.

How:

Continue showcasing SubBase at events like ETHGlobal, Chainlink, and VeChain Hackathons.

Provide boilerplate code so teams can integrate SubBase subscriptions in minutes.

Why This Approach Fits

SubBase’s audience — developers, creators, and small Web3 projects — thrives in open, collaborative ecosystems.
A community-first and partnership-focused distribution strategy ensures credibility, adoption, and sustainability without relying on expensive paid acquisition.

In short:

Grow by building with the builders. SubBase expands through integration, education, and shared network effects within the Base and broader Ethereum ecosystems.

Cheer Project

Cheering for a project means supporting a project you like with as little as 0.0025 ETH. Right now, you can Cheer using ETH on Arbitrum, Optimism and Base.

Discussion

Builders also viewed

See more projects on Devfolio