 Hello everybody, I'm Daz Breamwood a scientist at the Media Lab where I run law.mit.edu and this video is an introduction to our chain and there are songs told or in preparation for the Open Media legal hack distributed legal hackathon series you can find out more about that at the legal hackathon.org and I'd like to encourage everybody to look at our chain and these tools and if you're Hacking team and participating in any of the venues around the world Consider using them and see what great stuff you can come up with So we've got a whole team here from from our chain and very impressed to say and they've got some great slides To kind of walk us through who you are and what your tool is and and how people could find it and use it I want to hand it off to Dan Connolly who's a rolling a Rolling developer and involved with the our chain community. So Dan take it away. All right. Thanks a lot so we've got our chain and our song is a is an application using it so There's a lot of blockchain projects and Our chain is addressing scalability is one of the main things it's addressing and so the chain in our chain Actually is concurrent. So this is kind of an interesting visualization of the Casper consensus protocol and the approach to correct by construction stuff So that's a medium article that I'm trusting you're gonna distribute the slides to so that's fun to look at That's an important part of the platform. So our chain is a cooperative. That's the way the governance the project is governance stuff like that Right so the the platform is built on this row calculus Which has got this very simple expression right there It's there's lots more to it, of course, but that's the front side of one page version of the platform right there So that's a lot of where the scalability comes from security It was also sort of built into the platform using capability base security and in some sense the sustainability comes form from the Governance using a cooperative So the core development all happens on github out there in open source. You can just watch the commits as they come in And you can see the release plan and all that kind of stuff nothing up our sleeves Okay, so the cooperative as I mentioned Greg Meredith is the president of the co-op Greg I don't know if you want to say hi So every week every Wednesday at 11 o'clock Pacific time anybody can he Unmute button hi there you go Hello Greg. All right, and everybody can see him every Wednesday at 11 o'clock Pacific time and those were recorded I Talked about the repository And then for developing smart contracts Joshy is your audio working or shall I take it away here? Yeah, I think we're good to go. Can you guys hear me? Yep? Yeah, great. So Kevin is going to show a little bit about our song later Which is a full-scale ready to you know impress anyone kind of DAP and for many of you who are new coming to the platform You might need a gentle introduction or at least a more gentle introduction And so I've put together with the help of Dan and several others here at the co-op Some some resources for that so what we're looking at right now is a tutorial that I've written called learn row line by example and It takes you through starting from that code snippet that just scrolled up is hello world and it takes you through some of the more advanced aspects of the the row line language and it's a It's an interesting language because if you've programmed other languages It might be a little bit of a mind twist at the beginning But once you get the hang of it or if you're coming to row line is your first language It really makes a lot of sense And so I I think that anyone can learn it even if you're just starting at a at a hackathon Some of those other links that I put on the slides include Beginner and intermediate DAP examples So like I said if you want to see how to build one that is like on its way to being enterprise ready K-Van's our song example is a good way to go This is a little more of a hello world level one It's called nth caller and the the read me that Dan's showing there is a walkthrough to build this DAP on Your own from the ground up so my code is there you can make it run And then you can you can build it all by yourself by following this you know one long page of instructions that I have The next link we don't need to see right now, but it's a it's a similar thing It's a minimal social media DAP that runs on our chain and the same thing it has a walkthrough for how to build it all by yourself Both of those projects use this JavaScript API that Dan and I and another developer named Chris have written together And it basically is a nice way to communicate with an R node from JavaScript So if you don't want to be an expert in gRPC or get that far into the weeds We have a really nice wrapper library so you can just make native JavaScript calls And the the final link is a similar library in Python that we didn't write But one of the teams that's building on our chain called proof media did did write for us So all those resources are going to be available at the hackathon for you to use and learn from Right and I'll take all of the what will publish the slides on our site And I'll also go ahead and kind of scrape the core resources and put it on our chain wiki page We have a little wiki page on our github site that we're using you know to get up pages for the event site For all of the tool vendors or the tool you know projects I should say And just encourage you to go wild and you know feel free to curate that and add stuff as we get into the hackathon or after So people can find all your great stuff Wonderful Okay so who's next? Kayvan are you going to talk about operating a node and stuff? You're muted Kayvan So we have this guy for running a node while Kayvan gets booted up here So a lot of us practice this every Tuesday morning We have our testnet running since September There's kind of traditional deployment in your garage or whatever you can also run it on It was on web services at Raspberry Pi Alright Kayvan Excellent thank you So let me share my screen I think that's the way it goes right for me to be able to walk through this One second Go share screen Cool So hopefully everyone can see my screen What I like to talk to you about is about one of our first distributed application, Arsang Arsang is a real-time mobile app Basically you could go and use those references, install it on your Android or iOS version Right now all the installations are free This is basically the beta version I do encourage you to install it and see how it works So besides the mobile app, there is an Arsang or a blockchain back in perspective And that's the part that I really want to talk about today The links there will take you to the repository So why don't I just do that as we talk about The entire project is open source So if you work your way to Arsang and eventually you find Arsang proxy and Arsang acquisition The names say it right there Basically acquisition is the part that we start acquiring the music assets that are coming in From Arsang perspective, music assets are basically just a bunch of files that are coming in And the metadata that's associated with that Arsang tells us how we can put these assets together In a way that it formulates a coherent music that we could distribute So why don't we go to the repo and talk in terms of the diagram Here we go, hopefully everybody can see that So we talked about the acquisition part And once we acquired the music, we put everything in our blockchain implementation Which is our Rnode servers We have a Roland contract that is the meat behind the entire magic This Roland contract basically is composed of a number of wallets that are associated with All the artists that are associated with that music that we're distributing And that really is one of the first, for the first time to my knowledge That regular artists without having to go through a label company Can publish their art, their music In a way that they can monetize it immediately Without having to wait till a label company publishes that and then get paid sometime later Now, as far as the infrastructure goes, again, since this is a mobile app We added some flexibility into the infrastructure by introducing Kubernetes structure So everything is in continuous delivery, everything is through CircleCI And once you check your code in, there is a number of events that get triggered And as a result of that, the entire code gets deployed into a Google Cloud And since we're running on a Kubernetes cluster, we could scale up and down To meet any kind of demands that we experience I do encourage you to go through the GitHub repo Look at the source code, look at this KIT spec that walks you through how the entire infrastructure is built And this project is infrastructure as code, there isn't really any hand-holding to get it to work Is there any questions that I can answer? You know, there probably will be questions people will have And we can curate those through the form at legalhackathon.org And I'll make sure they're available for you to reply to And fill out the documentation on your Wiki page One observation is that the way you framed the business capability, if you will Of this code base being able to instantly and kind of continuously put the power in the hands of the musicians And creators to get their work out there, distributed and to have a mechanism for remuneration Is very, very relevant, it's kind of the center point of the value proposition That we're hoping to have people hack on to come up with more ideas and potential solutions And so I just want to observe that it's directly on point for the theme of the Hackathon series So, back to you Awesome, excellent. I really encourage the people that are interested to actually walk through the repository What you just mentioned, again, the entire project is open source And what you just mentioned is really outlined in this right here The row calculus, the row language that we use for developing arching The entire contract, it's a multi-seq contract, is right here I do encourage you to take a look at it, go through the tutorial And it really should make sense once you look at the tutorial, once you look at the aspect And spend some time on it I'm looking forward to seeing everybody in Boston Great, and if you already did, and I missed it, I apologize But did you want to do a bit of a drill down on our song? Excuse me, what I want to ask is where do people go to just highlight it Install, config, run our song specifically And what kind of dependencies should they be aware that they're going to need I know that it's infrastructure as a service, there's no hand holding But if you could give people a little bit of a leg up and bottom line What the journey is going to be, that would be helpful And what's the key place to look for documentation that will get them into some of the answers that they'll need Certainly, so I'm assuming that we're talking about the back end, the proxy itself You might mention the front end though, you can go to the Google Play Store Right, very good, thank you So these links that we provide here, they basically take you to where you could download the mobile app And here is the Android version So you just go there and download it for free The moment you download it, you're allocated a number of tokens In this case, I think our default for the beta version is 50 tokens That allows you to start playing with music and get a feel for it So what that token will eventually translate to when we're out of the beta version And we're actually in production with a lot more assets is That's how the token gets divided into, or at some time gets monetized And that's how the artist will get paid As users consume the token, that token gets... The value that that token represents will be distributed among the artists accordingly Now going back to the question that you asked me regarding the platform itself So one thing that I have to caution you is we're still in development phase So we are trying to develop this platform and these apps as fast as we can And what that translates to is a lot of time our documentation is a bit lagging Now in this case, our purpose for our song was to showcase a framework Where a developer could come in and literally go to work immediately To develop our song, it took us two and a half... I think Greg mentioned that today or yesterday, two and a half developers And I think we did it inside, you know, by the time we got everybody together We did this project inside a month with two and a half developers And quite frankly, a lot of our time went into building the infrastructure Not so much the coding port The prerequisites for starting to work with our song are outlined in these installs This is a Scala project, and the minimum requirement is to have a JDK8 You need to have SBT installed and you definitely need to have Docker installed Literally walk through the repo, clone it Once you clone it, provide that you have met the installation requirement You should literally just say SVT compile and go Thanks, that's what I was looking for I know maybe because I'm not a great developer by any stretch Somehow just having the authoritative person say that's what I'm supposed to do It goes a long way when I'm looking at a blinking cursor Wondering how to use a brand new tool So that you kind of just saying it out loud, you know, like pointing it out on the readme Goes a long way Great, and I encourage people as people start interacting with our repo Please fork it, please make comments If the readme is not correct, let us know And we'll get it fixed If you come across a problem, probably somebody else has had that too Don't be shy, just let us know, we'll jump on it To run the project, there is certain requirements You do need to set your environment variables The code assumes that these environment variables are set And again, the readme goes through how you might do it And what else can I tell you about it? There is a script in the folder that allows you to do integration tests It also allows you to build the Docker images really quick The project as a whole does use the Redis cache to speed the process And the readme goes through how you could install the Redis cache on Docker locally Now, for deployment purposes, if you want to deploy this into the environment that it's supposed to be That environment is Kubernetes This part here allows you to go through and basically deploy the app into an environment I think the requirement for that is, of course, to have the SDK for Kubernetes and Google Cloud Did that walk you through? Did that answer your question? That's good. I hereby declare victory For real This is really impressive I can't wait to get my pause on it or sit at a table with MIT people that can get their pause on it And ride along to see how this is implemented and deployed And how we can configure it to reflect and support some more innovative business models and legal frameworks There's a lot of opportunity in this space now And we're hoping to catalyze some good idea flow and maybe get some great examples And you heard them, everybody, but I just want to highlight Be a good citizen, make the pull requests If you find errors or if you're able to fill some gaps Be a good community citizen and give back And maybe we'll give you a special prize or an MIT hat or something at the end If you've got a bunch of pull requests merged, then you are good And you're doing it the right way So, thanks. Is there anything that you all want to say at the R-Chain gang by way of wrap-up or closing? Actually, yeah, I'd love to say a little bit here William Gibson, the guy who wrote Neuromancer, he has a famous phrase The street finds its own uses for things And one of the things that we're so excited about is getting this technology in the hands of the brilliant people MIT and Harvard and all those folks up in the Boston area Because we have a feeling that the next 100 geniuses coming out of there Are going to figure out ways of using this technology that we never even thought of And I'm just so excited to see what people will do with this Our song is just one of hundreds and hundreds of applications that we can think of And we have a feeling that there are going to be these people who are thinking about this in ways we never thought of And are going to come up with innovations that strike right to the heart of the problems that we're facing We need to coordinate with each other in a completely different way now And we think that the good folks you're talking to are probably the generation we're going to have to rely on to solve those problems Here, here, so the gauntlet has been thrown down so all you hackers this weekend in New York And over the next few days in Kansas City and Brazil and at MIT, you know, pick up the gauntlet and see what you can do You know, together we are song Okay, well thank you very much for taking the time everybody and we'll look forward to seeing you online Bye bye now