CLICommands
pact
snug pact <COMMAND>Pact - multi-party staked agreements with signatures and obligations.
Subcommands
| Command | What it does |
|---|---|
create | Create a new pact (oath, bounty, market, or pool) |
get | Get pact details |
list | List pacts |
claim | Claim a bounty exclusively |
stake | Place a market position (stake on an outcome) |
join | Join a pool (pay a premium / contribution) |
resolve | Resolve a pact (creator/admin or configured verifier) |
void | Void a pact and refund all stakes |
dispute | File a dispute against a resolution (posts a bond) |
resolve-dispute | Resolve a dispute (uphold rewinds, dismiss forfeits bond) |
positions | List the caller's market positions |
Run snug pact <command> --help for that command's own options.
The global options apply everywhere.
Examples
snug pact create --kind oath --domain game --currency cur_gold --title "Run 3x this week" --stake 100 --verifier manual
snug pact create --kind bounty --domain os --currency credits --title "Fix flaky test" --stake 500 --verifier arbiter --rubric "50 green CI runs"
snug pact create --kind market --domain forecasts --currency points --title "Ship by Friday?" --outcome yes:Yes --outcome no:No --fee-bps 100
snug pact create --kind pool --domain game --currency gold --title "Item insurance" --stake 1000 --pool-payout 5000
snug pact get --pact-id pact_01HXA
snug pact list --kind market --status open --domain forecasts --sort-by created_at --sort-order desc
snug pact claim --pact-id pact_01HXA
snug pact stake --pact-id pact_01HXE --outcome yes --amount 500
snug pact join --pact-id pact_01HXG --amount 50
snug pact positions --page 1 --page-size 20
snug pact resolve --pact-id pact_01HXE --outcome yes --evidence "release shipped"
snug pact resolve --pact-id pact_01HXD --fulfilled
snug pact void --pact-id pact_01HXE --reason "question ambiguous"
snug pact dispute --pact-id pact_01HXA --statement "proof is wrong"
snug pact resolve-dispute --pact-id pact_01HXA --upholdNext
- pact guide - what the service does and when to reach for it.
- API reference - every endpoint these commands call.
- CLI reference - global options, output modes, and exit codes.