Introducing *.getcode.eth: ENS based onchain metadata resolver

Submit
Introducing *.getcode.eth: ENS based onchain metadata resolverethereum-magicians.org
ethereum-magicians.org

Introducing *.getcode.eth: ENS based onchain metadata resolver

AI summary of the linked article

*.getcode.eth is an ENS wildcard resolver, built on ERC-3668, that extracts the metadata hash embedded in a contract's bytecode and resolves it as an ENS contenthash, making it fully onchain. It supports three modes: direct mode returns an IPFS contenthash of metadata.json, CBOR mode returns the raw dag-cbor CID, and proxy mode attempts to detect a proxy and resolve its metadata. The article lists limitations, including that old contracts lack embedded metadata, most contracts with Swarm metadata fail to resolve because they are not pinned in Swarm storage, and many contracts' IPFS metadata is not pinned to the IPFS network.

No comments yetWhat caught your eye? Start the discussion.