deploy_sc
Build an unsigned smart contract deployment transaction for the Klever blockchain using a WASM file or hex bytecode. Returns the unsigned transaction for client-side signing.
Instructions
Build an unsigned smart contract deployment transaction for the Klever blockchain. Provide either wasmPath (preferred — reads the file server-side) or wasmHex. Returns the unsigned transaction for client-side signing. The MCP server NEVER handles private keys.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sender | Yes | Deployer address (klv1... bech32 format). | |
| wasmPath | No | Absolute path to the compiled WASM file (preferred over wasmHex to avoid loading large binaries into AI context). | |
| wasmHex | No | Smart contract WASM bytecode as a hex-encoded string. Use wasmPath instead for large contracts. | |
| initArgs | No | Optional base64-encoded init arguments for the contract constructor. | |
| network | No | Network to use. Options: "mainnet", "testnet", "devnet", "local". Defaults to server default (mainnet). |