Platforms · 2026 · Lead engineer
Lion Affiliates & Lion Pay
An affiliate portal with its own authentication service, and a payment hub with an append-only ledger
Private client work: no customer data is shown; the engineering details are mine to share.
Architecture
Architecture: affiliate UI, auth service, data adapter, payment hub with ledger and processor adapter
What it is
Lion Affiliates: a Next.js / TypeScript portal for affiliates, rebuilt on a dependency-free auth service (scrypt, HS256 JWT, refresh-token rotation) and a data adapter over the operator's wallet API. Lion Pay: a payment-intent state machine, an append-only ledger, reconciliation and a crypto-processor adapter.
Highlights
- 20 defects found and fixed in review before launch
- Payment hub: 8,000 lines, 178 tests