scaffold_hook
Generate a starter Xahau Hook C source for specified intent (accept_all, firewall, etc.) with build instructions and guards, ready for offline compilation and verification.
Instructions
Generate a starter Xahau Hook in C for a stated intent (accept_all, firewall, payment_limit, require_dest_tag, state_counter, notary) — structurally valid (hook() entry, _g guards, accept/rollback) with build instructions. A STARTING POINT to compile + then verify with analyze_hook/execute_hook before deploying. Offline.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| maxDrops | No | for payment_limit: max native drops to allow | |
| archetype | Yes | ||
| blockTxType | No | for firewall: tx type to reject, e.g. Payment |