If I plan to have a develop on DApp, how can I retain control over it. Either for doing further enhancements or bug fixes. Can I able to delete any abandoned contracts?


1 Answer 1


You can delete abandoned contracts. Have a look at the greeter contract.

/* Function to recover the funds on the contract */
function kill() { if (msg.sender == owner) selfdestruct(owner); }

Contracts have a selfdestruct() method that allows an account to retrieve its funds.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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