Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
ENS at WindingTree hackathon
Search
Makoto Inoue
November 05, 2019
Technology
0
54
ENS at WindingTree hackathon
Makoto Inoue
November 05, 2019
Tweet
Share
More Decks by Makoto Inoue
See All by Makoto Inoue
ENS beyond Web3
makoto_inoue
0
70
Tokyo ENS Meetup 2023 June
makoto_inoue
0
52
ENS for your community
makoto_inoue
0
250
ENS for the multi chain world @ EthPorto 2023
makoto_inoue
0
180
ENS on Starknet at StarkWare Session
makoto_inoue
0
69
Ethcc: The State of ENS 2022
makoto_inoue
0
230
EthShanghai ENS integration workshop - May 2022
makoto_inoue
0
150
ENS Integration workshop @ nfthack
makoto_inoue
0
62
ENS as your web3 username
makoto_inoue
0
370
Other Decks in Technology
See All in Technology
開発生産性向上! 育成を「改善」と捉えるエンジニア育成戦略
shoota
1
300
AI時代のデータセンターネットワーク
lycorptech_jp
PRO
1
280
マイクロサービスにおける容易なトランザクション管理に向けて
scalar
0
110
MLOps の現場から
asei
6
640
watsonx.ai Dojo #5 ファインチューニングとInstructLAB
oniak3ibm
PRO
0
160
ずっと昔に Star をつけたはずの思い出せない GitHub リポジトリを見つけたい!
rokuosan
0
150
生成AIをより賢く エンジニアのための RAG入門 - Oracle AI Jam Session #20
kutsushitaneko
4
220
バクラクのドキュメント解析技術と実データにおける課題 / layerx-ccc-winter-2024
shimacos
2
1.1k
Microsoft Azure全冠になってみた ~アレを使い倒した者が試験を制す!?~/Obtained all Microsoft Azure certifications Those who use "that" to the full will win the exam! ?
yuj1osm
2
110
祝!Iceberg祭開幕!re:Invent 2024データレイク関連アップデート10分総ざらい
kniino
2
250
How to be an AWS Community Builder | 君もAWS Community Builderになろう!〜2024 冬 CB募集直前対策編?!〜
coosuke
PRO
2
2.8k
コンテナセキュリティのためのLandlock入門
nullpo_head
2
320
Featured
See All Featured
Code Reviewing Like a Champion
maltzj
520
39k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
2
170
Why You Should Never Use an ORM
jnunemaker
PRO
54
9.1k
What's in a price? How to price your products and services
michaelherold
243
12k
Building Flexible Design Systems
yeseniaperezcruz
327
38k
Fantastic passwords and where to find them - at NoRuKo
philnash
50
2.9k
jQuery: Nuts, Bolts and Bling
dougneiner
61
7.5k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
132
33k
Build your cross-platform service in a week with App Engine
jlugia
229
18k
How to Ace a Technical Interview
jacobian
276
23k
Optimizing for Happiness
mojombo
376
70k
VelocityConf: Rendering Performance Case Studies
addyosmani
326
24k
Transcript
None
- Dev at @ensdomains - Organiser @ London Ethereum Codeup
- C-founder @wearekickback
Show us what you hacked !! https://kickback.events/events
Agenda - 1. What can you do with ENS? -
2. ENS contracts and API overview - 3. ENS + IPFS = Decentralised Web!
1: What can you do with ENS?
0x5a384227b65fa093dec...
matoken.eth
ENS is your identity!
ENS is your brand! https://medium.com/the-ethereum-name-service/ens-domain-rankings-the-most-subdomains-3b4fc8afe35b
ENS is Asset (Non Fungible Token) https://opensea.io/rankings
ENS is NFT https://opensea.io/rankings
ENS has lots of data https://thegraph.com/explorer/subgraph/ensdomains/ens
More than Ethereum Address
More than Blockchain Address
2. ENS contract and API overview
Read the doc! (https://docs.ens.domains )
ENS Architecture
Contract MyResolver { address me; function MyResolver() { me =
msg.sender; } function addr(bytes32 node) constant returns (address) { return me; } } ENS by example: Resolvers
Resolving a name
Looking up names const address = await ens.resolver(‘arachnid.eth’).addr();
Reverse resolution const addr = ‘0x112234455...’ const name = await
ens.reverse(‘0x112234455...’).name() //for security const forward = await ens.resolver(name) if(addr === forward){ …. }
Setting up reverse resolution reverseRegistrar.setName(‘jefflau.eth’)
Putting them altogether
3: ENS + IPFS = Decentralised Web!
FAQ: Can you host website on ENS?
A: Ish...
At ENS workshop 7/10: 13:45
At ENS workshop 7/10: 13:45
At ENS workshop 7/10: 13:45
Dapp + ENS - Donation to a multisig account -
Message is written into data field - Reveal your name with reverse lookup (address -> name) - Deploy to IPFS!
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!
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
- 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
- Free - On Rinkeby/Ropsten/Goerli Claim a test 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 • • •
EIP1577
Multicodec
Accessing ipfs content
Accessing ipfs content
Accessing ipfs content
None
None
Add message
Query via graphQL
Wedding message on the blockchain!
How does it work?
• • • Why EthDNS?
None
Automatic dnslink support • • •
Public IPFS gateways • • •
ifps.io/ipns/matoken.eth.link • • •
ifps.jes.xxx/ipns/matoken.eth.link • • •
eu.siderus.io/ipns/matoken.eth.link • • •
ifps.ethereum.io/ipns/matoken.eth.link • • •
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/
Show us what you hacked !!
http://