Generate a HotPocket dApp
generate_contractGenerate deterministic-by-construction HotPocket dApp file set from a template, including contract, state helper, and client.
Instructions
Generate a deterministic-by-construction HotPocket dApp file set (contract + state helper + hp.cfg.override + package.json + client) for a template.
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": {
"template": "<template>"
},
"name": "generate_contract"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | project/contract name (default: mycontract) | |
| template | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | No | ||
| notes | No | ||
| template | No |