Deleting Data From A Smart Contract
Published in
3 min readApr 2, 2022
With Ethereum we can create a stateful system, and where we can add and remove data from data stored in a smart contact. This is a stateful system, and where we change the state of the smart contact, and which will require the payment of some case to the miners. But how do we delete data?
So here’s a smart contract to add and remove strings into myArray: