home / ethereum / solidity-metadata-decoderlocal
Solidity Metadata (CBOR) Decoder
Read the compiler version and IPFS metadata hash that Solidity appends to contract bytecode.
solidity-metadata-decoderready · runs in this browser
Runs locally in your browser. Nothing you type is sent anywhere.
ethereum tools · free · runs in your browser · no sign-up · no wallet
01 // about this tool
The end of most contract bytecode is a small CBOR block holding the Solidity version and an IPFS hash of the metadata file. It tells you which compiler built the contract.
02 // how to use it
- Paste the full runtime bytecode.
- Press Run.
- Read the compiler version and IPFS hash.
03 // faq
Why is nothing found?
Some contracts are compiled without metadata, or the bytecode was cut short.
What is bzzr?
A Swarm hash used by Solidity before version 0.6.