Skip to content
SplitBill

SplitBill

Payments

Created on 17th October 2025

•

SplitBill

SplitBill

Payments

The problem SplitBill solves

Key Benefits:

  • Instant Settlements: Each participant pays their share in seconds via the Base blockchain
  • Automatic Calculations: The system automatically splits items, taxes, and tips proportionally
  • Escrow Protection: Smart contract ensures funds are secure until all participants pay
  • Transparency: All payments are visible on-chain, eliminating disputes about who paid
  • Convenient Sharing: Share bills via links or QR codes
  • Basename/ENS Identification: Add participants using readable names, not just addresses

Use Cases:

  • Splitting a restaurant bill among friends
  • Group purchases (groceries, gifts)
  • Shared taxi rides
  • Joint payment for rent or utilities
  • Transparent charitable fundraisers

SplitBill makes group settlements secure, fast, and fair.

Challenges I ran into

Development Challenges and Solutions

1. Gas Cost Optimization for Escrow Contract

Problem: The initial smart contract version had high gas costs due to inefficient data storage and multiple operations.

Solution:

  • Optimized Solidity storage structures using packed storage
  • Implemented individual fund refunds instead of bulk operations (avoiding gas limit issues)
  • Added batching for creating bills with multiple participants in a single transaction
  • Result: Reduced gas costs by 40-50%

2. Real-Time Payment Status Updates

Problem: The UI did not reflect real-time payment status without page reloads, causing user confusion.

Solution:

  • Implemented smart polling with auto-updates every 5 seconds
  • Added adaptive intervals (pausing when the bill is settled or the tab is inactive)
  • Reduced RPC calls by 70-80% for completed bills
  • Zero polling for inactive tabs (saving battery and data)

3. Backward Compatibility with Escrow Addition

Problem: Needed to add escrow functionality without breaking existing bills or user data.

Solution:

  • Developed a system with an optional escrowEnabled field
  • Old bills automatically function as direct payments
  • New bills can choose between direct payments and escrow
  • Full compatibility without data migration

4. URL Shortening for On-Chain Share Links

Problem: Long URLs with bill IDs were inconvenient for sharing, especially via QR codes.

Solution:

  • Created a BillMetadataRegistry contract for permanent bill storage
  • Implemented automatic URL shortening after on-chain publication
  • Short, readable URLs for all published bills

5. Basename and ENS Integration

Problem: Users struggled to remember and input Ethereum addresses for participants.

Solution:

  • Integrated OnchainKit for resolving Basename and ENS names
  • Added duplicate protection (preventing the same participant from being added twice)
  • User-friendly UI displaying names instead of addresses

6. Bundle Size Optimization

Problem: Large bundle size slowed down application loading.

Solution:

  • Implemented lazy loading for escrow components
  • Applied code splitting for individual modules
  • Result: Reduced main bundle size by 10-15%

7. Smart Contract Testing

Problem: Need for comprehensive testing of all edge cases (bill cancellation, partial settlements, refunds).

Solution:

  • Developed a comprehensive test suite with Jest and React Testing Library
  • Covered all scenarios: creation, payment, cancellation, refund, deadline
  • Included integration and unit tests for all critical functions

Link to the GitHub Repo of your project

https://github.com/checkra1neth/SplitBill

Live URL of your project

https://splitbillbase.vercel.app/

What is your product’s unique value proposition?

SplitBill’s Unique Value Proposition

SplitBill is the first full-featured bill-splitting application on the Base blockchain, combining ease of use with the security of smart contracts.

Key Differentiators:

1. Dual Payment Mode — Choose Between Speed and Security

  • Direct Payment: Instant P2P payments without intermediaries, minimal gas fees
  • Escrow Protection: Smart contract ensures fairness—funds are refunded if not everyone pays
  • First app to offer users a choice between both modes

2. On-Chain Metadata Registry — Permanent Storage

  • Bills are published on-chain and stored forever
  • Automatic URL shortening after publication
  • Searchable by tags (restaurant, cafe, groceries, etc.)
  • Ratings and reviews for bills
  • User stats: total number of bills and payment volume

3. Identity-First Approach

  • Integration with Basename and ENS—add participants using readable names
  • Automatic protection against duplicates
  • No need to copy/paste long addresses

4. Live Oracle for ETH Prices

  • Real-time conversion to USD/EUR
  • Accurate payment amounts based on current rates
  • Transparency for all participants

5. Retro Windows 95 UI

  • Unique visual style that stands out among generic Web3 interfaces
  • Nostalgic design + modern functionality
  • Fully responsive for mobile and desktop

6. Production-Ready Optimization

  • 70-80% fewer RPC calls through smart polling
  • 10-15% smaller bundle size via lazy loading
  • Automatic status updates every 5 seconds
  • Zero polling on inactive tabs

7. Flexible Refund System

  • Cancel & Refund All: Cancel with refunds for all participants
  • Partial Settlement: Settle only with those who paid
  • Auto-Refund: Automatic refund after a 7-day deadline
  • Individual refunds (avoiding gas limit issues)

Concept Validation:

âś… Technically Proven: Deployed and functioning smart contracts on Base Sepolia
âś… Fully Functional: All core features implemented and tested
âś… Production-Optimized: Comprehensive test suite, performance optimization
âś… Backward Compatible: Older bills work without migration

SplitBill addresses a real problem (group settlements) using blockchain where it truly adds value: transparency, automation, and trustless calculations.

Who is your target customer?

SplitBill Target Audience

Main User Segments:

1. Crypto-Native Users (Primary)

Characteristics:

  • Actively use Web3 wallets (Coinbase Smart Wallet, MetaMask)
  • Experienced with Base/Ethereum
  • Seek practical applications for cryptocurrencies in daily life
  • Age: 18-35, tech-savvy

Needs:

  • Instant settlements without bank fees or delays
  • On-chain payment transparency
  • Protection from unreliable participants via escrow

Audience Validation:

  • Base Batches buildathon focuses on onboarding users to the Base ecosystem
  • Growing Basename community seeking practical dApps
  • Feedback from Base community highlights demand for everyday use cases

2. Groups of Friends and Colleagues

Use Cases:

  • 🍽️ Restaurants and Cafes: Splitting the bill after a group dinner (most common case)
  • đźš• Taxi Rides: Quick settlements among friends
  • đź›’ Group Purchases: Groceries, gifts, shared expenses
  • 🏠 Roommates: Rent, utilities, household costs

Pain Points We Solve:

  • Inconvenience of cash settlements
  • Slow bank transfers (especially international)
  • Disputes over who owes what
  • Forgetfulness of participants (“I’ll pay later” → conflicts)

3. Event Organizers

Use Cases:

  • Transparent charitable fundraisers
  • Group gifts with visible contributions from each participant
  • Crowdfunding for projects/events

Advantages for Them:

  • Automatic on-chain tracking of all payments
  • Protection against fund manipulation
  • Public stats and ratings for trust

4. Early Adopters of Web3 Applications

Characteristics:

  • Participants in buildathons and hackathons
  • Testers of new dApps on Base
  • Active in Discord/Telegram crypto communities

Motivations:

  • Desire to try innovative solutions
  • Support for the Base ecosystem
  • Gaining experience with practical Web3 applications

Validation of Target Audience:

Through Research:

  • âś… Bill splitting is a universal problem (everyone has faced it)
  • âś… Base ecosystem is rapidly growing (>1M+ active addresses)
  • âś… Basename adoption shows readiness for identity-first approaches

Through Technology:

  • âś… OnchainKit integration simplifies onboarding
  • âś… Smart Wallet lowers the entry barrier for newcomers
  • âś… Base’s low fees make micropayments practical

Through Feedback:

  • âś… Base Batches buildathon emphasizes real-world use cases
  • âś… Community demands more "everyday crypto" applications
  • âś… Escrow + Direct Payment combo meets varying trust levels in groups

Market Size:

  • TAM: All Web3 users with group expenses
  • SAM: Active Base ecosystem users (1M+ addresses)
  • SOM: Early adopters and buildathon participants (10K+ potential users in the first 3 months)

Path to Product-Market Fit:

  1. Phase 1 (current): Onboarding via Base Batches and crypto communities
  2. Phase 2: Viral growth through share links (each bill = invitation for new users)
  3. Phase 3: Integration with restaurant POS systems (B2B expansion)

Our audience isn’t just "crypto enthusiasts" but people with a specific problem (group settlements) for whom blockchain offers a tangible improvement in experience.

Who are your closest competitors and how are you different?

Competitors and How We Stand Out

Below is a list of the closest competitors (Web2 and Web3) and the key differentiators of SplitBill.

Web2 Competitors

  1. Splitwise — https://splitwise.com/

    • Pros: Recognizable brand, user-friendly UX, debt tracking
    • Cons: No on-chain payments, reliance on bank integrations/PayPal/external payment gateways, no trustless escrow
    • How we’re better: Instant on-chain payments on Base, optional escrow with smart contracts, transparent and immutable records, participant identification via ENS/Basename, on-chain metadata storage, ratings/tags
  2. Settle Up — https://settleup.io/

    • Pros: Convenient tracking of shared expenses, multi-platform
    • Cons: No crypto payments, no on-chain transparency, no smart contracts
    • Our edge: Real on-chain final payments without delays or IOUs, escrow protection, on-chain bill publication
  3. Tricount — https://www.tricount.com/

    • Pros: Simple expense tracking
    • Cons: No automated payment execution, no transparency or programmable logic
    • Our edge: Automated calculations + real on-chain payment execution, payment and refund statuses, deadlines

Web3 Competitors / Analogues

  1. LlamaPay — https://llamapay.io/

    • Focused on streaming salaries/payments, not bill splitting
    • Our edge: UX tailored for one-time group bills with items, tips, taxes; Direct/Escrow modes, on-chain metadata, tags, ratings
  2. Sablier — https://www.sablier.com/

    • Streaming payments/time-based vesting, not suited for “restaurant bill” use cases
    • Our edge: Instant split-payment scenarios accessible from a single UI with participant statuses
  3. Parcel / Gnosis Safe Apps (multisig) — https://gnosis-safe.io/

    • Suitable for DAO tranches, not for everyday “chip-in for dinner” scenarios
    • Our edge: Easy onboarding via Coinbase Smart Wallet and OnchainKit, Basename/ENS, link/QR sharing, minimal barriers for new users
  4. Split Protocol / On-chain Split Tools (various implementations)

    • Often focused on revenue stream distribution (royalties, rev share), not household bills
    • Our edge: Full user flow “create bill → share → pay → track → refund if needed” + on-chain social features (ratings, tags, stats)

SplitBill’s Key Differentiators

  • Two payment modes: Direct and Escrow with smart contracts
  • On-chain metadata registry: Permanent links, tags, search, ratings, privacy/access control
  • Identity-first: Basename/ENS and protection against duplicate participants
  • Real-time statuses and refined UX indicators (PAID/UNPAID/REFUND/REFUNDED/CANCELLED)
  • Performance optimization: Smart polling, reduced RPC, lazy loading
  • Transparent refunds: Full cancellation, partial closure, auto-refunded by deadline
  • Unique retro UI (Windows 95) + mobile responsiveness

What is your distribution strategy and why?

1) Community-Driven Growth in the Base Ecosystem

  • Participation in Base Batches and relevant hackathons
  • Posts in Base/OnchainKit/Twitter(X) communities, demo threads, tutorials
  • Collaborations with Basename projects (identity as an entry point)

2) Virality Through Share Links

  • Every bill is an invitation for new users (recipients see a ready-to-use UI and pay their share)
  • QR codes for offline scenarios (cafes, events)
  • Short on-chain links increase CTR and convenience

3) Partnerships and Integrations

  • Restaurants/cafes and community spaces (POC integrations, pilots)
  • Crypto events (meetups/hackathons): “Pay with SplitBill” booths
  • Integration with wallets (Coinbase Smart Wallet) and providers (OnchainKit)

4) Content and Education

  • Guides like “How to split a bill on-chain in 30 seconds”
  • Video demos, UX clips, comparisons with Web2 alternatives
  • Documentation in the repository + code examples for hooks (DevRel stream)

5) Paid/Performance Marketing (at a later stage)

  • Targeted ads for crypto audiences on Twitter/Reddit/Telegram
  • Partnered promotions with Base ecosystem influencers

Why this works for us:

  • The product solves a common everyday problem, perfect for word-of-mouth
  • Low Base fees enable a “wow effect” without frustration
  • Onboarding via Smart Wallet reduces friction for newcomers

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