Larzscript Flagship Projects

LarzBounty — Escrow-Backed Coding Bounties, Built in Larzscript

Post a bounty, and the price moves into real escrow immediately. A solver's submission runs for real, in a real sandboxed process, against the poster's own checks — a genuine pass releases the escrow automatically, no human approval needed.

What LarzBounty actually does

A poster posts a task with a price; that price is held in real escrow the moment it's posted, not a database status flag. A solver's submit runs their actual code in a real sandboxed process, against the poster's own checks — a genuine fail leaves the escrow exactly where it was, a genuine pass releases it to the solver automatically. An unclaimed bounty past its deadline gets fully refunded to the poster.

Every line below is the real output of sh examples/demo.sh against the actual interpreter — re-run fresh for this page, not copied from documentation. alice posts $10 for a real task.

larzscript bin/larzbounty.lz post alice "reverse a string" 10 --checks=examples/checks.lz
larzscript bin/larzbounty.lz balance alice
larzscript bin/larzbounty.lz submit ec247217 bob examples/wrong_solution.lz
larzscript bin/larzbounty.lz balance bob
Output
posted ec247217  "reverse a string"  $10
alice: $90
failed: checks did not pass (see output)
bob: $0

alice's balance already dropped by $10 the moment she posted — genuinely escrowed. bob's first attempt is real code that genuinely fails the real checks; nothing moves.

larzscript bin/larzbounty.lz submit ec247217 bob examples/solution.lz
larzscript bin/larzbounty.lz balance bob
larzscript bin/larzbounty.lz balance alice
Output
PASSED - escrow released to bob
bob: $10
alice: $90

bob's second attempt genuinely passes the same real checks, and the escrow releases automatically — no human in the loop approving the payout, just a real test run deciding it.

Why it matters

LarzBounty is the series' most direct callback to the course's own Testing lesson — the exact same discipline of real, run-for-real checks, now gating a real payment instead of a green checkmark. The refusal itself still runs on require, same as every other flagship project, covered in the error-handling lesson.

View source on GitHubFlagship ProjectsLarzscript Course