outdoteth / solwaifu

golfin with good !vibes
197 stars 19 forks source link

How can I validate contract code on etherscan #7

Open wujunze opened 1 year ago

wujunze commented 1 year ago

Hello: I have successfully deployed the contract to the ETH network, may I ask how to verify the contract code in etherscan Thanks

devtooligan commented 1 year ago

Hi fren, congrats on getting the contract deployed!

Verifying the contract means to confirm that the source code (Solidity for example) compiles to the run time code found at the specified address.

In this case, pure bytecode is being deployed and there is no source code (other than the bytecode itself). There is also no compilation step since it is already in bytecode. So there is nothing to "verify" on the deployed contract.

Happy New Year! 🎉