Docs
What Scrip does, and what it refuses to do.
Scrip is a rule on your wallet: a slice of every dollar that lands becomes stock, in the same wallet, with a receipt. It never decides amounts, never holds an asset across a slot, never gives advice.
Four objects
- A rule — a rate, an asset, an optional floor and cap — on your own USDC account, held in a Book you own, enforced by the program, driven by permissionless keepers.
- A receipt — a permanent on-chain account written in the same transaction as the conversion, measured at 7 and 30 days.
- A pay link — /pay/<handle> — the intake for attributed payments: an invoice with a reason, a gift, a payment to someone with no rule yet. Same conversion, same receipt, different signer.
- A public ledger — every receipt, and keep-rate.
The rule
Turn on. You open a Book (a handle, an asset, an eligibility attestation) and turn the rule on in one signature: the rate, floor and cap are written; your current USDC balance becomes the watermark; an allowance is approved to the Book’s address as token delegate; a small SOL float is deposited on the Book to pay for receipts and keeper tips.
Sweep. Whenever your USDC balance rises above the watermark by at least the minimum, a keeper submits one atomic transaction: the program computes the slice from on-chain state, moves exactly that much USDC through the delegate, a Jupiter swap turns it into the asset landing directly in your own token account, and the program verifies what arrived against Pyth and writes the receipt. If any step fails, nothing moves.
Pause. One click calls the token program’s revoke. No sweep can happen until you approve again. Resuming resets the watermark to the current balance, so money that landed while paused is not taxed. The program cannot prevent a pause.
The program
Anchor, id Fbp8fBdCnT8Pv1g5vJ8brPZm1U4yWLtUsEtoac8A16gj. Four account types: Book, Handle, Payout, Receipt. Fifteen instructions, and anything not listed does not exist. The program never CPIs Jupiter: swaps are top-level instructions in the same transaction, and the program makes the transaction atomic around them with instruction introspection, the pattern flash-loan programs use.
How the rule sees money · What a keeper can and cannot do · Receipts · Keep-rate · Corporate actions
What it is not
Not a trading terminal, a robo-advisor, a lender, a card, a social feed, a launchpad or a brokerage. Not our custody: your USDC and your stock sit in token accounts you own; the program holds a rule and writes receipts. Not stable: equities fall, and the interface says so.