Skip to content
SurgePay

SurgePay

Money should just work

Created on 20th October 2025

•

SurgePay

SurgePay

Money should just work

The problem SurgePay solves

The Problem It Solves

Saving money with friends and family is broken.

Across the world, hundreds of millions of people use informal savings circles—your mom's church group pooling cash for emergencies, your college friends saving up for a trip, or immigrant communities helping each other get ahead. They're called ROSCAs, "susu," "tanda," or simply "the circle."

In Africa, participation rates in such savings circles are reported at around 12%–37% of adults in some countries (for example, ~37% in Uganda). In many rural areas in Africa, some surveys estimate participation levels up to 50%–95% of adults. Globally, while precise data are limited, these savings circles are widespread and involve hundreds of millions of people.

But here's the problem:

  • Trust is fragile - Someone has to hold everyone's money. What if they disappear or "forget" who paid?
  • Money sits idle - Pooled funds just sit in someone's drawer or checking account earning nothing
  • Tracking is messy - Spreadsheets, group chats, and "I'll Venmo you" promises that get lost
  • You can't grow - Circles are limited to people you personally trust, so the impact stays small

SurgePay fixes all of that.

What People Can Actually Use It For

College students can create savings circles for trips or big purchases — everyone contributes monthly, the funds earn yield, and each person gets their turn. No awkward "Did you pay yet?" texts.

Families can build emergency fund circles where each member gets access to a lump sum when life happens — medical bills, car repairs, or school fees. The smart contract keeps everyone accountable.

Small business owners can pool capital for inventory or equipment without waiting on banks or loan sharks. Each member gets a rotation of working capital, transparently and fairly.

Diaspora communities can keep their traditional savings culture alive — your uncle in Lagos, cousin in London, and sister in Toronto can all join the same trustless, borderless circle.

Friend groups can save together for house rentals, group investments, or shared hobbies — without needing one person to act as "the bank."

Why It's Better Than What Exists

Versus traditional ROSCAs:

  • No trust required — the rules are enforced by smart contracts
  • Funds earn yield while waiting their turn
  • Records are transparent and tamper-proof
  • No one can run off with the money

Versus banks/traditional finance:

  • No credit checks or paperwork
  • No hidden fees or minimum balances
  • Instant access when it's your turn
  • Earn real DeFi-level yields, not 0.01% interest

Versus existing DeFi:

  • No gas fees (covered by CDP paymaster)
  • No jargon — no "yield farming" or "liquidity pools"
  • Simple interface — just deposit, earn, and get paid
  • Built on a model people already know and trust

The magic? It just works. No crypto expertise required, no gas fees to worry about, and no trust issues. You start a circle, invite your people, and save together while earning yield — the smart contract handles the rest.

image

image

Challenges I ran into

Challenges I Ran Into

1. Aave V3 Integration on Base Testnet - The "Missing Documentation" Problem

The biggest hurdle was integrating Aave V3's lending protocol on Base Sepolia. Aave's documentation primarily focuses on Ethereum mainnet, and finding the correct PoolAddressesProvider contract address for Base Sepolia required digging through multiple block explorers and deployment records.

How I solved it: I had to trace through Aave's official deployment repository and cross-reference addresses in the Base Sepolia block explorer. The solution was using a modular approach where the Pool address is dynamically resolved through the PoolAddressesProvider interface, making the system flexible enough to work across different Aave deployments.

// Resolved Pool from AddressesProvider instead of hardcoding
IPoolAddressesProvider provider = IPoolAddressesProvider(_poolAddressesProvider);
pool = IPool(provider.getPool());

2. Gas Sponsorship with Privy - Complex Provider Chain Configuration

Getting gas sponsorship to work required carefully orchestrating multiple providers (Privy, Wagmi, OnchainKit, and React Query) in the correct hierarchy. The challenge was that Privy's WagmiProvider must wrap OnchainKit, but the configuration wasn't well documented for this specific stack.

How I solved it: Through trial and error with provider nesting, I discovered the correct order and configuration. The key insight was that Privy's WagmiProvider needs to be the outer provider with embedded wallet configuration enabled, and OnchainKit's gas sponsorship features would then work automatically on supported networks.

3. Two-Step Deposit Flow - UX vs Smart Contract Reality

Users need to approve USDC before depositing, creating a two-transaction flow that's confusing for non-crypto users. The challenge was making this seamless while handling edge cases like insufficient balance, already deposited, or partial approvals.

How I solved it: Built a custom useDeposit hook that intelligently checks the approval allowance and guides users through the process automatically. If allowance is insufficient, it triggers approval first; if sufficient, it proceeds directly to deposit. Added clear loading states and toast notifications for each step so users always know what's happening.

4. Round State Management - Preventing Race Conditions

Managing who deposited in which round while preventing double deposits or premature settlements was complex, especially with multiple members potentially interacting simultaneously. The smart contract needed bulletproof state tracking.

How I solved it: Implemented a double-mapping system (hasDeposited[roundIndex][memberAddress]) that tracks deposits per round per member. Combined with ReentrancyGuard from OpenZeppelin and careful validation in the settleAndAdvance() function to ensure rounds can only advance when the time window has elapsed.

mapping(uint256 => mapping(address => bool)) public hasDeposited;
mapping(uint256 => uint256) public totalDepositedPerRound;

5. Network Switching - Making Multi-Chain Work Without Breaking

Supporting both Base Sepolia (testnet) and Base Mainnet while preventing users from accidentally interacting with the wrong contracts was tricky. Users would connect on Ethereum mainnet and get confused why nothing worked.

How I solved it: Built a network detection and switching system that shows a persistent banner when users are on the wrong network, with one-click switching functionality. The contract address resolver (getContractAddress) throws clear errors if trying to interact with unsupported chains. Added visual feedback (yellow banner) that disappears once on the correct network.

6. Factory Pattern Complexity - Tracking Circles Efficiently

The RoscaFactory needed to track all circles efficiently for discovery while also allowing users to find their specific circles. Simple array storage becomes expensive at scale, but complex mappings are harder to query.

How I solved it: Implemented multiple tracking mechanisms: one master array for all circles, and separate mappings for circlesByCreator and circlesByMember. Added a pagination function (getCirclesPaginated) to prevent gas issues when the circle count grows large. Also added an isValidCircle mapping for O(1) verification.

7. Testing Without Real Yield - Simulating Aave in Development

Locally testing yield generation was impossible since Aave doesn't exist on local testnets, but we needed to verify the integration logic worked correctly.

How I solved it: Structured the contracts to be modular with clear separation between deposit logic and yield logic. Wrote comprehensive unit tests using Foundry that mocked the Aave pool interface, allowing us to simulate supply/withdraw calls and verify the contract beh

Link to the GitHub Repo of your project

https://github.com/jabbar-adio7/Surgepay-base

Live URL of your project

surgepay.tech

What is your product’s unique value proposition?

SurgePay is the only DeFi protocol that makes traditional ROSCAs trustless AND profitable.

While hundreds of millions of people worldwide already use savings circles, SurgePay is the first to solve all three critical problems simultaneously:

  1. Trust without relationships - Smart contracts enforce the rules, so you can save with people beyond your immediate social circle. This unlocks massive scale.

  2. Your money works while you wait - Automatic Aave yield generation means every dollar earns returns while pooled. Traditional ROSCAs leave money idle. Other DeFi protocols require you to understand complex yield strategies.

  3. Zero friction onboarding - Gas-free transactions via Coinbase Developer Platform paymaster and a familiar savings model mean no crypto expertise required. We're not asking people to learn DeFi; we're bringing DeFi to what they already do.

Our alpha build validates this through:

  • Deployed and tested smart contracts on Base Sepolia with full Aave integration
  • Gas-sponsored transactions working end-to-end (users never see gas fees)
  • Circle creation and member management functioning smoothly
  • SurgeTag username system making wallet addresses human-readable
  • Multi-round deposit and settlement flow tested with real testnet USDC

The value proposition isn't theoretical - it's working code that bridges a centuries-old savings model with modern DeFi infrastructure, making both accessible to billions who currently rely on trust and leave money idle.

Who is your target customer?

SurgePay is the only DeFi protocol that makes traditional ROSCAs trustless AND profitable.

While hundreds of millions of people worldwide already use savings circles, SurgePay is the first to solve all three critical problems simultaneously:

  1. Trust without relationships - Smart contracts enforce the rules, so you can save with people beyond your immediate social circle. This unlocks massive scale.

  2. Your money works while you wait - Automatic Aave yield generation means every dollar earns returns while pooled. Traditional ROSCAs leave money idle. Other DeFi protocols require you to understand complex yield strategies.

  3. Zero friction onboarding - Gas-free transactions via Coinbase Developer Platform paymaster and a familiar savings model mean no crypto expertise required. We're not asking people to learn DeFi; we're bringing DeFi to what they already do.

Our alpha build validates this through:

  • Deployed and tested smart contracts on Base Sepolia with full Aave integration
  • Gas-sponsored transactions working end-to-end (users never see gas fees)
  • Circle creation and member management functioning smoothly
  • SurgeTag username system making wallet addresses human-readable
  • Multi-round deposit and settlement flow tested with real testnet USDC

The value proposition isn't theoretical - it's working code that bridges a centuries-old savings model with modern DeFi infrastructure, making both accessible to billions who currently rely on trust and leave money idle.

Who are your closest competitors and how are you different?

1. Traditional ROSCAs (offline savings circles)

  • No URL (offline/informal)
  • Difference: We eliminate trust requirements and add yield generation

2. Kamino Finance (https://kamino.finance/) - DeFi yield optimization

  • Difference: They optimize yields for crypto-native users. We make ROSCAs trustless for mainstream users. Different problem, different audience.

3. Goldfinch (https://goldfinch.finance/) - Decentralized credit protocol

  • Difference: They focus on undercollateralized lending to businesses. We focus on peer-to-peer savings circles with no credit/debt involved.

4. Celo's Valora wallet (https://valoraapp.com/) - Mobile-first crypto for emerging markets

  • Difference: They're a wallet and payment infrastructure. We're an application layer that could integrate with wallets like theirs. They solve "how to hold crypto," we solve "how to save together."

5. Tontine DeFi projects (various small experiments)

  • Difference: Most are abandoned or theoretical. We have working code, gas sponsorship, and real Aave integration on Base. We're building for a real user base with a proven savings model.

What makes us distinct:

  • Only protocol combining ROSCAs + yield generation + gas sponsorship - others do one, we do all three
  • Built on Base - leveraging Coinbase's distribution and low costs, not fighting them
  • Cultural relevance - we're not inventing a new savings model; we're upgrading one that already works for hundreds of millions
  • Real UX focus - SurgeTags (usernames), one-click network switching, automatic yield investment, clear status tracking
  • Not a lending protocol - no credit checks, no collateral, no debt. Just cooperative savings.

What is your distribution strategy and why?

Community-driven growth with strategic partnership acceleration

Phase 1: Direct Community Seeding (Months 1-3)

  • Launch with 10-15 pilot circles from existing diaspora communities we've interviewed
  • Focus on Nigerian, Caribbean, and Latino communities in US/UK/Canada who already run informal circles
  • Incentivize early adopters: first 100 circles get bonus yield (funded by us) and founder NFTs
  • Create circle leaderboards and social proof ("Lagos Expats Circle earned $250 in yield")

Why this works: ROSCAs spread through tight-knit communities via word-of-mouth. One successful circle creates 5 more. We're not selling a new concept; we're offering a better version of what they already trust.

Phase 2: Partnership Distribution (Months 3-6)

  • Partner with remittance providers (Wise, Remitly, WorldRemit) to reach diaspora users
  • Integrate with ethnic community organizations and churches that run savings groups
  • Partner with Base ecosystem projects (Zora, Farcaster, Paragraph) for cross-promotion
  • Collaborate with African fintech apps that serve ROSCA participants

Why this works: Our target users already use remittance services and trust community organizations. Partnerships give us credibility and distribution at scale.

Phase 3: Creator/Influencer Amplification (Months 4-9)

  • Sponsor personal finance creators in target communities to create circles publicly
  • Launch referral program: create a circle, get rewards when members create their own
  • Farcaster frames integration for one-click circle creation and updates
  • Content marketing showing real yield earned by real circles

Why this works: Financial products spread through trusted voices. Showing real results (not promises) from people who look like our users drives adoption.

Phase 4: Platform Integration (Months 6-12)

  • Integrate into Base ecosystem apps as a savings primitive
  • Open API for other apps to create circles on behalf of users
  • White-label solution for community platforms and DAOs

Why this approach:

  • Low CAC: Community-driven growth means users bring users
  • High retention: People don't leave circles mid-cycle (money is locked in rounds)
  • Viral mechanics: Every circle has 3-10 members who each have their own networks
  • Cultural fit: We're working with how communities already organize, not against it
  • Base-native: Leveraging Base's existing distribution via Coinbase, Farcaster, and Base ecosystem

Not relying on: Paid acquisition (too expensive for our target market), crypto Twitter (wrong audience), traditional VC playbook (our users aren't crypto-native).

Metrics we track: Circles created, member retention rate, circle completion rate, average yield earned, viral coefficient (circles created by circle members).

Discussion

Builders also viewed

See more projects on Devfolio