I want to sorta "undeploy" smart contract as it was not deployed ever. If it is possible, I hope it will cleanup account's RAM. And I'm not talking about freezing .


cleos set contract --help

Specifically you want --clear

You are required to manually clear the contract tables if you no longer want the data. Clearing a contract with existing data will not remove the RAM used to store the data in tables.

  • Basically I look at this docs thought I know it can be old ), I should make a habit to look more at --help. Thank you. Oct 8 '19 at 11:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.