soma.cell

Programs using a whole verified service

2 verified Soma programs that use a whole verified service. Start from one of these when you write a program that needs it.

ProgramLinesUses
Payments approval — a whole service in one file: a ledger that cannot overdraw, a payment lifecycle the verifier proves, an HTTP API that maps error kinds to status codes, and tests that run offline165a state machine, a memory invariant, HTTP routes, match, try / catch, require / fail, several cells, a whole verified service
Warehouse reservations — two cells: a stock ledger with hard bounds and a reservation lifecycle with a supervisor guard, behind one HTTP router187a state machine, a memory invariant, HTTP routes, match, try / catch, guard blocks, require / fail, several cells, a whole verified service