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

EthShanghai ENS integration workshop - May 2022

EthShanghai ENS integration workshop - May 2022

1eecfce54b4f902784d046328935efd4?s=128

Makoto Inoue

May 18, 2022
Tweet

More Decks by Makoto Inoue

Other Decks in Technology

Transcript

  1. ENS integration workshop EthShanghai May 2022 Makoto Inoue (makoto@ens.domains)

  2. Read the doc (https://docs.ens.domains ) and join Discord( https://chat.ens.domains )

  3. ENSIP (https://docs.ens.domains/ens-improvement-proposals)

  4. Your library may already support ENS - Libraries = ethers.js/web3.js/web3.py/web3j

    - Frameworks: waffle/embark/scaffold-eth - ENS official library = ensjs
  5. Agenda - 1. ENS Integration 101 - 2. ENS Avatar

    (with upcoming use cases) - 3. Interesting tools/usecases - 4. Upcoming features (optional)
  6. 1: ENS Integration 101

  7. Forward lookup matoken.eth

  8. Forward lookup 0x5a384227b65fa093dec...

  9. Forward lookup

  10. Primary ENS name(aka Reverse lookup)

  11. Primary ENS name

  12. Primary ENS name (code)

  13. dWeb (aka contenthash)

  14. 2: ENS Avatar

  15. @davatar/react https://github.com/metaphor-xyz/davatar-helpers/tree/master/packages/react

  16. ENS Architecture (Registry & Resolver)

  17. Resolving a name

  18. ENS Architecture (Registry & Resolver) - Address - Contenthash -

    PubKey - ABI - Text record - Multicoin https://github.com/ensdomains/resolvers
  19. ENS Resolver extension example: Text record

  20. Text record use case scenario: avatar pfp https://docs.ens.domains/ens-improvement-proposals/ensip-12-avatar-text-records

  21. Text record use case scenario: avatar pfp https://gist.github.com/Arachnid/9db60bd75277969ee1689c8742b75182

  22. Tips: TokenId = labelhash

  23. metadata.ens.domains https://metadata.ens.domains/avatar/matoken.eth/meta (Rinkeby ENS+ Mainnet NFT)

  24. metadata.ens.domains https://metadata.ens.domains/docs

  25. 3: Use cases

  26. The rise of numbers https://ens.vision https://gem.xyz

  27. The rise of numbers - 999 club/10kclub - OG ENS

    (before Jun-23-2017) - 24h club https://ens.tools https://dune.com/makoto/Old
  28. Interesting use cases (aka the rize of digit) https://ensclock.com

  29. 3: Upcoming features

  30. 3. Upcoming features - 3.1. Subdomains as NFT (aka name

    wrapper) - 3.2. L2 integration (CCIP read)
  31. 3.1 Subdomains as NFT (https://github.com/ensdomains/ens-contracts/tree/master/contracts/wrapper)

  32. 3.2 L2 integration (CCIP read) https://github.com/smartcontractkit/ccip-read foo.reddit.eth bar.reddit.eth baz.reddit.eth foo.dydx.domains

    bar.dydx.domains baz.dydx.domains foo.uniswap.eth bar.uniswap.eth baz.uniswap.eth makerdao.eth dydx.domains uniswap.eth
  33. Thank you! Makoto Inoue / makoto@ens.domains • https://medium.com/the-ethereum-name-service • @ensdomains

    • https://chat.ens.domains • https://ens.domains
  34. Thank you! Makoto Inoue / makoto@ens.domains