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

ENS on Layer2 @Ethcc 2021

ENS on Layer2 @Ethcc 2021

Makoto Inoue

July 21, 2021
Tweet

More Decks by Makoto Inoue

Other Decks in Technology

Transcript

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

    View Slide

  2. What is ENS?
    0x5a384227b65fa093dec...

    View Slide

  3. What is ENS?
    matoken.eth

    View Slide

  4. ENS growth

    View Slide

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

    View Slide

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

    View Slide

  7. Agenda
    - 1. ENS L2 design considerations
    - 2. Rollup agnostic L2 integration
    - 3. What about other EVM compatible chains?
    - 4. FAQs

    View Slide

  8. 1. ENS L2 design considerations

    View Slide

  9. Most “L2/EVM chain” strategies
    - 1. Deploy a copy
    - 2. Select Network
    - 3. Add Liquidity incentive

    View Slide

  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

    View Slide

  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

    View Slide

  12. 2. Rollup agnostic L2 integration

    View Slide

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

    View Slide

  14. L2 Gateway
    - 3 requests model
    - Set gateway per resolver
    - Verify with proof at L1

    View Slide

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

    View Slide

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

    View Slide

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

    View Slide

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

    View Slide

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

    View Slide

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

    View Slide

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

    View Slide

  22. 3.What about other EVM
    compatible chains?

    View Slide

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

    View Slide

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

    View Slide

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

    View Slide

  26. Bridge Gateway
    Pros
    - Retains the same security assumption
    Cons
    - Bridge needs modification/extension
    - Signer must be verifiable on L1

    View Slide

  27. - Name owner hosts the gateway
    - Name owner signs data
    - Verify name ownership, not data
    App Gateway
    EVM
    Chain

    View Slide

  28. App Gateway
    Pros
    - No dependencies to the bridges
    Cons
    - Each App has to host own gateway
    - Less trustless

    View Slide

  29. - Name owner hosts the gateway
    - Name owner signs data
    - Verify name ownership, not data
    Trusted Gateway
    DBMS

    View Slide

  30. Trusted Gateway
    Pros
    - No ENS registry required off L1
    Cons
    - Trusted
    - No NFT

    View Slide

  31. Comparison

    View Slide

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

    View Slide

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

    View Slide

  34. A: Not for now
    - Registry will remain on L1
    - Resolver can move to a L2
    - Use of Subdomain

    View Slide

  35. Q. Can I create subdomains on L2 and sell
    as NFT?

    View Slide

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

    View Slide

  37. Q. How do I prevent from transferring the
    same name to different owners on L1 and
    L2?

    View Slide

  38. - ENS is NFT
    - NameWrapper for subdomains
    A: Lock your name on a cross chain bridge

    View Slide

  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

    View Slide