Skip to content

fragment-dev/fragment

v0.1.10MIT

Build money flows in your app (prepaid credits, wallets, payouts, escrow, spending limits) on a Fragment ledger whose rules the ledger itself enforces, and prove them with an independent judge.

money-flows

Load this before designing or writing any code that keeps balances of money or credits in an app, even for a quick sketch or a short answer. Covers prepaid credits and promo credits, wallets, top-ups, usage drawn from a balance, reservations or holds for long jobs, marketplace payouts and fee splits, escrow, refunds and chargebacks, and spending limits or budgets for agents and teams. Gives a design where a Fragment ledger enforces the rules (no negative balance, exact splits, settle or capture once), with tested recipes and code.

Read SKILL.md at the source

Pinned to revision b8ba012db119, so it is the text this page describes rather than whatever the author pushed since.

Files

Every link opens the file at its source, pinned to the revision this page describes.