Check Xahau Hook / WASM compatibility
check_hook_compatDetermines if a dApp's Xahau account uses a Hook and outputs the workflow to build, simulate, and prove spend invariants.
Instructions
When a dApp settles value on Xahau through a Hook-guarded account, hands off to the trifecta: build/lint the Hook with xahc, simulate it with xahau-mcp, and PROVE the spend invariant with xahc-prover. Returns the recommended workflow.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"involves_hook": "<involves_hook>"
},
"name": "check_hook_compat"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| what | No | what the hook should enforce, e.g. 'per-tx spend limit' | |
| involves_hook | Yes | does the dApp's Xahau account run a Hook? |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repos | No | ||
| workflow | No | ||
| involvesHook | No |