LarzCrowd — All-or-Nothing Crowdfunding, Built in Larzscript
A pledge is a real pay into escrow, not a stored card charge. At the deadline, exactly one thing happens: the goal is met and the creator gets paid, or it isn't and every backer gets their exact pledge back.
What LarzCrowd actually does
LarzCrowd runs real crowdfunding campaigns: backers pledge real money straight into a campaign's escrow wallet the instant they commit, not a stored authorization charged later. At the deadline, settle checks every open campaign at once — funded ones pay the creator (minus a platform fee), missed ones refund every single backer their own exact amount.
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. Two campaigns run side by side: Widget asks for $100, Moonshot asks for $1000.
larzscript bin/larzcrowd.lz create dana "Widget" "make widgets" 100 --deadline=1 larzscript bin/larzcrowd.lz pledge 3c8226e6 alice 30 larzscript bin/larzcrowd.lz pledge 3c8226e6 bob 80 larzscript bin/larzcrowd.lz balance alice
created 3c8226e6 "Widget" goal $100 pledged $30 from alice pledged $80 from bob alice: $70
alice's balance already dropped by $30 the moment she pledged — the money is genuinely in the campaign's escrow wallet, not a promise tracked in a database row.
larzscript bin/larzcrowd.lz settle larzscript bin/larzcrowd.lz balance dana larzscript bin/larzcrowd.lz balance carol
3c8226e6: FUNDED - paid out $104.5 (fee $5.5) e0b55279: missed goal - refunded 1 backer(s) dana: $104.5 carol: $100
One settle call, two different real outcomes: Widget cleared its $100 goal and paid dana (minus the platform's cut), while Moonshot fell short of $1000 and refunded carol her exact $40 pledge — the same mechanism the course's error-handling lesson relies on, closed by a require that the escrow genuinely drains to $0.00 afterward.
Why it matters
pay only ever moves money between two wallets at a time, so refunding a dozen different backers their different amounts takes a real loop — one pay per backer, the same money-native core the Money-Native Basics lesson teaches. LarzCrowd is what that looks like holding real escrowed funds for real people: open source, real interpreter, no mocked output.