Writing

Notes on building systems.

Occasional writing on backend architecture, crypto custody, offline-first design and the finance-meets-engineering mindset.

Nov 28, 202611 min read

MPC vs multisig vs HSM: key management for custody, compared

Four ways to hold custody signing keys, compared by what they cost to run rather than by vendor claims: ceremonies, staff, fees, failure modes and the audit story. With the layered pattern regulated venues end up with.

fintechsecuritycustodycryptoarchitecture
Nov 11, 202610 min read

Reconciling ledger, balance and custody state

An accountant-turned-engineer's take on keeping three sources of truth in agreement: the ledger, the custodian and the chain, with the job design and alert thresholds that survive on-call.

fintechledgersreliabilitycustodycrypto
Three columns, ledger, custodian and chain, compared at one cutoff; in-flight items explain the gap and what remains is the break.
Nov 7, 202610 min read

Crypto custody architecture, end to end

The hub for everything here about custody: key layer, wallet topology, deposit and withdrawal pipelines, the ledger as system of record, governance and operations, and where each deep dive lives.

architecturecryptocustodyhub
Crypto custody architecture: key layer, custody service layer and double-entry ledger
Oct 24, 20266 min read

Idempotency in payment systems, explained

Why a retry can take money twice, what an idempotency key actually guarantees, and the gap between the HTTP definition and what payment providers really do.

idempotencypaymentsapi-designfintechreliability
Idempotency in payment systems
Jun 1, 202610 min read

Designing provider-agnostic crypto custody

How to add a second custody provider alongside a live one — without coupling your business logic to either.

architecturecryptocustody
Provider-agnostic crypto custody
May 10, 20266 min read

Building offline-first for low-connectivity markets

Lessons from shipping a POS that has to work for days without a network — and reconcile cleanly when it comes back.

offline-firstmobilesync
Timeline diagram: sales keep happening during days without network, then a reconcile step surfaces what conflicts when the connection returns.