init_klever_project
Scaffold a new Klever smart contract project using the SDK. Creates Rust project structure and automation scripts for build, deploy, upgrade, query, test, and interact.
Instructions
Scaffold a new Klever smart contract project using the SDK. Creates the Rust project structure via ksc new and generates automation scripts (build, deploy, upgrade, query, test, interact). Requires Klever SDK installed at ~/klever-sdk/. Run check_sdk_status first to verify.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The contract project name in kebab-case (e.g. "my-token", "nft-marketplace"). Used as the Cargo package name and directory name. | |
| template | No | Project template to scaffold from. "empty" creates a blank contract with just an init function. "adder" creates a simple counter example. Default: "empty". | empty |
| noMove | No | When true, keeps the project in the SDK output directory instead of moving it to the current working directory. Default: false. |