ENS + LayerZero: Register an ENS subdomain from any chain using LayerZero

Prize Pool
ENS recently introduced Durin, a dApp designed to simplify L2 Names registration on L2s. It achieves this by deploying a smart contract on an L2 to manage subdomains.
Inspired by this, we aimed to extend its functionality using LayerZero, enabling the registration and trading of subnames as NFTs across multiple blockchains. With this setup, a subdomain name on one blockchain could still update the registry where its information is stored by making an lzSend call.
While the idea was promising, we encountered challenges and couldn't fully implement it. The one success we had was setting up data on the L2, including a contenthash that's accessible via eth.limo!
You can check it by yourselves: https://evmcrispr.d-www.limo.eth.
The LayerZero solution is built around three key smart contracts:
The resulting code has lots of mistakes, as it is very difficult to implement a crosschain solution in only 2 days, but it have been fun to experiment with it, and we think we came up with a good architecture for this particular scenario.

