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

EthDNS (ENS+IPFS+DNS) at IPFS Workshop in Osaka

1eecfce54b4f902784d046328935efd4?s=47 Makoto Inoue
October 07, 2019
86

EthDNS (ENS+IPFS+DNS) at IPFS Workshop in Osaka

1eecfce54b4f902784d046328935efd4?s=128

Makoto Inoue

October 07, 2019
Tweet

Transcript

  1. IPFS Workshop Makoto Inoue makoto@ens.domains

  2. What is ENS? 0x5a384227b65fa093dec...

  3. At ENS workshop Today: 13:45

  4. At ENS workshop Today: 13:45

  5. At ENS workshop Today: 13:45

  6. Dapp example - Donation to a multisig account - Message

    is written into data field - Reveal your name with reverse lookup (address -> name) - Deploy to IPFS!
  7. Table Content - Deploying your Dapp/Dweb to IPFS - Assigning

    ENS to IPFS - Setting URL with EthDNS
  8. 1. Deploying your Dapp/Dweb to IPFS

  9. yarn build

  10. Ipfs add -r build

  11. Pin the hash

  12. 2. Assigning ENS to IPFS

  13. - $5 / y - Commit & Reveal Buy a

    domain At app.ens.domains
  14. Configure - Registrant - Controller - Resolver

  15. Setting up Ethereum Address

  16. Not just for Ethereum hex addresses

  17. Setting text

  18. Setting ipfs content

  19. Setting ipfs content

  20. Contenthash support (EIP1577) http://eips.ethereum.org/EIPS/eip-1577 • Supports multicodec format • Supported

    by wallets, browsers, and chrome plugins • Not ubiquitous
  21. EIP1577

  22. Multicodec

  23. Accessing ipfs content

  24. Accessing ipfs content

  25. Accessing ipfs content

  26. Setting URL with EthDNS On behalf of Jim McDonald

  27. None
  28. Add message

  29. Query via graphQL

  30. Wedding message on the blockchain!

  31. How does it work? 1. *.eth.link returns the IPFS gateway

    address 2. Looks up ipfs hash in ENS 3. IPFS gateway servers content
  32. • No browser support is required • Programmable via smart

    contract • Partially decentralised Why EthDNS?
  33. Is that it?

  34. Automatic dnslink support • .eth domain reserved for Ethiopia •

    .com/.net/.xyz, etc? • .ipfs, .dweb?
  35. Public IPFS gateways • .eth domain reserved for Ethiopia •

    .com/.net/.xyz, etc? • .ipfs, .dweb?
  36. ifps.io/ipns/matoken.eth.link • .eth domain reserved for Ethiopia • .com/.net/.xyz, etc?

    • .ipfs, .dweb?
  37. ifps.jes.xxx/ipns/matoken.eth.link • .eth domain reserved for Ethiopia • .com/.net/.xyz, etc?

    • .ipfs, .dweb?
  38. eu.siderus.io/ipns/matoken.eth.link • .eth domain reserved for Ethiopia • .com/.net/.xyz, etc?

    • .ipfs, .dweb?
  39. ifps.ethereum.io/ipns/matoken.eth.link • .eth domain reserved for Ethiopia • .com/.net/.xyz, etc?

    • .ipfs, .dweb?
  40. What’s more?

  41. The State of ENS Day 3 3:10 pm Room: A2

  42. For more info • https://www.wealdtech.com/articles/ethdns-an-ethereum-backend-for-the-domain-name-system/ • https://github.com/ethereum/EIPs/blob/master/EIPS/eip-1577.md • https://github.com/mcdee/coredns •

    http://ensmanager.matoken.eth.link • https://medium.com/the-ethereum-name-service/how-to-host-your-dapp-with-ipfs-ens-and-access-it-via-ethdns-c96046059d87 • https://medium.com/the-ethereum-name-service/how-to-enable-eth-domain-in-your-local-network-9ef4c7e01003 • http://discuss.ens.domains • https://app.ens.domains/
  43. Thank you! Demo: http://happywedding.julietandnick.eth.link Makoto Inoue / makoto@ens.domains