boilerplate contracts
Reusable .ct starting points for common UTXO_Compiler contract patterns. Code comments are localized when paired EN / ZH comments are available.
| File | Pattern |
|---|---|
accumulatorMultiSig.ct | Threshold multisig with selectable participants |
atomicSwap.ct | Hash-lock claim plus timeout refund |
auction.ct | Stateful auction with bid and close paths |
clone.ct | State-continuation clone verifier |
coinToss.ct | Commit-reveal coin toss |
counter.ct | Stateful counter with increment-only continuation |
counter2.ct | Stateful counter with increment, decrement, and reset |
demoBitVM.ct | BitVM-style boolean gate proof |
multiPartyHashPuzzleOpt.ct | Combined-hash puzzle optimization |
oracleDemoBsv20.ct | Schnorr-signed BSV20 oracle message verifier |
ordinalAuction.ct | Ordinal auction with higher-bid state continuation and deadline close settlement |
ordinalLock.ct | Permissionless ordinal purchase with seller-signed cancellation |
ordinalSwap.ct | Ordinal swap settlement and cancel flow |
p2pkh.ct | P2PKH-style signature lock |
pricePredictionOracle.ct | Oracle-settled price prediction payout |
timedCommit.ct | Timed commitment with open and forfeit paths |