Skip to main content
VhyxSealPlayground

Level 1 — One Prop

Add a single intent prop. The intent vocabulary knows that 'place-order' is high safety, requires confirmation, and is reversible. One prop fills in the most important contract fields.

Button with intent="place-order"

PARTIAL — intent fills in defaults

safetyLevel: high · requiresConfirmation: true · reversible: true

resolveIntentDefaults("place-order") — what the vocabulary fills in

{
  "safetyLevel": "high",
  "reversible": true,
  "requiresConfirmation": true,
  "destructive": false
}

Resulting contract (intent + minimum fields)

{
  "safetyLevel": "high",
  "reversible": true,
  "requiresConfirmation": true,
  "destructive": false,
  "id": "level-1-place-order-btn",
  "type": "action",
  "intent": "place-order",
  "description": "Places an order",
  "requires": [],
  "requiredPermissions": [],
  "consequence": "Order is placed",
  "affects": [
    "orders"
  ],
  "contractVersion": "1.0.0",
  "fingerprint": "vhyxs_4d538605",
  "lastVerified": "2026-10-04T17:10:35.921Z",
  "verifiedBy": "auto"
}