0

I want to analyze the Solidity version of the source code of the smart contract of a crypto coin.

I can get the ABI from Etherscan and I can get the smart contract from, say, Github. (Assume the author is willing to share the repository link with me.)

Now, I need to audit the source code on Github to make sure it's the same source code that generated the ABI on Etherscan.

What is the best way to accomplish this? I am seeking, ideally, some free tool on the internet.

1
  • If there is ABI on etherscan for a contract, means the contract is verified, and there should be also the source codes. If you have the source code, you just need the bytecode of the contract and compare it with the compiled bytecode from sources.
    – tenbits
    Jan 11 at 19:53

1 Answer 1

0

You can Verify it by

  1. Comparing the full metadata of deployed Smart Contract and the Smart Contract you have

  2. Basically Comaparing the ABIs of deployed Smart Contract and the Smart Contract you have

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.