@jthor.eth
This actually already happens for solidity, but most people don't know about it. Hopefully we can have better tooling around it.
Ref:
https://docs.sourcify.dev/blog/talk-about-onchain-metadata-hash/
https://x.com/joelthorst/status/1922220424676704489