ENS Beyond Ethereum
ETHCC 3 · March 2020 · 46:37
Makoto Inoue explores the Ethereum Name Service beyond Ethereum.
Speakers
Topics
From ETHCC 3, hosted by Ethereum France.
Transcript
can you guys hear me very well yes we'll be starting five minutes ten plus three this is for ENS talk so if anyone interesting ns you stay here if you want to talk about the interesting the latest water technology by Asha I think it's somewhere else and there's some interesting talks but thank you very much for coming to this place I'm just kidding time by the way but you starting the 3:10 past 3:00 [Music]
[Music] yeah let's talk 3:10 get your ass down there ENS ENS talking right here right now in five minutes yes come here people stop conversation listen to us ideas I wanted to have a big voice outside is a foggy and we have three more minutes before I
start are there any general general question by EMS I happy to answer well who has ENS name so we have three minutes so if everyone who hasn't raised hands go to app ENS domains and you type your favorite name and you buy it that's the way to kill your time then you learn you know what ENS is so I can kind of skip the first five minutes of like what ENS is so if you have a who hasn't raised hands in my previous question or now people know amazing okay but you know okay if you you were I think if you hear not just because like you just
wanted to have a take a seat but if you have a big engine and if you don't have it then I definitely recommend just buying one for five dollars or you go to now door en esta domains where you can get subdomain for free or you go to is I think is money though each dot link and you can buy like you know Makoto is money though is think or like you know whatever your name is Manny taur is don't link so if you don't want to pay a penny for us that's the best ways to get a domain for free or if there's a wallet-sized ethereum or argent they also give you a subdomain for free so that's way to get it and the one minute
what shall we start okay okay thank you very much for coming to DNS name talks the title is called en SP of this area okay and my name is Makoto and I'm a developer ENS I also do some event management that go kick back which you someone you might have used but yeah today's talk is about ENS so who's been to DEFCON 5 okay so I tried to do the recap since that they've gone five but since most of
people you one there I just gonna briefly talk through what Nick Johnson our the developer talked about is we basically has three big jetties one is the short name auction that when ENS first started we did at the auction and we thought we basically use that name anything above six characters but three to six characters we thought that precious and we didn't know the best way to distribute we saw like no deterring squatting so we left the until last September then we during that time we change the model from normal in another name to an empty token so we took advantage of the interoperability of the
NFT token so we did a token sells through open sea so that and also we started integrating with lots of traditional internet domain name provider like DNS namespace and we talked about some partnership then also we announced that we started doing multi point support so at that time it was kind of deal like we just decided so like he wasn't really integrated yet and so after so potential name option finish like it a couple weeks after the depakote and now that people have like you know lots of short names so like a I
mean Metallica seven characters but for example Eric dough is avocado is people start taking advantage of these short names and the people start putting your name in his name uh sorry the treat address and all that stuff and as a result of you know more prominent names on cell like I think we had a gradual growth currently we have about $345,000 th name on the mark in use and also as a total including other name space or sub domains we have about 400 satis resolder names in use so if you have the unis name it's like you you about them and the thanks to
many people start integrating we now have like a title for wallet and the 84 tops integrated into the ENS which so far was good like it was like yeah we have made getting very good progress then so January just a couple of months ago we announced that we actually got the bug report from who's this dude does anyone know the logo has a human heart was the name called Sampson write a 0 X bug physics bug also a Syrian bug or the bug report it's all done by a guy called Sampson and he also reported that Orion has had a bug and so we after the DEF
CON we worked for three months trying trying to do the transition so we basically for the last three months we are quite swamped with all during the migration to make sure nobody lose their names and their stuff so even though our name at today's talk is an SP on the same address I think it's inevitable like you know we should know what happened so like I go to Spain fast probably 10 20 % just talking about the registry read a so-called registry migration or what happened after the bug repo how we transitioned and what we still have to do and then like we're gonna talk about exciting stuff so the thing is during Devcon we announce what we're gonna do but like a yeah we were
busy but our partners have spent lots of time integrating with us so there are some exciting development which I'd love to share with you guys okay so registry migration so this is Nick Johnson the lead developer bns and he looks like a super happy he's getting married and so he's got married in November 12 and we have a donation site for happy wedding Julia and Nick Easter thank you and also if you wanna count you know say thank you to him but he's smiling in this photo but I'm sure he was inside his heart you know it has mine like you know because thanks three days before the wedding
he's got a report of the issue of bug bounty program actually we had a the most serious bug and that da Gama was part of a team we just just so we didn't mention the wall was a good cause was until our name our small country fully migrated because there was an attack pack that that people could have take advantage okay so we we kept this secret but yesterday we just released so now I can talk about it powerful detail you can read this medium post and so what happened is yes consists of three component registry resolver and the registrar and the registry is basically
a dictionary where it stores order your ENS name and if you ask for a u.s. name it returns me so call resolver resolver has a logic to reserve address so like if it's I want a same address format open door he's fascinating ask is registry and so how you resolve the addresses and also how you register new names is done by registra registrar the resolver upgradability in mind so again this is actually quite smart way of having some sort of upgradability logic in immutable smart contra but it's it's a bit like proxy model which is quite popular in smile contragravity the proxy
B is not supposed to change and the registry it was a proxy part which we shouldn't suppose to change them for that reason this is actually the entire NS registry code before the migration if I just took out the comment it's it less than 40 lines of code we could bug can't be you know it's basically just a key value store where you put a struct record at me there's etc data if you can find out that bug in this code your is a genius or you just liar why because there is a bug here so that that cat was we didn't basically deployed solidity code what we deployed
this so-called llll which was one of the flavor of like smart Concha with like you know like by passivity there's a different kind smile Concha all compiled down to evm bytecode and L is kind of like this flavored stuff which is very kind of between Lisp and assembly code so like if you look at it you can see that in the solidity you have its obstructed that structure has a like ordinary solver TTL field but in a well L code you actually write down the actual physical location of where the data stores and the given we put just like I just said to the order and resolve a TTL information I'm not the
expo assembly so I explained exactly but if you have attack addresses 9-1-1 and if you set so basically owner information the resolve and measure tto information are all in a physical location side-by-side and usually resolver is where you should supposed to put the control address before you put your own address or some other control address which can manipulate change the ownership if you set that logic on either razorba a TTL forced and if you transfer the name and the people thought like you know if you
sell the domain and i so i got it but the previous owner can actually crawl back the name to you know so that like in a worst case scenario i pay lots of money to get like you know pre precious name like a deified or eise or something then i saw i got it by the previous owner creamy back so that was a bug and this is interesting that so trailer bits is very well known security companies just released a blog post this morning i said like it hey our software called much-discussed spot the ems bug and then well okay this is not about what they did they had a kind that how to call like a not randomizer but like a I think they have a program
to kind of randomly like Pokemon different like function calls and I forgot the name of the anyway so they they say like they to detect a bug so like again this is fascinating blog post it just came out this morning when I came home and I wake up the blog I found this a double dick yeah and because of nature with the bug we could check online to see if someone had a non contra is in external on that address it has anyone done it who you are able to check it so I think my I think Nick Johnson adding I am the Martin who's in the same kind of security team they did
actually examine like thousands of contra to make sure no one has actually exploited so when this guards reported I think I got told actor in December by that time they did all the research to say no one has exploited yet so as long as likely people don't know about the thing we knew that no one has exploited so during that time like we were in a secret and they were just do the migration walk and so we announced that we had a bug in the sake fossil January and we gave a couple days advance to some like you know no more know that like this is happening so you you might prepare to fix it then we started the
migration from Sodom February 4 about when we spent one week basically transitioning entire ENS named which was about 350,000 which led to changing the storage space book of a thousand four hundred seven so e-470 storage which was cost about six mega gas which was interest me we thought if we burn everything in that one way it's gotta cost 17 yes but wow it was running I think some people are complaining that because our units my ratio people can't Casa pipian kickback on the 1s or something well Pope yeah I think Pope
property was complaining that they come in welcome because all the wake a space is taken by any NS by eventually I think we contributed the increase in your own gas so we're spending more so that in the end apparently I only figure out like it when I read the blog post I we end up spending hundred forty East which was about twenty five K and also so this registry is a part you're not supposed to change so that's the power people actually hard-coding because like when you wants to say I want to look into this ENS name fasting you had to pass is a mess registry address so I did actually we have such cold Assad and if I put the old registry name in Heather
about 2,500 cold hits which was and I looked into the gate coin call such API and the handle bar like for hand I think so about 2000 code and there I identify there's a five hundred organization had these one hard-coded so like I created BOTS to just like you know to regress to automatically replace one by one so we do to the key hubs such living I couldn't raise pull request to everything I could only Traverse up to thousand or something but like southern forty which was four hundred
organization to an appeals I raised it so that's kind of migration happened and nutshell is the new registry is called fallback registry so like if there are some names so if there are some names know migrated it actually falls back to the old name and yeah check yeah so this is the public as I read two hundred and then when I look at my email inbox there's only started close so if you have received these ones and if you're running add up all the tabs we have a contact with we already
that attempt to update so majority of a well-known adapt which is in our you know yen s website they are mostly chance you smiling does that mean you have upgraded yet no okay yeah you guys okay good yeah and yeah so if you have this please March it was just close at least I know that it's okay and so if you want to know whether your favorite wallet has migrated or not is so new registry can fall back to all registry so if the name hasn't some reason migrated for example we migrate the older secondary name now
for example my token dot s my token is migrated but we didn't migrate subdomain which you created so if I have like meta mascot Motoko is unless you explicitly present migrate button it's not migrate into the new registry but the new registry has a fallback mechanism so that if it's not migrated we look up the old registry so all the new registry if the wallet is migrated to the new registry you can see the old names but all registry can now see the new name because all the old registry has no idea so one way to get free C's like we have migrated or s which only needs a new
registry so if your wallet in if type migrated OS this example in meta mask it resolved to this address but if whatever the other DNS the wall that you are using migrated TNS but if it's not resolving this address highly likely that they have migrated so you should report to them to upgrade and yeah this was the example that this is all DNS manager this one is migrated hence you can see the reservoir information but this legacy app Sarge door SH still pointing to the old one so you can't resolve the migrated is that's what I wanted to show and
also so as I said you can look me up without doing anything but if he wants to change your record there's record set managed by so called something called resolver and unless you also upgrade razorba by yourself unless you migrate you cannot change the record and the changing is as easy as this pressing this button so if you see something like this on if you go to your name and if you see something like this just press the big red button and also as I said subdomains not migrated so yeah you have to press this button if
you are using something like a cerium object I think these people migrated but if you only have subdomain which is managed by parent domain unless you have the ownership of the parent domain you can't change it in that case you have to ask them to migrate a post so there's a couple of things you have to do but for just looking at purpose you can use we go dress up or whether it's migrated or not quite it's good if it's migrated so that's basically what happened anything in this registration walk any questions so far yeah all good yeah okay so now that basically we kind of passed a critical moment the you know kind of not know like and how to say not like yeah
critical risk but like yeah we kind of get past a heart bit and then we are quite relieved and there so now when you want to talk about exciting bit so who said we say you have unis addresses so yeah like so you guys said it is air mattresses right and the one thing you might not know is that you can also resolve other cryptocurrency addresses so like BTC litecoin dodge Mona - all sorts of stuff so if you go to the manager page and if you select other coins you can see about ten lists of addresses but if you go to the
library code address and coder libraries we actually have more than dozens of like yours case may and ask extend all the stuff is actually supported part of the reason we haven't ported into the app here is our and this is a kind of usage of how you would resolve other coin is this is you who has transported like a one so trust wall that allows you to handle multiple currencies so in this case it's looking into the pick me up I think this is the beetle Victor who is over founder of the trust for his address so if you
say semi B&B talk on like a finance talkin to the I am up he actually sells their they have their own B&B 70c grab a longer dress so it just looks exactly same as how you send another copy same address using ENS name but just for PNB and yeah but one problem is like a due to the fact that we have to encode and decode these coin types the library is getting quite big so we have a party to reduce this diverse eyes yeah if it's too big it's a bit brutal
to include integrating into some like mobile wallet they want resource constraints so they want to you know including smaller like library science so like there's a competition that I keep I think in started off with like three four megabytes of library and he has some log log log elastic logic up by this much you say we give you one if and we there are currently three people submitted and the three is awarded but we said we're gonna keep up to 80s so there's a five more chance so if you are kind of like you know really optimizing J's code this is where you get extra this
yeah yeah so that was a kind of use case of managing multiple Kryptos and now I want to talk about this beyond crypto saying is that so you might think why people wants to send Bitcoin to do ETH address this you know like you want to send to the dog B&B or or top BTC or something and this is kind of our response to kind of upcoming competition which we started facing that like you know there are so many different kind of name services and there are killer feature was like oh you can handle more than sending to you know easier you can
send to different ones so we saw like it but the whole logic is just in a dictionary so like we saw like that's a very to be easy to integrate that's why we quickly integrate the other coins but yeah we I think we had two people to ask oh there's a stopper board as a so this handshake okay if we can guess by logo H I just said handshake next one I'm so pible this one F you is unstoppable which initially I think so handshake is on its own for
called Bitcoin chain name you service unstoppable in appear on the silica but they also now have a dog crib as they have dot zero and they have dog crypto and they do impose silica and a cerium and the third way that is called fear which is I can't remember way stands for there's so many acronyms the Iowa V is built on cosmos and do you know what the last one is yes I have a slice or would keep the interior that two sides from here but like did you guys know see this meme no okay I saw this is funny but
there's no laughs so look like you bus as the guy she tells you not to worry about and I think this is a guy for Bitcoin and the bitcoins of maximalist and he has some like a very good-looking girlfriend and he says he has a you know selfie with some very you know attractive looking guy but don't worry about it so that I saw that that's kind of people start worrying like oh there's a competition are you okay I said don't worry we are okay so that's that's what I'm gonna say the reasons why we are okay so fast reasonable why don't worry about it is they are not just competitive they are also friend and allies because I just added their logo as one of the
supported tabs and they do actually support it or ETH in the sense that they recently released unstoppable recently released kind of DAB browser where I don't know if you know that you can ipfs you can set upload a static asset into web by side in files into the ipfs and you can point to yen s so you can have like you know ENS talking to a BFS they did a more native way so that they can have a kind of file extension for IP FS and he shows the i PFS content file resolved into their name space but they do actually support ENS so you can also resolve that Alex
Doe is in there unstoppable browser so they they actually support ENS and yeah second one so handshake she knows handshake I get to people so handshake did people ask like is handshake competitor and it's actually they gave us a grunts so we supposed to be friends I think me whenever someone gives me money they're my friends so I didn't say that but so handshake is big kind of on its own chain and they want to store the IP address not the same
address nor ipfs information they want to put IP are just pointing to their own namespace Internet domain name space and so currently Internet domain space is controlled by organization called ICANN who started condo all but now this society auction for I'm sorry the new names for like top event the app topped up but that's kind of arbitrary process and they say it's a centralized process so they wanted to decentralize hence they put a boot kind of name resolution into the blockchain and they do some auction so that's kind of different layer to what different purpose to us so
they actually like I went to East a hackathon event and one of the developer approached to me that actually you can be resolved or ETH on the internet through handshake so that you can basically created example that if you did a tick command to beat a victor is they actually resolved in a DNS server you can do this in two ways one if you have a handshake full node or like client in Europe in your laptop and if you change the resolver address point to that or someone like big player like Google Star resolve being handshake name in space so that's a top status quo solution what
this is like do-it-yourself solutions if you do that you can use handshake and the handshake I should talk to you in an S but so that's visa to and a visa 3 yes u.s. name service obviously yeah so they're like follow home they really learned how to monetize from this namespace run Plus which meant we happen back in 2017 that they basically created edu hoto Co and they have a different name is Kim and also they create one if it's one character it's like in a 50 years which is 180 or something so they basically try to fully monetize this
upcoming new digital asset which is fine if that's what they want to do but I think the differentiation we want to do is okay you know don't et you exist right in Internet and if this does something edu domain left right that's kinda doesn't comply with Internet and we try to be good citizen of the internet so the approach we do is we have this door ETH domain space which is actually it is in the internet world it belongs to SEO Pia because they they allow all the to name two and three names to belongs to this country but Ethiopia uses door et has no one's using
it so we are kind of living that space and if you buy the same name from the 88 you have to buy rent to us but all-purpose is like if we don't make you free maybe we'll try to buy all the names well try to squat on there was a name so I always kind of try to make it as a I'm squatting purpose but at the same time we trying to work with the Internet domain if you have some internet domain such as XYZ and if you prove that you have the Internet domain space you already pay the rent studies the TLD provider so we can give you a last name and with the XYZ we sell
paying rent to us because you can't no one can squat on the Internet domain you already own so there's no reason for us to charge you and so this one was there since almost for a couple of years but we start seeing so like bradlee million who is the director of operation a static or attending lots of ICANN event and they started promoting the use of ECM as an infrastructure of the internet world and we start getting some buying from the traditional Internet domain registrar's so they started doing interesting way of integrating with DNS so the first way is this to XYZ XYZ
domain a top-level domain no I don't think it did know anything about Syria so we create a way that if you create create a text record on such as a desk awareness under your domain and if you put the same address there we have from an NS manager you there's a way to press a button and we retrieve retrieve the DNS record information from internet and we turn into the proof and there's a way that anyone can prove that this same address belongs to this domain so once you do that you can actually have the same as a DNS name and then we store XYZ and this logic can apply to pretty much
over 90% of the internet world so our aim is to implement that across pretty much all the major top-level domain so you could say you know if you your precious name is squatted by squatters you rather than try to get on door 88 you could just say semi is too calm or whatever the domain you are on so that's a fast level it's like anyone can do we approach but by integrating with the top-level domain such as door locks add a creative but so setting up these process on XYZ is relatively complex so they simply find out if they buy the deluxe domain they give you X so by DNS getting dns free
that's kind of level two we already announced last year they are already doing so this kind of reflects into the number of adoption in the names that XYZ have less than hundred names registered but don't locks because it's relatively easy he has I think four or five hundred names registered but this is second level two level three is the ENS you can say ENS address but and then you can also say ipfs pecker but we you can also use as a just no more dictionary so you can add a ad-hoc key and the body store so this to our domain does the integration that when you get at all our domain you can set the text record on the NS and they do some integration
together so that's kind of text record integration but the ultimate integration currently happening is in domain called dog crap I think cred they want to be credential I think is that they do very hardcore that day if you buy domain through them that's ENS name so you can have alex cred as well as alex cred on the website and ANS that's same as level one level two but also this is an F key token because like you know like my token all the NS name is now an
FD token and that door eth domain so they apply the same way to make it tokenizer yet and also what they are trying to do in a unique way is rather they put their DNS record in their DNS server they actually use set the DNS information into the ipfs and put the hash into the DNS so what I'm trying to say is this is real there's a guy called Jim McDonald who all the way something called ECNs which you know migrate i PF s and the NSA information so they took the idea father that like if you do give me that sone hash of g jg m test one or XYZ it
returns a I P FS content hash and if you looked it up he actually shows all the zone file information of the internet record so and by doing that so in a level 1 level 2 or level 3 you DNS owner as our DNS provider has to write a record to e NS but in this level 2 relation is flipped if I understand correctly they are watching the DNS record information and whenever its own files change this kind of ply so they put in ENS logic for so that we a ship gets kind of flipped which is kinda exciting so that's kind of all their ways of extending ENS into the real
world happening right now and so that's kind of pretty much it on my talk but one more one thing I want to remind you is that for people who are the only people who bought in this name before we migrated permanently registra yeah so AB you guys all migrated ok if you have a migrated when we didn't register migration we actually migrated for you so you actually haven't didn't have to do anything but even though it did it it just keeps the same expiration date which is the major force 2020 and also I actually migrated to the new system on
the day so the earliest expire a ssin coming is this day and if yeah so most people have to start prepping for you know renewal and as you know we are kind of hardcore decentralize whatever stuff so we don't have any sort of a notification whatsoever so pragmatic advice is just put into your calendar or this when you renew you we knew as long as you like so mean if you're putting okay no we knew for 99 years probably in your lifetime you don't have to renew that's another way and also this kind of indicates the lack of you know notification capability and I started seeing that people start
hacking around the notification solution on the issue of a hackathon I heart directly during the is water lily Harkins of the couple people started hacking around the notification solutions and it there's a movement to make a standardized so this will be the perfect opportunity if you have a solution around talk to us so that and another thing is yeah if you have migrated we did migration for you but you still have so until the permanent registered migration which happened in May for 2019 model was to lock your money into our small contra so that if you don't withdraw your money will be
stuck forever but this is nothing to do with the renewal end day so even if you didn't do anything and we did migrate for you so we you know it's migrated but it is still there even if you forget to renew you can still withdraw forever but you know if you don't do it then stuck for episode like I think no one is in this situation in this audience but if you're watching our live stream hello do it that's about it so I packed lots of information but most of the information is pretty much available in Internet so I put off all links and I'm
gonna put into the this side into the internet so you can read more information that's it thank you very much [Applause] do we have time for questions wait any questions nothing understood everything yes thanks for the presentation I had a question on the decentralized websites like IP FS plus plus static websites yes do you think that everyone should have
[Music] everyone shouldn't have their own decentralized website it's a question that should everybody have the D Center website Wow not really it's up to you okay yeah okay Thanks I don't oh I do have I created that decentralized a gift wedding card for Nick and Juliette so if you go to Nick and Juliette no happy wedding tour Deacon Juliette or Easter link that's he actually ipfs and yeah that's permanent but depends on what you want to do you didn't get why there was only like five
domain extensions official but it's way easier than stuff couldn't you this yeah this one so currently we didn't enable that so these domain can be brutal main is owned by Massey and we have are you the matza gonna so if you capture several of this guy you can basically control the NS but these are the people who unlock new domains and the door ETH is the first one and we also have a test domain for test now reverse record or a DDR exists and we have I think we are working on the ways to unlock everything
so probably by the end of this year you get to the situation that you can have any Internet domain can be in as ans name but because we haven't done it it's money on process every time one has to basically approve and the X Y Z we did it and Lux Club KOTR is so most of the time like we could do it without the permission from the top-level domain owner but these locks Club knockout Quixote and in the art they basically came to us to say hey we want to do something more to that so in this case they actually own that top-level domain now and they do their own customized
integration which are showing a level 2 3 & 4 level yeah but hopefully by the end you're gonna have like over a thousand domains list thank you okay thank you [Applause]