zjecywdv
4 months ago  Karma: 103
Check if a deployed smart contract is matching the source code or not

Any method of checking if a deployed smart contract is matching the source code or not?

en
ethereum
zjecywdv
4 months ago  Karma: 103
Check if a deployed smart contract is matching the source code or not

Any method of checking if a deployed smart contract is matching the source code or not?

en
ethereum

3 ANSWERS
ennvlxkm
4 months ago Karma: 761

You​ can use this tool: https://etherscan.io/verifyContract.
Note that the same compiler version must be selected. Also, the optimization flag must be set accordingly.

You​ can use this tool: https://etherscan.io/verifyContract.
Note that the same compiler version must be selected. Also, the optimization flag must be set accordingly.

kaijchang2
4 months ago Karma: 19846

Yes, you can compile your source code and then compare the bytecode to that of the contract, and if they match, then the contract was compiled from that identical contract.

Yes, you can compile your source code and then compare the bytecode to that of the contract, and if they match, then the contract was compiled from that identical contract.

akhil.goda
4 months ago Karma: 240
Earn tokens by posting and answering questions about blockchain!
Karma to eth
YOUR ANSWER