[Ethereum] How to get a json file (ABI) from a known contract address


I want to watch a Solidity contract using the Mist browser. I know how to do that and it needs the address and the json. I have the address, but I don't have the json. I do have the source code.

Can I generate the json from the source code and/or the Ethereum address?

Best Answer

The JSON is called an ABI.

You do need the source code, as you have, and one way to get the ABI is to paste it in Remix IDE, compile it, and then click the 'ABI' button to copy the ABI into your clipboard.

Related Topic