New Ethereum talks, every Monday. The week's conference uploads by event, in your inbox.

Loading player…

Cayman | Eth2 in the Web

Taipei Ethereum MeetupFri, Oct 9, 2020, 12:00 AM

https://lodestar.chainsafe.io/ Slides: https://docs.google.com/presentation/d/1gX1S4FBmMdjyM5oUm5-sMtNZ3kPwEiwU3iNk7KnIw2E Are you looking to get involved with Eth2? The web can be a great place to start. Cayman will be demoing several web tools built using Lodestar and showing how they fit together in the larger Eth2 universe. Join to see how easy Eth2 can be and get inspired. There will be plenty of time for Q&A. Cayman Nava is a passionate open-source advocate and software developer of 8 years. He is interested in the social applications of Ethereum and bringing liberating technology to the hands of the people. In 2015-2016, he co-organized the Silicon Valley Ethereum Meetup. Currently, He is the technical lead of Lodestar, an Eth2 client and software ecosystem written in Typescript. Lodestar is sponsored and managed by ChainSafe Systems.

Transcript

so welcome to the Taipei arena event I'm delighted to be here I'm delighted to see you here um so I'm gonna start by giving you a little introduction of the speaker today today we have a very special guest please welcome Cayman nama to our NGO so I'm a caiman at FCC the u n-- community conference in March this year in Paris France Cayman is a technical lead on the low start project no star is an East to client written in typescript it's officially a typescript implementation of the etherium 2.0 specification and it is developed by chain safe system so chain safe systems is a toronto-based blockchain research and development firm contributing to ECM 2.0 so so most of the team members I think are based in Toronto Canada but Cayman is currently based in Texas USA so we are having this video call right now with some of the folks in Texas in Toronto and in Taiwan so today in Cayman will be giving us like a few demos introducing several web tools built using low start and he will be showing how they fit together in the larger East two world and there will be plenty of time for Q&A so if you have comments right now or questions go ahead and drop us a message or comment right now on the YouTube live stream link so caiman take it away yeah all right still both of everybody responds there's a very gracious so today I really want to focus on the terminal side of setting some of the skipper's finds and record it on Twitter pretty active on github these are my avatar so quickly what Mozart is at high level we didn't look at some tools that we develop one quickly didn't jump in to float their boat on a tempo most of these web tool to Anthony of time I want to show that really interesting than what is debugging look sorry it's plugged in for my assistance Toronto sportsmen blockchains feasibly no one protocol to level and what star is less than three specifically steering him to so well this cars actually a real bird I didn't know it's the former joining this project but it's a star that you says the puddin's navigational reference with a dining dining star but for us it's theory and to so we're building out a bunch of different tools in transcript which is the time during the JavaScript subtly Tripti just a variant of transcript pretty an issue of time trips that what else - what assembly both of these languages are geared towards them that there are live natives and so you think it's gonna be really important to have to blading libraries for developers everywhere to look into each other right now we've got 23 more packages different Legos it's been library music eventually be or that can be combined all together into ADEs total these to be containing a denominator climber project fully community oriented reddit so that we had all our destruction inform these discord all of our looks are going to happen and we really invite anyone to participate but meat has riskiness ingredients from the theater nation so we ended up joining our team and so that's great we love the work that we do i to join us on github so this looks our ecosystem um it's gonna slip real quick over to the actual web page Peter um we have written a bunch of software already um each of these different rows is a separate library as well we're going to look at some web tools that incorporate one or more of these the Communists and the end and audience but it's the beginning that we wanted these tools for ourselves but first on this list is sterilized or Tom simple she realized is each tooth stabilization and Merkel is agent familiar with each woman so utilizes like LP first of length prefix encoding and also that parity and combined so suppose you have to do both it informs how beautiful massive data we put this website to be able to show some of those it is spiritual at least the serialization well the demo and see how it's how you can use this in practice let's keep in u.s. keys are the keys that are used in to their different it's one dance and special properties in each to these properties of them to into aggregating a bunch of different signatures together Louisiana's like a form of peanut compression and this feel ASCII Chan website as you create new and so he in August our Theory records and these are objects that are shared network and they inform teamers how to connect other gears and has people other won't disappear we built this site in our viewer that and and shuttle shuttle would show the contents of these records so without further ado let's listen Tomas that's pretty simple it's time except these three main apps you can also get to our documentation page right here so let's realize come first so this is uh let's try to serialize and deserialize objects adds they are done in the East achievement so though some of this to be used just to demonstrate what these objects look like weirdest so this to be used in practice if your developer beneath to strike here of the studio on sterner we can see D this list all the different data types that exist in each to a consensus level everything from public keys to locks and state network objects and over the network everything is really in this list so let's something is the message that big green button and here we have our students data this might be interesting if you're being debugging your own planet or you write you the tools for serializing you want to check the results oh you can do this very simply on the D scale I said this is what things probably be more interesting from the debugging perspective I want to kind of connect this to leading these two texts netsuite though and this is the repo that the e to client games are using coordinate data Soto we can look at this altona directory and if you're not spin up with each team dizzy Altona is the most recent and it's running right now and hopefully think to the well the specimen tweets in to bigger public touch net but this is either some of the really important pieces but you need as a client in order to join the texture so they look at here this Dennis is that said seen this this final two point five megabytes which is the genesis beacon state for the very first state is the state let's open it and see what it looks like it is just find anything and so you're not actually gonna be able to much of its if you just open it normally but your to signal stability are topics are there we can go to be kidding states this is the water announcements about that incorporated clients this is just for education in store personally I mean like what buddy toons all about so let's just walk through them this looks fine so what we're gonna do here is create a new master deep the way master we can export we can encrypt these private keys so that when they're storm on this it's not just a robbery key waiting to be attacked or Street it's gonna be honest with me password memory or keys takes a little bit so if anyone's interested we have links up at the top here that that show the relevant facts once backs for surviving a private key for randomness repeat one spec store the hierarchy call see derivation in one spec fuller how do these keys are stored on this so if you've noticed we have we got this big wall straining not it locks pretty look it actually matches up with the public let's just take a piece in designing trying to keep just refining JSON it's the team but this this is its files tell me that you could love an in tune to denominator I'm kind of the relevant parts here or this is actually the encrypted private team and all the rest of this informs we create a drop of it on its spacing between the drop its again it's just it's a seem to be able to create your own needs you can use it too First Alert the key view if you do you have a mnemonic you can mix in working here this work so the records are used to again gears to let here to figure out how to connect and again it relates to each to text it's more practically so let's go back to this all toda Testament directory if you look at these boots from birds to client first connect the very first nodes that your client notes on from from those neighborhoods you discover more and more it's not really very readable so this is just copy one of these and you can see inside here we actually have all of these different pieces of paper so you can see this record is really informing us to that we can connect to this computer let's find it on this on this side but listen this is actually pretty useful IVs missed those exactly Aziz Dean I was dedicated for these I can't read this we have a lot more we have a lot of other different fiber base that was created in stuff I think there's a lot more opportunities for motility maybe we're visualizations of things I hope that mr.

tony huge things to use new taste of what's possible right you know these to see that's one come up very quickly I think this you know I took an afternoon to make you already at the library that can be cooked are just a matter of it's just a matter of slipping it in the writing it out I've got our lodestar everything built configured didn't used to be the live demo let it I will see how the works here work three the idea is what show some really cool things that you could do to grant debugging I have debugging a JavaScript application even easy so let's inspecting console I can look at this oh great we're actually thinking the tooling is great it's actually really enjoyable for for for investigating errors and for a lot of finding bottlenecks so just a little bit so we can pick it up all this happening so must all right this flow chart shows you roughly it shows you what the program is what is working on and every given point in time it's it's constantly meeting what currents running its what's taking a lot of time with not tasting so they're just like my glands here we can see all these with these little tiny things happening in this is big massive this is big that's well it looks like it's our state transition dance it is rotating epochs okay so what is rotating eat box click on this and go right to the source code that's okay we said dig in even deeper and we can see okay actually the biggest the thing is hitting the most time Oh Timmy box is reset the buzzers you can see it's computing the proposer index over and over for you know for several times and so baby you know maybe this this would be an opportunity then to even investigate this motion and see if we're doing anything stupid or slow updated we need to be making this veterans it's the mr. Freddie in Michigan I think is pretty amazing I just recently learned about this it's already changed the way the questions I don't get caught we have an open disc or channel we're talking on answering questions on Twitter de chien States yeah oh my god yeah I'm just like blown away by the last thing that you just saw the French are is so cool really cool um so they're what though I'm just gonna repeat the website right now it's no star chain saved on Io correct where are the web tools that you can get access and like try it out so there are like three beautiful project web tools that are like you aren't able to try it out with this website so it's low star chain save the i/o so we're open for questions right now like open the floor to like anyone who has questions so you can drop us the question right now and Fifi has a few questions before so not like several like people joining this call right now and I wonder if people who are in English Karl maybe summer okay I mean I mean this is where we're still working through some of those each stage kinks in the software and timeline and we're we're really lucky to have a client already at least the you know minimal viable client ready for this public prisoner I already by the time my participating it's great because it let people involved so I'd say within a month or so probably be qualified or not some of those tints I'd say maybe a few releases to me it's release every other week but if you want more video updates let me convert this board second question about that security so and do another round experience with this persistent burns between the illest HDTV and theater stage again and he'll dusty store everything else is definitely very important to look at this before Thanks any more questions from people who are English call right now yeah go ahead so maybe the bigger targets are disadvantages and advantages some of the disadvantages compared to the appliance you don't have this fine control over code that you're writing it's you're writing about a higher level of funding inside its $1 good medium and still performance potential the woman's disadvantages the same language slight like bust or cold you can get much closer to the middle and full advantages you can like that have the same flexibility in terms of how the using multiple threads it's not really shared memory across threads in JavaScript and usually the way that you write JavaScript assisting in a single threaded waiting's offload those and easily and Sabrina I'll call the blood starters single thread and the instructions with you but the advantages it's better than having a dynamic language um it's I think debugging is a lot easier kind of between just very easily to quickly be testing it playing around with the talbert's and maybe this against the fact that there's a lot of developers and no transcripts and there's probably a lot steeper who knows things like things and so there's probably mindshare advantage there yeah I think thank you for answer any more questions maybe she has a bunch of person there you go you mentioned assembly script and I'm very curious because that's new to me and I'd like to you share it more I'll show it right now or I mean like like sewage I mean battery now but since you do you mean like this me recommend you yeah yeah yeah oh yeah yeah yeah suddenly tripped um so we know everyone library in this at least you have a chart 256 what it looks like so just one photo oh it looks a lot like read script script well that's you can get it's very close to the metal of whatever that means right pretty which can be important so for instance warden and you're loading in a Boston blob into no Bowser or EndNote module asynchronously so owed its see able to like run you're not able to run what was family code synchronously synchronous initialization period except if your web suddenly module the compiled module it's less than five kilobytes so that's what we've done with this to be six it's a very tiny no beacon blowed synchronously and so we can avoid this asynchronous loading and the reason is because we know who wrote this nowhere it doesn't use any displacement Brunton just to be fixed pretty standard exact same function in terms of everything but with dependable results performance wise across oh cool so okay it's the purpose of the as shop to the thesis is to load it synchronously to the browser or or just to this so we are the illest oh you know what's library is actually uses Watson compiled library and it's a lot larger and so whenever we use them we have to first run an init function wait for the mid-fuck finish the people that's operations six you don't have to do any kind of the waiting or anything just use it normally there's no is he reading you know strange mystery oh so that's why we see the loading screen on the POS website uh the reason that we see that is because the pure standard uses script the STD or YPD to to derive the the secret from the password subscripting like that the proof of working right pointing scripts it's just it's supposed to take the long time so it's hard to brute force its arguments worst here you probably came from the house where does it takes a long time to trust each password I see it ain't anything to arbitrate oh nice these tests are there there are synchronous call but you'd have to wait the asynchronous the initialization this is what you have to do they never was initialization is actually loading the wall donut in your it's ready because it's pretty fast compared to native knowledge scripts yeah I can't imagine that yeah yeah I'm considering we rewrite some of my applications previously so I'm asking was CC has been working on previously yeah what's up for authentication when you Matt came when you were working on something else like changing all the time the project that you introduced to came and when you were at ECC in Paris yeah it's famous for authentication so it's using the uh knowledge proof that you log in the website but the website just know you are a registered user but the website doesn't know who you are who exactly who exactly user you are right now there have another project yeah I mean I've another project and and the same of authentication has a lot of JavaScript code and some of its using some website sembly of my skull it's not written by me but but like very excited to try to fight it out in somewhere is more it's more it's it's optimistic but it's more it's more about truffle and smart country and less how many people are are low starting as must be five five nine wrists yeah so is time mmm so if people are interested in like contributing should they how were they different so just go to the github link yes I would say literally joy at this floor that's that's what you think like it'll talk to a little person you know already our team basically the always active there disgusting the way it stands of things people are coming at us as questions very great happy to bring them on and it's funny the entire alone started CDU writing the album although came from Venus so we always didn't just join this team because it was like oh this is cool like we talked on github and we started contributing talking on this board and like just through this process we've all started doing this either part-time or full-time and so in our DNA what does a team is to do this you know we're doing things in this very open that's very cool it's a that's a dream of every repository oh yeah so I think we're going to wrap up right now so I encourage everyone new like further information like chat with kima maybe so joined us discord or like take a look at the github recall our next meetup is a Wow I hope because I got like a bunch of other online events coming up and the radical exchange Taipei also has like a podcast interview thing this month so I don't know why I'm saying this but because like I'm like managing the Twitter accounts of Taipei Syria means graduate exchange type a so I like I will love you to follow us yeah so I'll thanks very much came in for your time we'll be seeing you soon yeah bye bye everyone [Music]

Automatic transcript — names and jargon may be misspelled.