Simple question, but I couldn’t find the answer anywhere. How to get the exact bytecode of a smart contract (not creation bytecode) when the source code of contract is available on https://etherscan.io ?
This is for already deployed contracts.
Ethereum Stack Exchange is a question and answer site for users of Ethereum, the decentralized application platform and smart contract enabled blockchain. It only takes a minute to sign up.Sign up to join this community
When deploying through Truffle you can use the contracts
.json file located in
/build/contracts which contains
"bytecode": 0x... and
"deployedbytecode": 0x.... What you want to look at is the