Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Speaker Deck
PRO
Sign in
Sign up
for free
EthDNS (ENS+IPFS+DNS) at IPFS Workshop in Osaka
Makoto Inoue
October 07, 2019
0
86
EthDNS (ENS+IPFS+DNS) at IPFS Workshop in Osaka
Makoto Inoue
October 07, 2019
Tweet
Share
More Decks by Makoto Inoue
See All by Makoto Inoue
makoto_inoue
0
14
makoto_inoue
0
22
makoto_inoue
0
9
makoto_inoue
1
19
makoto_inoue
0
46
makoto_inoue
0
35
makoto_inoue
0
700
makoto_inoue
0
300
makoto_inoue
0
37
Featured
See All Featured
3n
163
22k
mojombo
358
62k
pedronauck
652
110k
malarkey
393
60k
nonsquared
81
3.3k
bkeepers
408
57k
chrislema
231
16k
trallard
13
650
jeffersonlam
328
15k
chriscoyier
684
180k
hannesfritz
27
930
imathis
478
150k
Transcript
IPFS Workshop Makoto Inoue makoto@ens.domains
What is ENS? 0x5a384227b65fa093dec...
At ENS workshop Today: 13:45
At ENS workshop Today: 13:45
At ENS workshop Today: 13:45
Dapp example - Donation to a multisig account - Message
is written into data field - Reveal your name with reverse lookup (address -> name) - Deploy to IPFS!
Table Content - Deploying your Dapp/Dweb to IPFS - Assigning
ENS to IPFS - Setting URL with EthDNS
1. Deploying your Dapp/Dweb to IPFS
yarn build
Ipfs add -r build
Pin the hash
2. Assigning ENS to IPFS
- $5 / y - Commit & Reveal Buy a
domain At app.ens.domains
Configure - Registrant - Controller - Resolver
Setting up Ethereum Address
Not just for Ethereum hex addresses
Setting text
Setting ipfs content
Setting ipfs content
Contenthash support (EIP1577) http://eips.ethereum.org/EIPS/eip-1577 • Supports multicodec format • Supported
by wallets, browsers, and chrome plugins • Not ubiquitous
EIP1577
Multicodec
Accessing ipfs content
Accessing ipfs content
Accessing ipfs content
Setting URL with EthDNS On behalf of Jim McDonald
None
Add message
Query via graphQL
Wedding message on the blockchain!
How does it work? 1. *.eth.link returns the IPFS gateway
address 2. Looks up ipfs hash in ENS 3. IPFS gateway servers content
• No browser support is required • Programmable via smart
contract • Partially decentralised Why EthDNS?
Is that it?
Automatic dnslink support • .eth domain reserved for Ethiopia •
.com/.net/.xyz, etc? • .ipfs, .dweb?
Public IPFS gateways • .eth domain reserved for Ethiopia •
.com/.net/.xyz, etc? • .ipfs, .dweb?
ifps.io/ipns/matoken.eth.link • .eth domain reserved for Ethiopia • .com/.net/.xyz, etc?
• .ipfs, .dweb?
ifps.jes.xxx/ipns/matoken.eth.link • .eth domain reserved for Ethiopia • .com/.net/.xyz, etc?
• .ipfs, .dweb?
eu.siderus.io/ipns/matoken.eth.link • .eth domain reserved for Ethiopia • .com/.net/.xyz, etc?
• .ipfs, .dweb?
ifps.ethereum.io/ipns/matoken.eth.link • .eth domain reserved for Ethiopia • .com/.net/.xyz, etc?
• .ipfs, .dweb?
What’s more?
The State of ENS Day 3 3:10 pm Room: A2
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/
Thank you! Demo: http://happywedding.julietandnick.eth.link Makoto Inoue / makoto@ens.domains