Live · v1.11. Oct 2026 – Present.
Kuentas Online
End-to-end-encrypted bookkeeping
Phone-first bookkeeping for small businesses across Latin America, Spain and Portugal, in Spanish, Portuguese and English (sales, stock, debts, loans); the server only ever sees ciphertext.





What I built
- Designed the cryptographic protocol on libsodium/WebCrypto (X25519, Ed25519, XChaCha20-Poly1305, Argon2id): a hash-chained commit log devices refuse to fork, a signed role roster from a pinned genesis hash, and per-role compartments the server can withhold; revoking a member forces key rotation.
- Any home currency, with live rates from central banks and local sources (ECB, Brazil's PTAX, Argentina's and Venezuela's parallel rates); offline-first on encrypted SQLite in WASM. Shipped 1.0 two weeks after the first commit; ~3,000 tests.
More of the detail
- Versioned byte formats with test vectors and context-bound signatures.
- Sync engine with transactional change capture, an outbox, verification before apply, and quarantine so one bad record never stalls a sync round.
- A schema test fails if any record table is ever migrated to the server; query-count tests hold key screens to a constant number of queries regardless of data size.
- Every record keeps the exchange rate it was converted at, and 19 releases shipped in the first five weeks.
- Device pairing with a 50-bit code and a public Argon2id commitment; 12-word recovery phrase; passkey (WebAuthn PRF) or PIN lock.
- Book and viewer time zones are distinct branded types, so mixing them up is a compile error.