Quite often, once a smart contract is deployed, you will need to change some of its parameters. For example, you might want to modify the pre-sale start and end dates of a fundraiser contract, or increase/decrease the conversion rate of the same.
Update: Since this guide has been posted, MyEtherWallet have updated their web application, which now requires users to first access their wallets before they can use MEW. For the purposes of this guide, we recommend using MetaMask as it is really easy to manage smart contracts with it.
The easiest way you can interact with a smart contract is via MyEtherWallet’s Interact with Contract interface:
The form has just two fields:
Once you provide those two just click the Continue button and you will be connected and ready to interact with the contract:
Using the Select an Item dropdown, you can select functions and parameters and interact with the smart contract. Once you select a function, a form will load with the appropriate parameter fields:
Clicking the Write button will generate a transaction that will call the contract function. Once signed and mined, the function is executed and the smart contract’s state is changed.
Using the same interface, you can also check the status of parameters of the contract, thus confirming that the method you called worked as expected.