Skip to main content
A program is the top-level container in Scrip. It holds rule sets and rules, links to assets, and scopes participants. Rules in one program never run for events sent to another program. Scrip creates a default rule set with each program. See Rule sets for named sets and execution order. Each program also has a wallet per PREFUNDED asset: fund it, credits draw it down, and credits fail with insufficient_funds when it is empty. Wallets are independent per program even when an asset is shared, so funding one program never affects another.

Endpoints

  • Create, list, get, and update programs
  • Fund and burn program wallet balances for PREFUNDED assets
  • Link and unlink assets
  • Set enrollment behavior via on_unknown_participant (CREATE or REJECT)
  • Change program status between ACTIVE, SUSPENDED, and ARCHIVED
For usage patterns and examples, see the Programs guide.