ENS integration workshopEthShanghai May 2022Makoto Inoue ([email protected])
View Slide
Read the doc (https://docs.ens.domains ) and join Discord( https://chat.ens.domains )
ENSIP (https://docs.ens.domains/ens-improvement-proposals)
Your library may already support ENS- Libraries = ethers.js/web3.js/web3.py/web3j- Frameworks: waffle/embark/scaffold-eth- ENS official library = ensjs
Agenda- 1. ENS Integration 101- 2. ENS Avatar (with upcoming use cases)- 3. Interesting tools/usecases- 4. Upcoming features (optional)
1: ENS Integration 101
Forward lookupmatoken.eth
Forward lookup0x5a384227b65fa093dec...
Forward lookup
Primary ENS name(aka Reverse lookup)
Primary ENS name
Primary ENS name (code)
dWeb (aka contenthash)
2: ENS Avatar
@davatar/react https://github.com/metaphor-xyz/davatar-helpers/tree/master/packages/react
ENS Architecture (Registry & Resolver)
Resolving a name
ENS Architecture (Registry & Resolver)- Address- Contenthash- PubKey- ABI- Text record- Multicoinhttps://github.com/ensdomains/resolvers
ENS Resolver extension example: Text record
Text record use case scenario: avatar pfp https://docs.ens.domains/ens-improvement-proposals/ensip-12-avatar-text-records
Text record use case scenario: avatar pfp https://gist.github.com/Arachnid/9db60bd75277969ee1689c8742b75182
Tips: TokenId = labelhash
metadata.ens.domains https://metadata.ens.domains/avatar/matoken.eth/meta(Rinkeby ENS+ Mainnet NFT)
metadata.ens.domains https://metadata.ens.domains/docs
3: Use cases
The rise of numbers https://ens.vision https://gem.xyz
The rise of numbers- 999 club/10kclub- OG ENS (before Jun-23-2017)- 24h clubhttps://ens.tools https://dune.com/makoto/Old
Interesting use cases (aka the rize of digit) https://ensclock.com
3: Upcoming features
3. Upcoming features- 3.1. Subdomains as NFT (aka name wrapper)- 3.2. L2 integration (CCIP read)
3.1 Subdomains as NFT (https://github.com/ensdomains/ens-contracts/tree/master/contracts/wrapper)
3.2 L2 integration (CCIP read) https://github.com/smartcontractkit/ccip-readfoo.reddit.ethbar.reddit.ethbaz.reddit.ethfoo.dydx.domainsbar.dydx.domainsbaz.dydx.domainsfoo.uniswap.ethbar.uniswap.ethbaz.uniswap.ethmakerdao.ethdydx.domainsuniswap.eth
Thank you!Makoto Inoue / [email protected]● https://medium.com/the-ethereum-name-service● @ensdomains● https://chat.ens.domains● https://ens.domains
Thank you!Makoto Inoue / [email protected]