Metamask – How to Call Deployed Contract Functions

metamasksolidity

I'm learning Solidity. I've set up Metamask, truffle and testrpc. I can send ether from one account to another via metamask. But I want to Metamask to access my deployed contract, and call my contract functions.

Question: Can I test and interact with my deployed contract using metamask?

Best Answer

Not using Metamask alone, but you can in combination with other tools. One such tool is MyEtherWallet; go to the "Contracts" tab, enter the contract address and ABI, click Access, and then choose "Metamask/Mist" as the means you want to access your wallet. Then MyEtherWallet will give you the UI to construct the transaction, and when it's time to broadcast it, it will give you a Metamask popup to sign and transmit it.

Related Topic