eos
eos copied to clipboard
How to delete a contract corresponding to the account
now, i want to delete a contract corresponding to the account,what should I do?
There's no way to delete the contract. However you can upload a smaller one to get some RAM back.
You can also push a setcode transaction with an empty setcode.code.
ok, this is a good solution,thank you。
thanks @heifner for your answer
At one point I thought we had the ability to do that by passing 'null' to cleos set code.