What happens after a subdomain expires?

Hey guys,

I am currently building an app which allows users to register subdomains for certain domains. When a subdomain expires, is it destroyed and will users have to re-register it from the same registrar, or does it continue to exist as an ERC1155 but without an owner?


Best thing to do in my experience is to read through the code and/or set up some scenario based unit tests where you can check this behaviour.

There is no single answer to your question as these things can depend on permissions, your registrar code and other varying factors.

If the subname was Emancipated / Locked, then when it expires, ownership is lost. The ownerOf method will return address(0). The NFT isn’t technically burned yet, but for all intents and purposes, it may as well be. It may also disappear from wallets/websites, that depends on how they are caching data, etc.

If the parent is wrapped and that expired subname is recreated by the parent, then the subname NFT will be burned and re-minted at that time.

1 Like