Encode Club x ETHSafari Hackathon: Get Ready for Coinbase Node

Encode Club x ETHSafari Hackathon 2022 · 21 Sept 2022 · 24:50

Diego Lizarazo, senior developer relations engineer at Coinbase, introduces Coinbase Node on the day it launched, for ETHSafari hackers. The session explains what blockchain nodes do, why running and scaling them distracts developers from their own products, and how Coinbase Node offers managed access through APIs. A hands-on demo creates a project, sets up credentials and requests the latest block number, with an invitation to give product feedback.

Speakers

Topics

From Encode Club x ETHSafari Hackathon 2022, hosted by Encode.

Transcript

everybody it's nice to see you all again I'm just gonna let you all filter in slowly and get all your everything set up if possible could you please turn all your cameras on um it's much nicer speaking to you and we can see your faces so I hope you all had a great weekend and you're ready to start the week off strong I'm just letting in a couple more people people are filtering in quite quickly so today we have coinbase node we've got Diego who's going to talk to us about it coinbase node is actually launching today I will hand over to Diego to explain more um and introduce coinbase you know to all of you I hope you enjoy it and yeah welcome

yeah so uh let me share my screen I do have a small presentation okay so well today is all about coinbase node I am going to talk a little bit about General coinbase but the main focus is coinbase node uh let me introduce myself first and I am Diego and I'm a senior developer relations engineer with coinbase so that really means that I get to talk a lot with people so that's why I'm here and uh I have a little bit of privilege today about talking about coinbase node literally the documentation at the end that I'm going to share with you may still not be live let's check really quick what is going to be the agenda

so I'm going to be talking about General coinbase and web3 then it's all about nodes and at the end I'm going to go a little bit on hands-on experience like showing you the actual product and creating a small project for you guys and and showing you like where to go and what to start the idea is that a little bit later today or tomorrow you uh should go and create your own account and start experimenting with that we really want to get your feedback to see what kind of features you like uh like the entire experience if you hate it if you love it or what would you like to see and and hopefully you love it and let us know so let's get to it uh okay so this one I'm not going to

spend a lot of time on this slide this is one of these things that it's constantly changing especially the verified users that you see at the end and really the main thing the main takeaway here is uh the audience so coinbase is a leader in web 3D development a leader in crypto and if you start working with us you're going to have access to a lot of these people they are big audience and users that are already trust coinbase and that are willing to uh well pretty much you know like work with our partners so this is just kind of like saying like hey we have a lot of resources and we are willing to work with you so uh just take

a look so now let me see so building web free so one of the things here is that um web3 has a little bit of a problem right now and it's growth whenever you are starting a new era in technology you're going to have a lot of technologies that are going to be in a better state are going to be Alpha and you're going to use them every day but you're still going to have reliability issues security issues usability and that's why uh pretty much that's kind of like one of the main reasons why we start working on coinbase node we figure out that a lot of developers didn't know what where to start didn't know uh what to do for

their nodes and I'm going to kind of like go uh into a little bit of that in a little bit but the entire point is that coinbase wants to be the place that you go to uh create everything it's going to be your One-Stop shop for web free apis for tools for infrastructure and in general is going to be kind of like the the way for you to uh start building your own gaps so and right now this is kind of like some of the partners that that we work with and some of the platforms and and protocols that that we can like work with and work on going to be filling up each one of these boxes that you see at

the top so well let's go Star Building with coinbase Cloud so like I mentioned today we're going to be talking about coinbase node uh like a weaker week and a half ago we were talking about coinbase wallet so uh if you didn't check that video if you were not able to join at that presentation I would recommend you to check it too and we also have coinbase pain you can go to our documentation you can check it all about that and but in general like these are some like the first uh developer Focus offerings that we have and uh it is going to be like well for once we're going to launch more and the integration between all of them it's just going to increase

yeah let's talk about notes so let's talk about like why you may need a node why you may need a new provider so this could be a little bit like Basics but then uh since we have a big audience today I didn't want to assume that everyone knew uh what we were talking about with notes so I'm just going to give a little bit of an intro there then we jump into coinbase node specifically and then we go into the demo so in simple terms I know this a piece of software running on a single computer that is able to connect with the rest of the blockchain network so they know the stores and validates transactions on the

network and earns cryptocurrency Rewards uh blockchain Network consists of many nodes that coordinate to achieve consensus on the state of the network and for example the most up-to-date account the whole token transfers and wallet addresses and the balances that they have on The Ledger the blockchain network is decentralized so and that is by nature because there isn't a master server or a single source of Truth and this is one of the main reasons why the technology is so appealing for developers and the component notes in the network are all over the world and are controlled by countless individuals and organizations and it is crucial to remember and if you didn't know like this is kind of like

perhaps the best way of most of the presentation that I know this required to in order to view the data in the blockchain so on a blockchain so this is why it's so important for any developer to understand how to interact with nodes and when you're creating when you're creating your own apps now um okay so why is it hard to manage uh run a node so I'm just going to go through some of the main things in uh the important thing here is that most developers have a problem in mind when you're writing your own data and or your own system so we are calling it problem solvers and you have already something

that you want to solve you perhaps like I don't know the next uh e-commerce idea or the next game or whatever it is but even though you manage node and it's necessary for you to communicate to the network that's not really the core solution of what you're trying to build right so you're trying to do something else you need the nodes you need uh like the all the capabilities that you're going to get written out but you don't really want to kind of like that's not really the problem that you want to solve so and there are different types of nodes and so much much simpler to configure and to manage but you will still have to configure different variables like about check ports and you

have to download block headers and a lot of things and this can be cumbersome and is going to distract you from the actual problem that you're trying to solve the other thing obviously is that you are going to be responsible for managing the node itself so uh to make certain that you know this running properly you will need to regularly determine itself you have to upgrade them and in some cases you will have to rebuild them from scratch if you need to do that that's kind of like a really bad scenario but it could help escalability so when you're finally ready to go from like a small project to a globally successful phenomenon that I hope that all of you are creating right now your node will have to respond to

millions of queries and this main bulb is spinning additional nodes managing the load balancer and what you also have to do everything with single data between those nodes and uh well for that so all that is a little bit complicated and that leads us to coinbase node so right here we have kind of like a I'm not going to get into the detail like this is one of these slides that have so much information in and it's quite uh Rich into how we see as coinbase how we see a big part of that development but uh the web free developer Journey starts with uh accessing the blockchain right so we are going to need something

to read to write to kind of like well figure out what what's going on and coinbase notes mission is to abstract away the complexity of building on blockchains so that's really the entire point so we want to make it reliable scalable that was something that I was mentioning before and something that for you is accessible so uh we currently have native apis to read to write and to start building out canonical and custom indexes and to access blockchain data and start a smart contract state so we're going to see that when we get to the uh demo part you're going to have a little bit of a view of the current state uh of the product of coinbase node and since I am

really hoping that you're going to give us a lot of feedback you're going to have a voice in what is that we're going to be spending our time in so that is important let me confirm yeah we're almost done with the uh slides part so so that's good because I think you guys want to see a little bit more uh on the product side of things uh but well right now we have a dedicated node offering and it's still nascent in terms of Revenue run rate and customer footprint but well obviously it's growing rapidly and our valuable position is pretty much security reliability and particle bread and run and customer support so I think those are important things for us to share and and you can well uh get the

documentation in a second I'm going to share the link and then you're going to kind of like be able to Tinker and like you said give us feedback be some of the first people to give us feedback outside of the company and some of our partners now when we get uh to the product this is kind of like the general uh flow that you're going to see in how a node works so first you're going to create a project so you're going to uh configure like all the settings there and we're going to do that in two minutes then when your clusters are running then you're going to be able to uh check all the details about activity and get the key metrics there and that is something that we are also going to keep improving

in terms of ux so get a better experience for you also developer and this is perhaps one of the parts that I think you should give the best feedback that you can as detail and everything that you'll often hate about the product because as developers sometimes we need things and we don't say what we need so it would be great to know and well we will be working on that and finally you're going to be able to manage access to your cluster and the interface you're going to see it's quite simple and it's designed to be simple and is to be able to have like an easy way for you to manage that access and give like basic out and IP well lists uh that you are going to allow inside of the uh your

clusters now looking ahead so this is a little bit more of like what we're working on right now so I'm going to present you well the current state of the product but we're already giving you a little bit of an idea of what we're going to be working on so self-serve it is kind of like the name of the game that is the the most important thing for us for any developer to just start running right away without our intervention so that's something that you can do already but uh that is a strong focus of what we're going to be doing in the coming months uh apart from that I think they are already given access to the nft apis so I already have seen some of the documentation there but

that is also something that is going to be growing so if you're interested in nfts that is a big part of that and in general will you see a little bit more caching Advanced query products Etc et cetera and these are some of the things that we have right now that I can tell you obviously we have a long longer list of features that we are already working on but at that since we don't know when they're going to be released I'm not going to be mentioning much more about that uh this is um I'm not going to talk a lot about this because we're literally going to see a screen similar to this in a second but uh it's just going to take you pretty much less than a minute to for you to uh

start setting up your endpoint and uh right now I have three pricing tiers so I'm obviously I would recommend you to throw the free one figure out how is it that you can use a product what is it that you need Etc et cetera and then go from there and we have uh more paid years that I give you a little bit more uh customer care and support from us um apart from that uh I think uh yeah how to get started that's that's perfect so this is kind of like the important thing so you can see the URL but if you um don't want to type that long stuff I created the QR code so you can go directly to the documentation this if

you go right now it may be close like literally uh for the next couple of hours so I would take a screenshot uh or wait until tomorrow until this video of this presentation is available and and then go but this is kind of like the starting point I'm going to I do have access of course so I will show you how it looks but this is the the URL they're going to be using and apart from that um I think that's it so let me exit this let me move to the right place and uh here so that URL uh is going to take you pretty much here so you can see the

documentation that already gives you welcome to know the features uh like well information about the free plan etc etc but then the important thing here I think it's the quick start especially because it already shows you as a developer how you get started and the link that you need to go to to uh get access to the to the account so then you're going to have to create a coinbase account if you don't have it and uh then you're going to request that uh I did create one this morning so I think literally you should be able to create it right now but since you may not have access to the documentation that's really where you may have kind of like a little bit of a Nation like getting to do that bad well

we will see so and then we're going to create a product project so I'm going to jump from different uh I'm going to start here home there so and I don't know what I did so there you go so this is pretty much what you should be able to see when you create um a new account and to get access to coinbase node and the most important things here and they especially are querying transact and participate so today I'm going to be covering this one but I'm just going to show you really quick where things are and then we're going to get uh to to the interesting things so first here on the side you're going to

well get to home this is where I am right now the API management uh also that's something that you can go right right there and billing if you are going to get one of the paid accounts also this here is going to give you access to your account settings but this is pretty much your coinbase account and that's going to give you access to all of this now to start doing something let's go to query entrance Act I already created this morning a project just to make certain that everything was working so we will see if the demo actually makes sense but we will see how this goes so I'm going to create a new

project it is going to tell you hey you can start here for free if you have a different type of account the options that you have here are different let's go with the free uh version so it tells you the plan that you have and then I am just going to say uh we're just going to call it Safari it makes sense and uh right now this is the free version you're just going to go main it so go to Project it takes a second now this is important and this is telling you right here that for secure reasons we are not going to kind of keep your username and your password so I'm going to copy them and during this presentation you're going to see

them so that means that pretty much as soon as I uh log off this presentation I'm destroying this project so you cannot use the username and password but in the meantime I trust you guys I already kind of get you accessed a lot of things so let's copy paste and I'm going to have it here so this is going to be my user and then I'm going to copy my password so you're going to see the gigantic thing and it's important that you do it because if you don't do this this time when you trade your project pretty much you will have to destroy them project that you want to create to get new username and password so uh it's it's good that you copied it's somewhere secure so in the meantime sure let's do this so also it gives you right away

uh like some sample requests that that you could use so you could copy it directly here I already have in Visual Studio where you have kind of like a little sample that we're going to work with but you already can start working with that so I'm just going to say done and that's already kind of like your uh little project already created and you can manage the project you can delete it which again is what I'm going to do right after the presentation uh okay well this is interesting it shows me again the user name and password okay so that's a good way to recover it but I guess it's going to work one time only when you uh go back on this on this page but it shouldn't do it anymore after that

okay so now what do you do what is the the interesting part of the demo besides creating the project is going to go here and I already have a couple of uh requests so you see that and this comes directly from the documentation that you can see uh over here so you can see like it's walking you through the entire process that I just went through and it already gives you a couple of requests that are the ones that I'm going to modify so I already had them and the only thing that we're going to be changing are the username and password that you already see here so let's do that so this is my username so copy paste and then the gigantic password

a pin paste and now I am just going to go to terminal and if everything works but I hope it does it should work so I just copy it here and already gives me the result Json that uh already comes from from that request now let's do one more uh that is a little bit more interesting this one I'm using uh with um what is it with a GQ so I am going to change again user and password oh that's what happens when I do pay attention copy instead of paste paste

that instead of copying okay and then this one is just going to also give it format to the request that we have here so let's see copy and copy paste copy um I don't know this thing so give me a second so there okay and there are a method for the load okay there you go this is what happens uh in demos what did I do oh let me try one more time I don't know if

they can like you know I'll be copy pasting if I made a mistake oh there we go that was it so when I copy pasted the the password I made a mistake so that's it but then in this one you're kind of like going to get uh like a decimals kind of like version of like the the block that we are kind of like uh Consulting so we're asking the block number that uh on the network and that's pretty much it so you can see how we created the pro uh the project right away and it just took me a couple of minutes and using the uh the well the user and the the password you should be able to already start account like asking the network

different things now in the documentation after that you are going to this is just kind of like the the um kind of like the first steps but then you can go directly through the entire API reference and you should be able to kind of figure out okay well all the all the methods that you can uh well consult here and you're going to have like more things that are going to be added during the day including some of the videos uh concept I I just point that this out because I'm the one that I was creating some of these videos here at the end and some of the things that I was covering today like what is a node is going to be there apart from that I'm going to go back here for a second just to uh so you can see the the link that you are going to

to be able to use and I think that's pretty much it that is uh everything that I had to talk about like uh node and and like you like you see it's relatively easy to start to get going it doesn't require a lot from you but afterwards you're going to have a node of a project that you can manage yourself and and then start experimenting in during about your development and your own apps and that's it awesome thank you so much Diego um that was such a great presentation and thank to everybody for coming we are going to have a link there to create your own account and to immediately start working with it you know so and which is what we want we really want uh everyone to start tinkering with it

trying to figure out uh well if there's a bug we obviously appreciating you let us know because that's the kind of thing that we would like to fix uh and in general to see what is the experience if you think that a better uh new features that you're going to need for your development something that you may need well right away or in the near future we would like to hear more about that and during this entire week we're going to be also in a couple more events here in the US and I think we're going to be releasing even more documentation more videos more like Hands-On and that is going to be a big part of what we do in the next few days so and weeks um thank you Diego and thank you everyone else for coming

um it was lovely to see you all again thank you for coming um and we're keen to see you then thanks everyone [Music]