larzescrow
Hold funds from a payer, release to a payee - or refund.
A small, honest showcase of the language's own wallet/pay primitives, no new runtime support needed - the caller owns the holding wallet (declare it, pass it in), this package is just the open/release/refund vocabulary on top of a real pay statement. Every dollar moved is a real wallet transaction, not a bookkeeping entry that could drift from reality.
larzscript pkg install escrow
What you get
- Built directly on real wallet/pay keywords
- open()/release()/refund() - the whole vocabulary
- The caller owns the holding wallet - full visibility
- Every hold is a real transaction, not a side-ledger
Try it
import "escrow" as escrow
wallet buyer = $100.00
wallet seller
wallet held
escrow.open($40.00, buyer, held)
print("buyer:", buyer, "held:", held)
escrow.release($40.00, held, seller)
print("held:", held, "seller:", seller)Output
buyer:held: held: seller:
Why it's in the Larz Stack
larzescrow is a real Larzscript package (larzscript pkg install escrow) - money-native, zero dependencies, the same language as the rest of the estate, not a separate Python runtime. It composes with the rest of the Larz Stack and the Larz framework.