generate_deployment_script
Create deployment scripts for GenLayer contracts on localnet, studionet, or testnet with configurable constructor arguments and deployment options.
Instructions
Generate deployment scripts for GenLayer contracts supporting different networks (localnet, studionet, testnet) with configuration options
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": {
"script_type": "<script_type>",
"contract_path": "<contract_path>"
},
"name": "generate_deployment_script"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| script_type | Yes | Type of deployment script to generate | |
| network_target | No | Target network for deployment | localnet |
| contract_path | Yes | Path to the contract file | contracts/my_contract.py |
| constructor_args | No | Constructor arguments for contract deployment | |
| deployment_options | No | Additional deployment configuration |