Skip to content

Hackathon build. Runs on a test mint.

Swipe right
to give
a nickel.

Top up a small balance, swipe through verified charities, and each right swipe gives up to 5¢. Swipes are free, instant ledger entries on a pool of Cashu ecash, and each charity gets one batched payment once its total reaches $1.

  • Open source, MIT
  • Nut November 2026
  • Cashu NUT-03, 04, 05, 07, 08, 09, 13

Why ecash

A nickel is too small to send the usual way.

The problem

  • By card A 5¢ gift cannot survive card fees.
  • By Lightning, one payment per swipe Paying an invoice for every swipe is slow and fee-heavy.

The answer

  1. Swipes are ledger entries. Nothing moves when you swipe. The server writes one line to its ledger, so a swipe is free and instant.
  2. The money sits as ecash. Top-ups become Cashu ecash proofs in one pool, from one mint.
  3. Each charity gets one batched payment. A settlement job pays a charity once its unpaid total reaches $1, the default threshold.
Twenty swipes of 5¢ make $1. The charity gets one payment, not twenty.

How it works

How the money moves

Money moves twice: when a donor tops up, and when a charity is paid. Everything in between is bookkeeping.

  1. From

    Donor wallet

    Holds ecash from the pool’s mint, or pays over Lightning.

  2. Held as ecash

    The GiveSwipe pool

    Ecash proofs from one mint. The server stores the proofs. The mint backs them.

    3 Ledgerfree, instant

    • swipe, Riverbend+5¢
    • swipe, Corner Table+5¢
    • swipe, Riverbend+5¢

    Riverbend, unpaid total$1.00

    Swipes are recorded on the ledger. No ecash moves.

  3. To

    The charity’s Lightning Address

    One payment for the whole batch.

  1. 1 Top up with ecash

    The donor pastes a Cashu token from the pool’s mint. The pool swaps it at the mint for fresh proofs (NUT-03), so the token cannot be spent twice.

  2. 2 Or top up over Lightning

    The mint issues the invoice as a mint quote (NUT-04). Once it is paid, the pool mints proofs for it.

  3. 3 Swipe

    Each right swipe moves up to 5¢ from the donor’s balance to a charity’s unpaid total. It is a ledger write, so it is free and instant.

  4. 4 Pay out

    When a charity’s unpaid total reaches $1, the pool melts proofs (NUT-05) to pay one invoice fetched from the charity’s Lightning Address over LNURL-pay. Each payout keeps back a small allowance (1.5% by default, at least 4 sats) for the mint’s Lightning fees. Unused fee reserve comes back as change (NUT-08).

The Cashu details

Library
@cashu/cashu-ts ^4.14
Pool
Ecash proofs from one mint, stored in SQLite (table cashu_proofs)
Interrupted melt
Proof states are checked at the mint (NUT-07) to settle it
Lost answers
Every output the pool asks for comes from its seed and a counter that is saved first (NUT-13). If the mint signs and the answer never arrives, the pool asks for it again (NUT-09).
Mints
The tests run against Nutshell 0.22.1 with a fake Lightning backend. This demo uses the public test mint, which runs cdk-mintd. Neither moves real money.
Other rails
mock (moves nothing; used when no mint is set), nwc (any NIP-47 Nostr Wallet Connect wallet, so far run only against a fake wallet) and coinos (legacy), behind the same interface

Who it is for

Two sides, one ledger

For donors

Account
No email and no name. The app makes an anonymous account the first time you open it.
Top up
Paste a Cashu token, or pay a Lightning invoice.
Per swipe
At most 5¢.
Per day
A daily limit, $5 by default, stops runaway swiping.
History
See where your gifts went and how much has been delivered.

The app is not in an app store yet. For now you can try it in your browser, watch the demo or run it yourself.

For charities

1. Apply
Apply with a Lightning Address. It has to resolve before your application is accepted.
2. Verify
Prove you control your website’s domain with a DNS TXT record, a file under /.well-known, or a meta tag on your home page.
3. Get approved
An admin cannot approve you until the domain verifies. Your card then shows a verified-domain badge.
4. Get paid
One payment each time your total reaches $1. Each payout keeps back a small allowance (1.5% by default, at least 4 sats) to pay the mint’s Lightning fees.

Demo

Watch the demo

A minute and a half, narrated: topping up with ecash, a few swipes, and one payout from the mint. Then try it yourself; the test ecash is free.

Try the live demo

Open source

Read it. Run it.

GiveSwipe was built in November 2026 for Nut November, a month-long Cashu hackathon. The code is public under the MIT license.

Everything except the unmodified create-expo-app starter template and a seven-line Babel config was written that month. Built by Carter Cole, working with Claude Code as a coding agent.

Run it yourself

# a throwaway mint with fake Lightning,
# the server, and the app in a browser
git clone https://github.com/CarterCole/giveswipe
cd giveswipe
docker compose up --build

# the app
open http://localhost:8787/app
# the admin page (token: demo-admin)
open http://localhost:8787/admin

Status

This is a hackathon build. It runs against a test mint and has not moved real sats yet. The charities in this demo are made up, and it pays them out at 10¢ so you can watch it happen.

The pool is custodial: donors trust the platform and the one mint it uses. The server’s tests include end-to-end runs against a real Nutshell mint with a fake Lightning backend. The iOS app is not in the App Store, and shipping it has open policy questions.