Upgrade to Pro — share decks privately, control downloads, hide ads and more …

ENS on Layer2 @Ethcc 2021

ENS on Layer2 @Ethcc 2021

1eecfce54b4f902784d046328935efd4?s=128

Makoto Inoue

July 21, 2021
Tweet

Transcript

  1. ENS on Layer 2, Ethcc, July 2021 Makoto Inoue (@makoto_inoue)

  2. What is ENS? 0x5a384227b65fa093dec...

  3. What is ENS? matoken.eth

  4. ENS growth

  5. ENS is exploding https://medium.com/etherscan-blog/4-metrics-highlighting-ens-adoption-1db528f8416f

  6. Because of lower gas... https://medium.com/etherscan-blog/4-metrics-highlighting-ens-adoption-1db528f8416f

  7. Agenda - 1. ENS L2 design considerations - 2. Rollup

    agnostic L2 integration - 3. What about other EVM compatible chains? - 4. FAQs
  8. 1. ENS L2 design considerations

  9. Most “L2/EVM chain” strategies - 1. Deploy a copy -

    2. Select Network - 3. Add Liquidity incentive
  10. ENS “L2/EVM chain” design discussion - 2020 Sep: “A general-purpose

    L2-friendly” ENS standard by Vitalik - 2020 Oct: “A general-purpose bridge for Ethereum Layer 2s” by Nick - 2021 Apr: “MVP of ENS on L2 with Optimism” by Nick
  11. ENS “L2/EVM chain” requirement - 1. No “Switch network” for

    reading names - 2. No “Pick a winner” (yet) for updating record - 3. Minimise additional trust assumption
  12. 2. Rollup agnostic L2 integration

  13. ENS architecture recap - 2 requests model - Swappable resolver

  14. L2 Gateway - 3 requests model - Set gateway per

    resolver - Verify with proof at L1
  15. Durin: Secure offchain data retrieval (EIP 3668) https://github.com/Arachnid/EIPs/blob/durin/EIPS/eip-3668.md

  16. L2 Gateway on Optimism Demo https://www.youtube.com/watch?v=9DdL7AQgXTM

  17. L2 Gateway on Optimism https://github.io/ensdomains/l2gateway-demo

  18. L2 Gateway on Optimism https://github.io/ensdomains/l2gateway-demo

  19. L2 Gateway on Optimism https://github.io/ensdomains/l2gateway-demo

  20. L2 Gateway on Optimism https://github.io/ensdomains/l2gateway-demo

  21. L2 Gateway on Optimism https://github.io/ensdomains/l2gateway-demo

  22. 3.What about other EVM compatible chains?

  23. TVL on EVM compatible chains https://twitter.com/richwgalvin/status/1399992712451948546

  24. - Bridge gateway - App gateway - Trusted gateway Alternatives

  25. - Bridge signs the data - Verify bridge signer, not

    data Bridge Gateway EVM Chain
  26. Bridge Gateway Pros - Retains the same security assumption Cons

    - Bridge needs modification/extension - Signer must be verifiable on L1
  27. - Name owner hosts the gateway - Name owner signs

    data - Verify name ownership, not data App Gateway EVM Chain
  28. App Gateway Pros - No dependencies to the bridges Cons

    - Each App has to host own gateway - Less trustless
  29. - Name owner hosts the gateway - Name owner signs

    data - Verify name ownership, not data Trusted Gateway DBMS
  30. Trusted Gateway Pros - No ENS registry required off L1

    Cons - Trusted - No NFT
  31. Comparison

  32. - Registration & Renewal gas cost - Subdomains - Ownership

    4. FAQs
  33. Q. Does Registration & Renewal gas cost become cheaper?

  34. A: Not for now - Registry will remain on L1

    - Resolver can move to a L2 - Use of Subdomain
  35. Q. Can I create subdomains on L2 and sell as

    NFT?
  36. - Wildcard support - https://eips.ethereum.org/EIPS/eip-2544 - NFT support on Registry

    A: Yes
  37. Q. How do I prevent from transferring the same name

    to different owners on L1 and L2?
  38. - ENS is NFT - NameWrapper for subdomains A: Lock

    your name on a cross chain bridge
  39. For more information Makoto Inoue / @makoto_inoue https://github.com/ensdomains/l2gateway-demo https://discuss.ens.domains/c/feature-request/layer2/10 https://discord.gg/AskZbFx

    https://github.com/Arachnid/EIPs/blob/durin/EIPS/eip-3668. md