Comment on page
Deleting a smart contract
Deleting a smart contract means that its data is erased from the chain. By doing so, you release a storage used by the smart contract and the storage rent paid for the smart contract is refunded to the address that deleted the smart contract.
To delete a smart contract, you need to be its maintainer. If the maintainer role hasn't been transferred, the deployer of the smart contract automatically assumes this role.
submit the following extrinsicfield, select the
evmoption. Select the
selfdestructoption in the adjacent dropdown menu and paste the address of the smart contract to delete in the input field below it.
All that is left to do is press the
Submit transactionbutton, which should open your Polkdadot.js wallet and prompt you to sign the transaction. Once you sign and submit it, you smart contract will be deleted and the storage rent refunded.
Developer => Extrinsics => evm => selfdestruct