Cleva Borderless

A stablecoin wallet for Nigerian students, with PayPal for global payments and Gemini AI as a financial coach.

Inspiration

Our first version of this project was a wallet built for a Cleva × Tether hackathon. The judges told us we were mostly re-pitching what Cleva already does, and they were right. So we asked a different question: what can a dollar-pegged balance do that an ordinary wallet can't?

The answer came from student life. Nigeria has about 2.1 million university students, and their money problems are connected:

  • Prices are still rising about 15% a year (15.39% in August 2026, per the NBS).
  • Receiving money from family abroad is expensive: the World Bank puts the average cost of sending USD 200 to sub-Saharan Africa at 8.46%.
  • Nigeria received USD 22.8 billion in remittances in 2025.
  • Quick loans are risky for lenders and borrowers.
  • Ajo, the traditional rotating savings group, runs on trust and breaks when one member stops paying.

We built Cleva Borderless around one idea: one dollar-pegged balance that also works as collateral, so savings, loans, group saving and payments make each other safer.

What it does

Feature What it does
Diaspora Allowance A relative opens the student's link, pays with PayPal, and the student is credited in USDT. No account needed for the sender.
Escrow PayLink A client's funds are locked until the freelancer delivers and the client approves. Payout goes to the wallet or, via PayPal Payouts, to a PayPal email.
Ajo Circles Members sign a commitment contract and lock collateral on joining. A missed round is covered from that collateral, and a reputation score tracks reliability.
StableSave A USDT vault with a live growing balance.
Micro-Loans Borrow against your own vault with a flat fee, so repayment doesn't depend on chasing anyone.
Campus Network Students pay vendors by QR from a shared USDT pool; vendors claim earnings in one tap.
Ada, the AI coach Powered by Google Gemini. Ada reads the user's balance, vault, loan and Ajo commitments, then answers with their own numbers.

A few rules in math form:

  • Loan limit: $L_{max} = 0.4 \times V$, where $V$ is the vault balance. With a 2% flat fee, repayment is $R = 1.02\,L$.
  • Ajo pot: $P = n \times c$ for $n$ members contributing $c$ each. Because each member locks collateral of at least $c$, a missed round is covered and the pot is still $P$.
  • Vault yield (demo): a rate of 8% per year, i.e. $r_{min} = \frac{0.08}{525{,}600}$ per minute, run $1440\times$ faster so a viewer can watch it grow.

How we built it

  • Front end: Next.js 14 and Tailwind CSS, shown in a 390px mobile frame, deployed on Vercel.
  • Database: Supabase (PostgreSQL) for balances, escrows, Ajo circles, loans and chat history.
  • PayPal (sandbox): the Orders API v2 with PayPal Checkout for allowance payments, and the Payouts API v1 for escrow releases. Server routes keep the secret keys out of the browser.
  • AI: Google Gemini Flash for Ada. Before each reply, a server route gathers the user's financial snapshot from the database and passes it to the model.
  • Money logic on the server: captures, payouts, loan locks and releases all run in API routes, not in the browser.

Challenges we ran into

  1. PayPal sandbox setup. Creating the sandbox app kept failing with a generic error. The fix was to create a sandbox account first, then request the merchant account.
  2. Missing data crashed pages. Routes returned 500 errors when a user had no vault or loan yet. Switching to maybeSingle() queries and always returning a safe empty shape fixed it.
  3. Ajo members didn't appear. Circle data was stored in a local file, so each user saw only their own copy. Moving it to a shared database fixed it.
  4. Layout drift. New pages broke out of the phone frame until we wrapped everything in one shared frame component.
  5. Ada's reliability. Replies sometimes hung or failed. We added a timeout, a retry, a backup model and a friendly fallback message. One of those edits also broke our global styling, which we recovered from by restoring the previous build.
  6. StableSave deposits. A disabled-button bug and a balance that wouldn't update took several rounds to track down.

What we learned

  • Collateral is a better answer to "what if they don't pay?" than reminders or penalties.
  • An AI coach is only useful when it has real numbers. Ada's value comes from the data behind her, not the model.
  • Honest limits build more trust than big claims. We checked every statistic against public sources, and our own earlier numbers didn't all survive. We corrected them and wrote a source-backed brief.

What is real and what is simulated

This is a working prototype in sandbox mode.

  • Real: PayPal sandbox calls, Gemini calls, and database-backed features.
  • Simulated: wallet balances are database entries (no USDT moves on a blockchain), the Add Money confirmation, the Ajo commitment hash, the gasless-settlement panel, the fast demo yield clock, and the BVN preview.
  • Not yet built: the held-payment safeguard for bank outages in Campus Network.
  • Open demo: there is no login; the app runs as a demo user.
  • Cleva Borderless is not CBN-approved. Lending and yield would need licensed partners (FCCPC for digital lending; the SEC for digital assets under the Investments and Securities Act 2025).

What's next

  1. Pilot at one campus (ABU Zaria): real Ajo circles and first vendors.
  2. Test real PayPal payments with a small group of relatives and measure the true cost.
  3. Work with licensed lending and digital-asset partners before any real-money launch.
  4. Build the held-payment safeguard for Campus Network.

Sources

World Bank remittance data via Intelpoint and Nairametrics; NBS inflation data via Nairametrics (Sept 2026); NUC enrolment via BusinessDay; FCCPC digital lending regulations (2025); Investments and Securities Act 2025. Full list in our Problem, Solution and Moat brief.

Built With

Share this project:

Updates

Submission history