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

ENS at WindingTree hackathon

ENS at WindingTree hackathon

Makoto Inoue

November 05, 2019
Tweet

More Decks by Makoto Inoue

Other Decks in Technology

Transcript

  1. Agenda - 1. What can you do with ENS? -

    2. ENS contracts and API overview - 3. ENS + IPFS = Decentralised Web!
  2. Contract MyResolver { address me; function MyResolver() { me =

    msg.sender; } function addr(bytes32 node) constant returns (address) { return me; } } ENS by example: Resolvers
  3. Reverse resolution const addr = ‘0x112234455...’ const name = await

    ens.reverse(‘0x112234455...’).name() //for security const forward = await ens.resolver(name) if(addr === forward){ …. }
  4. Dapp + ENS - Donation to a multisig account -

    Message is written into data field - Reveal your name with reverse lookup (address -> name) - Deploy to IPFS!
  5. Dapp + ENS + IPFS - Donation to a multisig

    account - Message is written into data field - Reveal your name with reverse lookup (address -> name) - Deploy to IPFS!
  6. Dapp + ENS + IPFS + DNS - Donation to

    a multisig account - Message is written into data field - Reveal your name with reverse lookup (address -> name) - Deploy to IPFS! https://medium.com/the-ethereum-name-service/ethdns-9d56298fa38a
  7. - $5 / y - Commit & Reveal Buy a

    domain At app.ens.domains
  8. 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/ethdns-9d56298fa38a • http://discuss.ens.domains • https://app.ens.domains/