Writing data into a smart contract

Reading data from a smart contract does not modify the state, while writing data into the contract modifies it. State changing methods can be called only by a transaction and with enough gas for execution. The state will be changed if the transaction satisfies all the conditions placed in the contract method.

In this recipe, you will learn how to interact with the contract using state changing methods.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.191.215.96