Seam
Low bandwidth Cashu and Nostr remittance that keeps moving when the network does not.
Inspiration
In Lagos and Kano, the pattern is normal: power cuts at 9pm, phone on one bar, a market sale stuck because a Lightning payment fails halfway and the sats are in limbo. Data is expensive, 3G drops, and buying or selling with crypto still assumes everyone is online at the same time. We wanted money that behaves like cash. Hand it over now, settle later. That is what Seam is: swap Lightning into compact Cashu tokens when you have signal, then send them anywhere text can go, even with zero bars.
What it does
Seam is a mobile first remittance app built for the Dakar Bitcoin Hack 2026.
- Top up: swap sats from Lightning into Cashu ecash bearer tokens (a few hundred bytes each) while online.
- Send offline: seal an amount into a token and hand it over as an encrypted Nostr DM (NIP-17 gift wrap), SMS or WhatsApp text, or an offline QR code. The recipient needs zero internet to receive it.
- Claim later: the recipient pastes or scans the token and melts it back to Lightning when reconnected.
- Offline outbox: failed Nostr sends queue locally in AsyncStorage and retry on reconnect. Low bandwidth mode uses one relay and no images.
Demo mode is ON by default, so judges can run Mint 100, Seal 50, show the live QR, and claim it back with zero sats and fully offline. Turn demo off in Settings for real Lightning invoices against a test mint.
How we built it
One codebase for Android, iOS, and web: Expo SDK 58 with TypeScript and Expo Router, no backend, only mints plus public relays.
- Cashu:
@cashu/cashu-tsv4 with a real testnut mint path plus an offline demo mock so judging never depends on funds or signal. Live melt is quote only in the MVP. - Nostr:
nostr-toolsNIP-17 gift wrap send, inbox poll with a 7 day window, and an offline outbox queue. Verified live with a wrap and unwrap round trip againstwss://nos.lolandwss://relay.primal.net(4 of 4 publishes acked). - Identity: device Nostr key in SecureStore, balance and outbox in AsyncStorage.
- Screens: Home, Mint, Send, Receive, Settings, all in Expo Router. .
Challenges we ran into
relay.damus.ioreturned HTTP 503 to WebSocket upgrades from our network, so low bandwidth single relay mode had to fail soft into the outbox instead of hard failing. We keptnos.lolas the reliable default.- Our Node test harness hit an undici and
nostr-toolsstack overflow that looked like a library bug. It was test only. The same NIP-17 path passes on device and in the app networking stack.
Accomplishments that we're proud of
- A working MVP that runs end to end with no sats and no signal in demo mode, plus real invoices in live mode.
- Live verified Nostr DMs, not mocked: NIP-17 round trip OK, outbox retry included.
What we learned
- Offline first changes the design. Queues, bearer tokens, and claim later flows matter more than live payment speed when signal is the exception.
- One relay is a feature for low bandwidth, but only with honest failure handling. The outbox is the product, not the error toast.
- Small tokens win. A few hundred bytes fit in SMS, WhatsApp, and QR, which is the whole point when data is the bottleneck.
What's next for Seam
- NWC wallet connection (Alby, LNbits) so Lightning lives in app.
- Persistent proof wallet plus one tap melt to any invoice.
- P2PK locked tokens so only the recipient key can claim.
- Relay health auto pick plus Hausa, Wolof, and French copy for the markets we are building for.
Built With
- nostr
- react-native
