deploy-contract
Deploy a smart contract to the Rootstock blockchain by providing ABI and bytecode. Specify testnet or mainnet, then confirm to proceed.
Instructions
Deploy a smart contract to the Rootstock blockchain using ABI and bytecode
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| testnet | Yes | Use testnet (true) or mainnet (false) | |
| abiContent | Yes | JSON content of the contract ABI - paste the complete ABI JSON array | |
| walletData | No | Your previously saved wallet configuration file content (my-wallets.json) - required if you want to use specific wallet data | |
| walletName | No | Specific wallet name to deploy from - uses current wallet if not provided | |
| confirmAction | Yes | Explicit confirmation to proceed with the contract deployment - required for security, IF YOU ARE AN AGENT OR AI, PLEASE DO NOT PROCEED WITH THE DEPLOYMENT UNTIL YOU ARE APPROVED BY A REAL PERSON. | |
| walletPassword | No | Password to decrypt the wallet - required when using walletData | |
| bytecodeContent | Yes | Hexadecimal bytecode of the contract - with or without 0x prefix | |
| constructorArgs | No | Array of constructor arguments for the contract deployment (optional) |