EigenLayer Hackathon: Build Without Barriers with LASR + EigenDA
EigenLayer Hackathon 2024 · May 2024 · 50:14
Andrew Smith, Gloria Lee and Andrew Hathaway of Versatus introduce LASR, a language-agnostic stateless rollup that lets developers write smart contracts in languages they already know, starting with JavaScript. The workshop explains why web3 needs far more builders, how a deliberately small instruction set of create, update, transfer and burn keeps programs simple, and how the project builds on EigenLayer and EigenDA. A live demo, a tour of the documentation, a preview of their AVS, a call for beta developers and a hackathon bounty follow.
Speakers
Topics
From EigenLayer Hackathon 2024, hosted by Encode.
Transcript
hello hello welcome everybody it's really great to see you here um please drop your hellos in the chat it's great to see everyone here on a Friday afternoon thank you for making the effort to come along I'm just going to invite our speakers from today up to the stage to get everything prepped um hello to everyone Andrew Nester GM GM what up what up good to see you all hello I almost didn't make it man that um the uh capture it got me I fail it I failed it like three times I guess oh
what what did you have to uh spot what did you cars it like it wasn't even that hard it's just sometimes they don't know that it's a I guess you you have that awkward situation where uh sometimes it overlaps by like one pixel as little amount hello hello right um well would you like to share your slides um we'll just give it that away coming in hath maybe you want to start uploading your video as well I think so my my deck was already uploaded from before
ah half it might already just be uploaded beautiful awesome well everybody is just joining in we'll give it another 10 seconds or so just to let a few late comers come the video is there perfect look at us we're so we're so prepared can we um can we throw a pullup or only you can throw a pullup uh it might only be me if you cannot see the pause screen I assume you can't I I it says no polls yet team members can send you polls here your answers won't be shared with other attendees yeah sorry it's just me then I
can share a poll if it's something I can easily type in quickly um yeah I I I Pro I would like to know what everybody's favorite uh programming language oh okay maybe maybe put solidity rust Python and JavaScript and maybe other awesome great well I guess we can start there then we are finally set up which is great um yeah thank you very much to the team for coming along today and delivering this Workshop thank you to all of our participants for coming along too on a Friday afternoon Ching to spend your time with us um it's great to see so many of you saying hello in the chat and as we've just set up please do
select the polls um select your favorite programming language for those who haven't seen it it should be on the bottom right you should see three bars and you can click there um but I think that's enough for me I've been chatting away um hopefully we can get the results of Leal in a minute or two but otherwise I'll hand straight over to the veredes team um thank you for joining us and uh yeah please take it away right thanks guys um excited to do this excited for everybody to be here uh just as a little bit of an introduction to verses verses is building um a decentralized cloud platform um so we're we're building an
unsto Unstoppable Cloud um we're focused on Building Products on top of Igan layer which hence you know I think probably most of the workshops that you're doing these next couple weeks are are focused on the on that uh we are building one Ro up and we're also building an ABS um and so we'll talk a little bit more about the AVS towards the end the majority of this uh Workshop is going to be focused on our rollup which is called laser uh and we'll get into the why behind that um but just as a sort of quick intro to myself uh my name's Andrew um I decided to put my Twitter handle in here so hopefully you guys will go and follow me um so that's the name that you're seeing underneath
my screen um I've been a software engineer for 14 years professionally mostly focused on machine learning AI um and then in the later part of my career prior to starting versus I uh built I was a distributed systems engineer so a lot of experience across those three disciplines uh I've been programming since I was 14 um uh about 20 years now um I'm a lot older than I look on when I'm shaved if I'm not shaved I'm a lot I I look a lot older than am um and yeah that's a little introduction to me uh hath do you want to give a little introduction to yourself and and maybe
Gloria it's been two three minutes um just introducing yourselves before we get started all right um what's up guys my name is Andrew um I I'm from Vermont and uh I used to be really into skiing I was like a professional skier and I'd hit really really big jumps and then uh I went to college and I was like holy electronic music is so awesome so then I started a band so then we went and tour around the country and because edm's like computer writing software computer or music with computers and music is math um I found that I really enjoyed um um computers and working on computers that was
probably like 12 years ago and then I went and worked at Comcast for like four or five years as a systems architect uh helped them build like an internal AWS effectively and then uh and then did a little startup and that's where I met Andrew and uh the rest is history hey everyone I'm Gloria I lead developer relations at versus um my hobbies include talking to developers and also long walks on the beach and um I'm really looking forward to hearing everyone's feedbacks especially because we're a very developer Centric project and we want to be the best resource in the web 3 space for Builders like you guys absolutely I
think that's probably the perfect place to kick off so we like to we like to think of ourselves as web 3 Unchained and and you know when we start talking about our AVS the little block bracket in the middle will make a little bit more sense um uh we believe that blockchains are a really really important tool for a really really small subset of problems but that those problems are really important problems uh and they need to solved and blockchain solved them really really well uh but there's a whole host of things beyond the blockchain that uh we think uh also benefit from verifiability decentralization and censorship resistance and so we'll we'll touch on some of those themes throughout the workshop primarily this Workshop is about laser as I mentioned um laser is
our rollup it is uh called laser because it is a language agnostic stateless rollup um so what does that mean basically it means that you can uh program in you can build smart contracts in any programming language um starting with JavaScript we'll be expanding to python uh go rust uh cc++ and eventually other languages as well as including some web 3 languages um so why is that important there's about 25 million developers in the world there's only about 25,000 building in web 3 and so you know part of the problem that we run into to in in in this space is we got a lot of people in
the space who are really really smart um often too smart for their own good and so they they get very creative and they come with new ways of doing things um and oftentimes you don't actually need new ways of doing things so you know we wanted to simplify things while still retaining a lot of flexibility and still retaining a high degree of of security and it's our belief that the simpler it is the easier it is for you to build secure smart contracts and as a result secure dabs um the current web 3 developer experience is not great and and you'll hear this over and over again I know uh in EN code Club has really built a business around the fact that people want to learn it but it's it it kind of
is a steep learning curve um and so you need boot camps you need structured learning programs you need a way to to break into the space you need to get your first job uh it's a lot and and opportunity cost as it is a lot of people just choose to stay in web 2 they make a good living uh building in web 2 um there's not as many jobs today as there there once was uh people have been getting laid off and stuff and that's an opportunity for web 3 to to kind of present its uh its value proposition to those developers but there's a lot of money to be made just by being a web 2 developer so why go and learn a new skill particularly a skill that at least in the Western World Is Still viewed is very very Niche um and we often hear
over and over again like when do the next billion users come when do the next like how do we acquire the first billion users in web 3 and the answer to that is really really simple it's after we acquire the first million developers um you need developers to build applications those applications are what users are going to use if there's nothing for the users to use the users are just simply never going to come um so that's one part of it the other part of it is is that uh currently really only a small component of the application stack is even decent ized at all and that's the smart contract the rest of your application your front end um you know offchain components that your backend if you have databases uh if you rely on oracles a lot of times those
oracles are actually centralized or at least hosted in in a amongst a cloud provider uh there's lots of aspects of web 3 that are still very much relyant on the web two backbones and infrastructure and so what we're building we like to think of as like the universal dap engine uh another way to put it is like an integrated Cloud for Unstoppable apps um we we think we're the perfect marriage between cloud and blockchain uh you get the best of both worlds you get scale flexibility familiarity you also get decentralization trustless verifiability which TR you can't have trustless without verifiability uh fault tolerance um all of those things are very
important now there there obviously clearly are some trade-offs there's trade-offs in everything for the majority of what we do having redundancy across a wide network of um of node operators is not necessary you you need some redundancy but you don't need the level of redundancy that uh blockchain offers for most of what we do um so with that we'll jump into laser what is laser as I mentioned earlier it's the language agnostic stateless rollup allows you to build smart contracts in the languages that you already know uh and with the programming tools that you you already love um so we want to meet developers where they already are we don't want to require developers sorry in code club we don't want to require developers to have to go
and learn new skills we want them to come and be able to start building in web 3 day one um and that's a big ask but we we know that there's demand for this and the reason we know there's demand for this is for a couple of reasons a if you scour the web you will find lots of demand for this the the other reason is that we actually commissioned a survey and what we found the survey was of a thousand us-based full stack and backend developers so this would be your closest comp in web 2 to your typical smart contract or blockchain developer and 40% of those developers said that if they could use the skill set they already had but build in web 3 they would already be doing it another 38%
said they were somewhat likely to start doing it so you know those are ones that are on the fence but 40% of a 12 a half million uh person Market is a and so we want to be able to capture that bring them in have them bring their ideas into the space um you know start new businesses start new daps and contribute to the ecosystem one of the really cool aspects about laser besides the fact that you can build smart contracts in any language is that we have a very very simple framework and this these two things go hand inand so instead of having like a virtual machine with you know I think ethereum has like 78 Ops and then they're doubled up so there's
like6 operations or something like that in the evm might be a little less than that don't quote me on that um but it's something along those lines instead of that we have four simple operations and if you come from web 2 you will see a common theme here uh we have create update transfer and burn that's it and you can package up to a thousand of these instructions into a single smart contract call so you can do a lot with very little uh and they're very very flexible obviously create you can create new uh supply of a token you can create new token IDs for nfts you can create a new data that can be stored in a token there's all sorts of different things you can do with the create instruction update you can go in and alter uh those
tokens and you'll hear the word token a lot throughout the presentation because in laser everything's a token everything's a token whether it's data or actual Financial assets everything is a token uh transfer obviously is is pretty self-explanatory as is burn um and so with those four simple instructions you can basically accomplish everything that you would be able to accomplish in the evm the move VM the salon VM but you only have to remember four instructions which is really really nice um you return those instructions from your programs which behave very akin to sort of like Lambda style uh stateless functions uh and with those four instructions you can actually read them because they're returned in Json uh and
so with that said I think we'll pause here we're going to hand it off to hath to do a laser demo um so he's going to share his screen and he's going to walk you through something that he's been working on uh that we think is a really really cool product a great showcase but also on its own a standalone product and he's going to give you a little bit of a lay of the land of how you build a laser program and deploy a laser program as well as um you know what it looks like live after you built it all right nice thanks Andrew what's up guys I'm Andrew as well um and what we're going to be building today or at least showing you guys uh what we built is uh is chess and this chess game is is peer-to-peer
um it allows you to bet and like place a wager on a game and then after you do that you're going to You'll Play peer-to-peer on chain and it's live so it's like using websockets in front end to to to broadcast uh the the the moves between uh any of the browsers and also anyone who wants to watch which has like been something that I really enjoy is watching people play tests on laser so uh without further Ado let's just go ahead we'll hop in here make a thousand vers uh game so this is going to create the game and then redirect us to the actual um to the actual the chess board and as you'll
see down here this popped up this is the game that now I'm going to join with this browser and so both of these browsers one's a brave browser one's a Chrome browser um and they both have they both have our wallet extension installed and then um and so obviously they have different um they have different uh addresses and obviously this one has a lot of verse this guy doesn't have as much verse um this is a 2000 verse game um and so let's just dive in so I I've been like testing this thing so I know how to lose really quickly um so don't do this uh when you're playing for real this uh this is the fastest way to to lose so as you'll
see down here um what's happening is is we're effectively streaming the changes and pulling the the the the um the laser Network for updates and then streaming those to all of the the people that are that are connected you'll see the number of people down here um and then so cool we just did that and then we're g to do this and then up top that'll update there we go and then we go to here we're going to do that and then this guy down here is like oh my God what an idiot so then he moves here we approve that signature we have now uh we have won this game and then you'll see up here that that it has it
has broadcasted the the the game state to the other user and and the game is over um so we'll return to lobby and then now what we can do is kind of hop into what's going on underneath the cover so we go left first point out that the uh winnings get transferred as well right that's that's an important part of it yes exactly so let's see here right top right quarter yeah so there might have been a a small bug in my transfer but it took my it took my 1000 I don't know it actually transferred though as you can see here though that it did update this so there is probably a bug we've been
kind of working all night on all this stuff just to make it ready for yall so um so this is this is the entirety of the of the laser chest program as you'll see here it's only 270 lines long minus 20 so it's about it's about 250 lines long and like one of the best so one of the best parts about developing in laser is you get to develop and use all of the packages that you're accustomed to in your web 2 day-to-day lives but in web 3 um so in this case what we'll do is you'll see here I'm using this I'm using this Library called chess JS which effectively allows us to run chess in a headless manner um and all you need to
do is pass in this thing called a Fen a Fen is a is a ring which just which which denotes the current game state so as the game continues to progress this Fen is going to change this Fen then gets streamed to the front end and then we're using react chessboard to interact with and display that chest game and and so when we move a piece we're we're we're uh triggering a call to the program and and and then signing and broadcasting which is then coming into to uh to the program and these are the methods by which we we play the game so the first thing I'm going to dive into
here is create every single uh laser program that that we make um so the deployment process is we can dive into the command line uh interface here in a second but the appointment process will take it'll it'll TR in in typescripts case it'll transpile uh your typescript into a single computable Javascript file using webpack and then it takes that it's not really a bundle but it takes that single file and then and then um it it broadcasts it up to laser where it gets registered into ipfs once it's an ipfs we then register that CID with
laser um and then the final step is to call create which effectively lets us set the metadata and the data fields inside the program um so let's just take a look here real quick here's our metadata fields that we're setting and we have some nice functions here which let make it pretty easy to uh update a program's metadata and a program's data field and a good way of thinking about especi especially the data field is that is that a data field is like it's like a key value store that um that you can literally store anything in um um as long as it's it's key and then string as long as you can stringify um whatever it
is that you're trying to store then you literally can put anything in here um and then so we have some sweet uh as I said some sweet uh functions here that'll make it really easy and what these functions are doing is they're just returning instructions um if you remember remember back to what Andrew was saying the instructions you can have up to a thousand in this array and and when these instructions are run by the protocol it's Atomic so if 999 of these instructions work but one of them doesn't then the transaction won't it it'll fail um so you can use keep that in your back pocket and uh and uh and
and keep that in mind when you're building out your your guys programs um cool so this is the create um we have a token distribution which in the case of chess uh will distribute 100 chess they effectively nfts to the main program and then during registration the user then um when they register they're effectively minting a chess nft which allows them to play the game um so there's our create uh then we'll dive into a register user so when someone comes and and wants to to play chess they need to register so what we do is
we take in a username and an address um and then we parse the account data so the account data we we have access inside of the compute inputs we have access to the the main programs account data which allows us to to to reference and then also update um current data so as you'll see here I can go and get the current users that exist in this main program and then add a new key value pair here which is just address and us username so then this way I can call the main program and then get a list of all of the users um so this is this is register um and remember I mean these functions here
literally just this right here this right here they return instructions which we then pass into this instructions array and we return that and and this right here will will will then update the main programs data field with the the the new registar or regist regist the newly registered person um so we've registered the user and then now what we want to do is we want to make a new game when someone registers uh quick quickly just popping back over here this right here is is effectively um us transferring um the nft into the that that person's account so we're taking it from the program ID because during the
create step we've we've we've initialized a certain number of of Chess nfts and we're sending it to that address the token address is itself um and then the token IDs which this right here brings in this function right here will bring in all the available token IDs from this main program um so then up in new game when we trigger a new game we create a new a new game ID we take a new game f which is up here this is just a blank board with four rows of eight spaces um in the middle and we're just we're just going to town right here in the data field for the user that created the games token so so for every
registered person they get an nft A chess nft that chess nft is where that users games are going to be stored so in this case what we're doing is we're updating the token data um we passed in the account address from the from field which comes in from our transaction um the program address is this meaning we're talking about this program address associated with this account um and then we're setting these kvps these key value pairs um one thing that I found in like building all this stuff is you don't really want to get too nested with um with your data because it can kind of get a little bit hairy um
eventually so something that I found is is is to is to make keys that are very um um you know very specific and and and tell you exactly what's going on but they're also unique um but also by keeping by keeping the the the data the data schema flat in the data F or in the the data field um we also have a bunch of methods in here or inside this SDK which allow us to like remove Fields right um we can extend fields we can we can replace Fields um Etc so like if you had a nested object inside one of these as a value for one of these Keys it's a little bit a little
bit more tricky to work with but on the road map um we're looking at at introducing all sorts of helpers that allow us to manage you know arrays right being able to pop things off of array or push things into an array um and uh yeah but again you guys are early so you know as as you start getting into it and and and find some pain points I mean just join the Discord and come in and and like let's discuss because because we're just trying to make it uh you know we're just trying to build something that that is really really easy to use fun to use and and is just you know allows people to move really quickly um like like I said this whole chest thing um is 250
lines long right I mean it this right here I don't know how big this library is but because we're using JavaScript and webpack right now to to to pile or compile this or transpile this all together um these don't have to be very long right we can use a lot of the same libraries that we're used to using um in web too okay cool so we create a new game we're updating the person who's creating the new the new game's token data with these fields right the fen the from it's initialized that's our state it's got the wager um and then also down here when we when we create a new game we take the wager we're transferring that amount of verse in this case from the person who's calling from to this so
now this main program is effectively like uh an escrow cool so we have a new game and then we go and we accept the game the accept the exception comes in from or the person who accepts comes from the UI will'll pass in the game id address one meaning it we're we're telling hey program looked in this guy's account to find this game and then also the wager um and then so here we're updating the token data we're changing the state which is remember address one is where that token token exists we're changing the game State and then we're also adding address to which is the new user that just came in um which is the from right um cool then we transfer from from
them from the people who just called to this to this main program and just like that we can start so after you accept the game um in the front end you would then see uh the the game board come up as you just saw um a second ago a and then it's really this is the meat and the potatoes right here literally the entirety of of the of the chess logic exists in here which is Tiny um remember we're using chess JS and because we can do that we can keep our produ our our our our our program extremely small and concise um so in this case we're taking the fen which gets passed in um during
the move we take the F and we also pass in a move which is a standard it goes from this Square to this square and and chess this chess program just understands these Fen strings and and how they work and and and what's legal and what's illegal um so we take the fen we we we initialize the chest game we move it based on on this move object here um we we grab a date now so we're we're we're we're updating the updated app um we then test to see if the game is over if the game is over then we go ahead and we transfer from this meaning the main program to the person who made
the call because the person who made the call if the game is over that means that the person who made the call is the person who won right um so then we push this into an instructions array which is something that we then put into this outputs piece right here otherwise if the game not over we we just go we go to address one where's where which is where the nft exists we have the F the current Fen so after the move up here um this chess object now can return a Fen which is the updated one of these strings we continue the game State as in progress and then we add the updated ad so in the future um you know in the next couple weeks I'm like thinking about
introducing a um a uh like a speed chess version of it right where where where it will it will allow people to like at a at a time limit allow the system to then to then execute a random move um on their behalf just to keep the game going um and I mean there's so much that you could do here right I mean it's it's literally just a key Value Store um and yeah so that's make move and this is like really most of it and then we have forfeit which is if you want to give up which you know some people give up not us um this will transfer all of the all of
the the the pot to the person the other person okay cool um so this docs website we've been again burning the midnight oil trying to get this stuff out so um you know excuse any of the of the spelling mistakes but um as you know we we're actively working on on on building obviously laser but then um improving our docks and um yeah so um this is got a lot of information about pretty much everything um with regards to laser a lot of the Core Concepts um creating an account creating your first program and then also you can come to chess and this chess uh walkthrough is a good is a good
place to go to to understand how to to get this chess uh this chess repo up and running so let me just go ahead and grab that.com and this is I don't think they're on um the right screen yeah I was just going to say good flag in the chat um we can still see you youren no no no I had to I was just grabbing the GitHub there's the GitHub link for for laser chest Okay cool so um this is our docs website it's docs.
mercedes. um and it's it's very friendly and and easy to read and easy to consume and it has everything that you need in order to get up up to speed not only with chess but also with with bird uh bird is effectively uh a Twitter clone and we built a Twitter clone um and you can go and use it on our on our playground website it's playground. mercades our bird program oh sorry I'm in an incognito but you come here and you can sign up you have a username a display name and then a pfp uh URL which at the moment you should just grab the the URL from your Twitter uh account and copy that that imageurl to um to uh uh
get a profile picture um and then then another fun little thing that we have over here is in in like because of how easy it is to build with laser I've effectively went and I created a lot of the same characteristics associated with uh with Pokemon Pokemon Red um and then so I'll bring this over here yeah so uh these these these Pokemon are literally nfts and these Pokemon also have the ability to um to evolve and and you're literally you can literally train them oh whoops and battle them literally you can train
them and battle them so the way that you the way that you that you level up and train these Pokemon which are nfts is by battling against other people and then when you win each one of these nfts um or Pokemon nfts literally it it has all of the logic built into it for like the growth rate and and when you catch them it generates uh a unique IVs for each one of the Pokemon so no Pokemon is the same and you guys might not know this but every Pokemon when you beat uh uh any one of these Pokemon they have a certain EV yield and the EV yield is split between five different characteristics like attack defense uh
speed special attack special defense and so on and so if if you have Bulbasaur which returns an EV yield of one speed my Charmander if I beat the Bulbasaur then Charmander gets plus one EV speed right and then so as you're training these Pokemon they're Gathering uh they're Gathering EV uh EV points which then allow for for you to train uh Pokemon in a very specific manner so if you wanted a really fast Squirtle then you would look to to fight people with a speedy V of one um and so on so this is just a really really really cool example of like how versatile and like easy it
is to build with laser I mean you can literally tap into to all of the web too and then and then yeah I mean you you're really you're you it's it's it's boundless the amounts of uh the amount of of possibilities so yeah um what do you say should we dive into the surprise I think we should yeah um so for those of you that joined a little bit late we discussed um you know a little bit about what's coming for veredus and uh you know we we are building a integrated Cloud AVS uh for Unstoppable applications so what does that mean a good sort of frame of reference although imperfect would be like a digital ocean on Igan layer uh
completely censorship resistant and verifiable but the ability to provision uh virtual private servers um SSH into them uh download whatever you want to download and uh you know Point your domain name to them all sorts of different things that you would be able to do in web two that we just used to take for granted um as developers you know building in the cloud you'll now be able to do in web 3 and inherit all the benefits the cryptoeconomic security of ethereum uh decentralization uh censorship resistance verifiability Etc um and we uh as I hinted at we uh well hath didn't quite stay up all night he's in Europe right now so I stayed up to work with
hath literally all night to deliver this for you it's a video recording um uh of uh you know the the very first uh successful attempt to deploy uh to provision and uh deploy an app on top of what we call alra which is our uh VPS product and so hath without uh further Ado you want to go ahead and play the video and we can kind of walk walk them through what's happening I know it's a little bit small uh but basically we have a CLI tool that makes RPC calls out to a network of nodes uh which can then provision virtual machines nodes form into quorums they share that virtual machine amongst that
Quorum and it does take a little time to actually spin up the VM instance uh similar to what you would get with uh with AWS or any other cloud provider you have to uh make sure that they're provisioned an IP address and everything else that goes along with that and you have to in our case you also have to spread that across multiple nodes um so uh it does take a couple of minutes to spin up but then once you spin it up you can actually expose uh services on specific ports um you can you know put your public key into that instance you can SSH into that instance which you're seeing uh half here was doing earlier today uh so he you know literally a couple hours ago uh SSH is into his
instance um his instance has a unique Content ID that's based on his signature when he first uh uh well it's based on his his address uh so all this is tied to your ethereum wallet um and and then he's gonna install um what are you installing here ha we're installing node yeah well we're installing NVM which is node version so installing node installing uh nodejs downloading his laser chess game um the front end for it uh and then what you'll see in a little bit is we're actually serving this front end uh from
a random machine in the network and so um you know we'll go to uh right now we haven't we we were hoping that we couldn't quite pull it off we were hoping to actually be able to show like the domain name aspect of it as well but um it takes up to 24 hours to actually transfer the domain name so we we we missed the the mark on that by a little bit but that is coming soon you'll be able to point your domain names to it prove your ownership of those domain names you'll get a full Cloud experience with the benefits of web 3 and so here he's he's installing all the dependencies for laser chest um you know with with mpm install uh and then he's going to build the laser chest front end uh he's gonna run that uh nodejs
server um and uh well right right now right now we're we're building the laser program we got do okay we he deploying laser chests from this VPS instance as well by the way so when we say an integrated Cloud this is what we mean you can build your smart contracts your front end your back end all of it in one place you don't have to go to three four five different providers um and we're going to make it even nicer this is literally the first ever successful attempt at doing it and we did this just a couple of hours ago but we were so excited about it that we wanted to share it with uh with you guys today and drop a little Alp on you and
we worked really really hard to to to make this work uh in time so um you know we're glad that you appreciate it and think that it's cool uh and nice Alex and and uh and AJ um and in just a second here you'll see and all of this took what did it take maybe I mean you had already built the chess game so discounting for that but it took maybe 18 minutes 20 minutes max to migrate it to algra um so the process of going from a cloud provider to algra is seamless you're going to use tools that you're already very very familiar with um and all of this will be secured by igen layers network of rakers and run on igen layers
network of node operators the one piece that's missing from this particular demo is the AVS contract where uh node operators can register and deregister from an ABS uh and where they can um you know where they get paid and where they get slashed although IG lay hasn't quite rolled out payments and slashing yet um so right now it's just registration and deregistration that will be coming hopefully by the end of next week um and then in about two weeks we'll move this into a devet so you'll be able to build smart contracts in any language hook them up with your front ends and your back ends running on a purely decentralized Cloud one of the cool aspects of algra that we think is really
powerful particularly for defi use cases in the state of the world as it is today uh is that you'll be able to revoke ownership of your front ends and backends and have them governed by a smart contract and so now they're completely Unstoppable they're out of your hands that you eliminate a lot of the regulatory risk that exists in the US um so algra site is not live yet uh this is just a internal demo the docks we're hoping to get out by end of next week and then as I said roll out a devet in about two two and a half weeks um but the docs will hopefully go live uh minimal docks for now this is a MVP version We like to we like to build
stuff in public so the first version of what you get with us is uh uh is usually very minimal but we like to improve it with the feedback of developers because we find that's how we're going to build the best product that developers actually want to use and so here you see he's uh actually pulling up this site the laser chest site on just some random machine based on their IP address he was able to acquire their IP address from the network now this will all be domain based and you'll be able to just put in a domain name and get to the site and all of that um we just weren't able to quite pull that off in time but we wanted to share with you anyways and so here you go uh AJ you missed the original chess game where uh
hath beat himself very very quickly um hath do you want to maybe just go over the the chess game again for those that missed it earlier yeah 100% so the if you guys check out the laser chess repo um it's effectively there's two directories that are that's inside of the repo one is the laser directory and one's the app or web app directory the laser directory is just it's got laser chest in it and it has some some some test Json um it allows you to test the program um we also what what we did earlier in this V video is we is we built that program using uh using laser control which is our our command line interface and then we deployed it uh we deployed it to
laser and then after we did that we got the program address that came back and we put it into the the the the the end file inside the web app along with the secret key of the person who is the deployer of said program and um and then also the address for that person and then we so we updated the environment file we installed inside of the web app and then we ran and once we ran we uh we could literally play chess against one another um so yeah and one one of the questions we often get and for those of you that saw the earlier demo and saw this demo is is well will this be as performing as cloud and I think demos
like this answer that right and so what's what's what's cool about the way that we build this is again it doesn't have the level of redundancy that a blockchain has it's fundamentally not a blockchain it's just a service um but you do get a lot of the benefits of blockchain there is decentralization it's a quorum based model um we do uh eraser code your instances and and distribute them like torrent style so we can recover them in the event that the Quorum responsible for your instances um are ever goes down right so still recoverable um and the nodes that are running this you know mo right now will'll be PR arily uh Igan lay nodes probably forever as igen lay scales
it'll they'll scale faster than than we do likely uh hopefully we can bring some to the table as well so you know as that scales we'll be able to scale out our Network and it scales horizontally the more quorums we can form the more applications we can host and the more we can scale those applications um yeah our our decentralized cloud is chain agnostic it's not built like on a specific chain it's it's fundamentally not a blockchain now we do prove uh we very ver ify the the like we verify the instances and we prove the state of those instances on ethereum because that's how igen Lair works thank you very much do you uh guys have anything else to share I see Gloria sharing lots of links in the chat which is great just
spaming our Discord yeah join our Discord um follow us on Twitter uh you'll reach out to Gloria if you have any questions if you want to get involved if you want to build on us laser is in a private devet that will be going to public devet um pretty soon so you know we are uh we're we're shipping pretty rapidly uh and we're hoping to get algra into a private devet or excuse me a public devet by mid June so you know you'll be able to build full stack applications and purely decentralized environment you know early this summer uh we would love to have you um we're also in the in the process you're already building an application if your application's going to have a front end if it's going to have offchain
components we would absolutely love to um we would absolutely love to uh to have you building on us and and to partner with you we're looking for right now about 250 beta developers to come and build on algra build on laser give us feedback allow us to improve our product um and so hopefully we can we can uh form Partnerships with a lot of you guys bring you in the last thing that I'll add uh and we're I've still got to work this out with Angela but I'll just let everybody here know we are doing a a bounty um so if you do build something if you do build a laser program uh which you know if you join our Discord we'll show you how to access it even though it's still uh technically private um if you if you build a program on laser we're doing a bounty it's
$2,500 um $1,500 will go to the best project and then uh the rest of it will be spread out amongst the top five uh so please get in our Discord uh learn I saw a lot of you guys are uh Python and JavaScript Developers JavaScript is now firmly in the lead at 43% um so get in there you can build smart contracts in JavaScript it'll take you maybe a day a day and a half to pick it up and then you'll be Off to the Races awesome and we have some ideas too like if you want if you you know ideating in a new system is really really hard so if you want some ideas uh joining the Discord we'll throw some ideas at you of of things we would love to see built um and uh and we'll help
help you through it so where's the best place you you say you're looking for beta developers is their best kind of path to join your Discord and reach out to you there where where can people go to that's by far the best place yeah it's by far the best place and you know our our community is it's decent size it's not small but it's not huge um and so as a result of that you won't get lost you know we we'll be responsive to you uh but we also have some super fans in there that like anybody who's building out they they would love to test your product out they would love to give you feed back they get really excited about people that are building on us so uh get in there you'll meet you know shroom and bomb and tins and you know uh uh kill and all of our all of
our kind of super fans in there and you have it's a trip awesome you've managed to cram so much into one hour Workshop it's seriously impressive um we have le Bounty we had a sneak peek we had some demos so uh yeah I think on behalf of everybody everyone in the chat there seems to be a lot of excitement so thank you very much for for joining us today and sharing that um as ever the session will be recorded So for anyone who missed the chess game at the start don't worry you can go back and watch it all um and that will be shared in our hacker pack very soon so thank you all for joining us thank you very much to the the satus team for for coming along
giving the workshop and looking forward to chatting to you all over on Discord absolutely thanks guys take care have a good Friday great weekend [Music]
Related talks
- Unlimited Size Contracts Using Solidity
- Solidity Tips and Tricks
- Solidity 101 in Turkish: Updraft Study Session, Part 1
- Solidity 101 in Hindi: Updraft Study Session, Part 1
- Solidity 101 in Arabic: Updraft Study Session, Part 1
- Solidity in Hindi: Updraft Study Session, Part 3
- Workshop: Introduction to smart contract programming - Christian Reitwiessner - at GSC
- Solidity 101 with Michał Sieczkowski
- Solidity 101 in Spanish: Updraft Study Session, Part 1
