Scaffold Intelligent Contract
genlayer_scaffold_contractCreate a deploy-ready GenLayer intelligent contract from templates like storage or token, avoiding common deployment errors.
Instructions
Generate a working starter GenLayer intelligent contract for a chosen template. The output has the runner header pinned and avoids the common deploy-killers.
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": "genlayer_scaffold_contract"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Optional contract name (becomes the class name). | |
| template | Yes | storage | llm-judge | web-oracle | token |