wallet-cli contract

August 17, 2026 · View on GitHub

Call, send, deploy, inspect, and govern smart contracts.

The governing part is the deployer's: who pays a call's energy, and whether the contract keeps an ABI on chain. Those settings belong to the account that deployed the contract and take effect as soon as the transaction confirms. create2 is unrelated to any of that — it is local arithmetic over an address that does not exist yet.

Synopsis

wallet-cli contract COMMAND

Subcommands

CommandPageDescription
contract callcall.mdRead-only call (triggerConstantContract)
contract sendsend.mdState-changing call (triggerSmartContract)
contract deploydeploy.mdDeploy a smart contract
contract infoinfo.mdShow contract ABI + metadata
contract clear-abiclear-abi.mdClear the on-chain ABI (irreversible)
contract set-origin-energy-limitset-origin-energy-limit.mdEnergy the deployer covers per call
contract set-user-resource-percentset-user-resource-percent.mdShare of a call's energy paid by the caller
contract create2create2.mdCompute a CREATE2 address locally

See also

Energy & bandwidth · tx status