All workCase 13 / 35

Tappi

Tap-to-pay wallet and merchant terminal for Nigeria

TL;DR · Problem

A wallet that holds several currencies and takes payments from a phone has to get money exactly right.

TL;DR · Built

Tappi is an Android wallet and merchant terminal for Nigeria.

TL;DR · Outcome

Tappi works end to end against Bitnob's sandbox: naira account numbers, test deposits, swaps, bank withdrawals, crypto sends and a USD card, with receipts that trace back to the provider.

Cover — Tappi
Tappi screenshot
DemoSee Tappi in action
Tappi On SetWatch on Google Drive ↗
01

Overview

Tappi is an Android wallet and merchant terminal for Nigeria. Customers hold naira, USDT, USDC and Bitcoin, send to a @username, pay by tapping phones over NFC, scanning a QR code or entering a short code, swap between currencies and get a USD virtual Visa card. Merchants charge from their own phone and withdraw to a bank.

I built all of it: the Expo mobile app, a Rust money engine with a double-entry ledger, a Python API that includes an AI assistant, and the landing page. It runs against Bitnob's sandbox with test money.

02

The challenge

A wallet that holds several currencies and takes payments from a phone has to get money exactly right. A retried request must never pay twice, a balance must never go negative, and a lost webhook must not leave a payment stuck.

It also has to be usable by someone standing at a market stall: no card reader, no typing a long account number, and support for people who do not use English first.

03

The goal

Build a wallet and terminal where every balance is provable and a payment takes one tap.

  • 01Let customers hold, send, swap and withdraw naira and crypto from one app.
  • 02Turn any Android phone into a merchant terminal that accepts taps, QR codes and short codes.
  • 03Keep one ledger that is the single source of truth for who owns what.
  • 04Add an assistant that can answer questions and prepare payments by chat or voice.
04

Paying by tap, QR or code

A customer can pay a merchant by tapping phones over NFC, scanning a QR code, typing a short code or picking the merchant from a nearby list found over Bluetooth. Merchants charge in naira or USDC, refund, see the day's sales and withdraw to their bank.

Every transaction has a receipt that shows Tappi's reference together with the provider's references: the bank session ID for bank transfers, and the transaction hash with an explorer link for crypto.

Mobile app2 screens
Customer wallet home
Merchant analytics and payout
05

The money engine

The engine is a Rust service and the only part of Tappi that changes balances or talks to Bitnob. Amounts are integers in each asset's smallest unit, so there are no floats anywhere.

  • 01Double entry: every movement is a journal entry whose postings sum to zero, and a database trigger refuses any entry that does not.
  • 02No overdrafts: user balances are checked and also enforced by a database constraint.
  • 03Idempotency: every write carries a key, so a retry returns the original result instead of moving money again.
  • 04Holds: money in flight, such as a payout or a swap, is reserved first, then captured or released when the provider answers.
06

Bitnob integration and reconciliation

Bitnob supplies each user's naira account number, bank payouts, crypto deposits and sends, swaps and the USD Visa card. Money between Tappi users is an instant ledger entry, and only money entering or leaving Tappi touches Bitnob.

Webhooks are stored, signature-checked and applied once. The engine also reads Bitnob's transaction list every few seconds and reconciles balances hourly, so a lost webhook does not leave a deposit missing. Banking moved from Paga to Bitnob in the last commits, and the Stellar wallet code was dropped earlier when the app moved to this backend.

07

The API and Tappi AI

The Python API handles email-code sign-in, profiles, a four-digit PIN that locks after five wrong tries, payments, merchant charges and NFC tap tokens. It never writes the ledger, because it uses a separate database role from the engine.

Tappi AI uses Groq for speech, chat with tools and voice replies, with optional African-language voices, and works in 14 languages including Pidgin, Yoruba, Hausa and Igbo. It can answer questions and prepare a payment for the user to approve.

08

Landing page and deployment

A Next.js static landing page is hosted on Cloudflare Pages, and the web build of the app is served from a Cloudflare Worker. The backend runs as Docker Compose behind Caddy on one server, and installed Android builds get JavaScript updates over the air through EAS Update.

Tappi landing page
↕ Long page · hover to zoom · click to open · scroll inside
Tappi landing page
09

The outcome

Tappi works end to end against Bitnob's sandbox: naira account numbers, test deposits, swaps, bank withdrawals, crypto sends and a USD card, with receipts that trace back to the provider. Card charges at the terminal are simulated in test mode and need a card acquirer before it can take real users. It demonstrates a ledger-first design where one small service owns all the money.

Work together

Have an idea worth building?

I take products from first sketch to shipped, on the web, on mobile and on-chain. Let's talk about yours.