JOGUE AGORA

How to Start a Cardano Stake Pool - Part 2 - Creating and Syncing Your 1st Relay Node


� � 
LIVE � �  � � 


04.05.2024

Hey youtube all right so this is part. two. on how to build a cardano steak pool. part one we quickly. built ourselves a virtual server using. digitalocean so. if you haven't if you don't already have. yourself a server. you it for for your production you're. going to need three servers. for this tutorial i'm just going to. build. a relay server we're going to use coin. cashews. um tutorial so if you want to quickly. find that just. just google coin cashew cardano. and it will pop up right at the top. excellent tutorial. uh so much good information in here they. have. extra information in here how to harden. your abutu server. we'll do a separate video on that. if you want to install ubuntu like on a. virtual machine at home. then there's a tutorial here for that. you can use a mac os and macbook. to log into your virtual server.

Or if you're on pc i recommend then uh. using a vm workstation and installing a. boot desktop. so we're going to be using obviously the. terminal window. so you can just bring it up and mac os. you should find terminal i think it's in. applications if it's not in applications. it's in utilities one of the other. okay so let's get started. uh one main thing that we need to take. note of. is this guide hasn't been. updated since 1 24 2 i think we're on. 124. 125 1 right now um let's see here. cardano node release. something like that i'll find it um is. it this one. with this one i think it's this one. yeah okay so go ahead and bookmark this. um bookmark. bookmark this address and make sure you. check it. before you you build a node uh because. we're on the latest. and 124.2 won't work anymore so. uh we're going we're going to them we're.

Doing the merry fork right now. so um you need to have this latest. version. so we can use this tutorial but just. when we get to the step. where we're gonna you know install one. twenty four two we're gonna change that. to 124.125.1. okay hopefully i don't forget that okay. so go ahead and log into your server. so if you didn't watch the first video. um cardano's the name of. uh our ssh public. key and then we also went and made. ourselves a super user named cardano. and we also changed the default port. number of ssh to 2288. okay so we have logged in go ahead. scroll down and for most of this we're. just going to be. hitting this little copy button clicking. right here. hit paste hit enter put in our password. and let the machine do its work. all right do the next one so that one is. just getting. um getting the updates this one's.

Actually installing the updates i've. already done it so. that might take you a few more seconds. uh. and you can just pause the video and let. it finish this step is just installing. um all the different programs. that we need and again i've already done. it so. um it might take you a little a little. bit longer than that. okay we need to install. lib sodium. don't worry about these uh warning. messages. uh you're not don't worry your program's. not gonna break this is. this is okay this is just part of the. install. these are warnings inside the code. this is on charles not on us. taking a little bit longer than usual um. the guys at iohk they've actually have. their own version. they've altered the the original lib. sodium. so that's what you see here this. checkout and in this version number so. that's their own version their own fork.

In the code all right so it's done now. we want to install cabal. all right okay we're going to install. ghc. so most of these steps are pretty quick. um. it's only the the node that takes about. 30 to 60 minutes or so. i'll pause the video at that point and. come back when it's done but. uh we'll keep it running during these. quick installs they don't take too too. long. okay and this looks like we just got to. update the. local path. okay and then. just doing a quick update of cabal make. sure everything is up to date. and then we're going to see the version. of cabal and the version of ghc. we want to make sure that the versions. are. 3.2 for for cabal and for ghd 810.2. so 810.2 yes and cabal is 3.2. so. right give it a second it's not quite. done. not sure what is its problem. that shouldn't take very long okay there.

It goes. i just hit the enter key okay now we're. going to build the source code. so come down here copy this. don't press the enter key just paste it. and it won't execute that last line and. then we'll just edit that last line. okay so come back and edit the last line. to 25.1. hopefully everyone did that right all. right now hit enter. okay um. all right. put in the next one i always scroll it. so i kind of remember where i'm at. and lots of times i'll actually copy the. next the next one. so like i said before for this tutorial. i'm just doing one relay node going to. get it synced up just so you. kind of get a taste for building a node. and then. in the next tutorial i'll do um. a two relay nodes and. a production node and then i guess. in a final video we'll we'll take it. live. i already have two live servers so i.

Don't know if i need a third one but. we'll do it. we'll do it anyways. all right finally finally it got stuck. there it seemed for a while. okay so where are we we're on this step. right here. go ahead put that. in all right and. this is uh the last step this step takes. 30 to 60 minutes so i'm definitely gonna. stop and pause the video so go ahead. and do that and go. fire up a youtube video or something and. uh. i'll be back in 30 30 minutes well all. right so we. are back and it has finally. ended so make sure you don't forget. where you left off we left off right. here. uh cabal build cardano cll coderno node. so we just built the um two main. two main parts of the cardano node so. click on there. and hit paste. okay we've been away for a while it. wants us to put in our password. all right no worries okay and do the.

Next one. all right and they want us to check the. version so we're. looking for version 125 one. all right so 125 one so we did the right. one. all right so let's move on to configure. the nodes so. go ahead click here go there. all right so it's uh this is it's gonna. grab the four main. json files. okay. takes just a second doesn't take very. long. json files are like xml files so just. they're just config files. all right there we're done that so click. on that. hit paste and the next one. all right so for this tutorial we are. just going to do. a relay node so we'll skip over this. block producer node. a relay node and a block producer. they're pretty much the same thing. they're just. uh they just need to be configured a. little bit different but they. they both have the you know you you know. up until. now every single step that we've done we.

You do for. a relay node and a block producer node. nothing is different. uh until you get to this you know start. getting into these steps so. we'll skip this for now we can do that. in our next tutorial. okay so for the relay node just click. here so it wants to know. um what our block producer's ip is. but it we didn't actually make one so. hit enter. and then do sudo nano oops nano. um should be mainnet. topology. dot json i know it says. yeah yeah it's it's main net. all right let's have a look did i do. that right. okay so um if you did make a a. a block producer already you can go. ahead and put it in there. so you just go down here. and keep those quotes so if. for the for an ip you need those quotes. so here i'm just going to backspace over. this. so just to show you what it would what. it would look like if you actually do.

Have a block producer so you would put in your block producer say 144.55.55.55 so it should look like that if if you have it now the port numbers can confuse you i know it confused me because i kind of came to the game a little bit late everyone else was setting up nodes last summer the summer of 2020 i set up my i didn't you know get to cardano until november 2020 so um i i would see that people had port 3000 and ones and they was port six thousands and i was just like uh so don't worry about the port numbers um for you when you're setting up your nodes just leave you know just follow this these instructions copy paste them leave all your ports at 6000 you don't have to like make your relays 3001.

That this is the main relay this is the. iohk relay. uh this is the one that we sync up to in. the beginning um it's 3001 that's fine. it's just that's the port you're. accessing on that on their server. but for your ports the ports that other. people are accessing on your server. just keep it at six thousand it's all. good okay so. i don't have this so we'll have to i. would have to add this later. so i'm just going to come down i'm just. going to delete this out. jsons don't really like comments so. i think it's just easier for us. to delete this out we don't need it. because we're just doing a relay node. we're just going to sync up a relay node. works fine okay so. um control x or command x on on a mac. and hit. y for save and hit enter okay. that step is done so uh the configure. the air gap machine this is this is.

Another step that kind of confused me. um you know this this this step here. where you're you're supposed to you know. get a copy of the. see uh cardano cli baron areas to your. cold environment. uh yeah i was a little confused. how to exactly do that so i will. actually make a video. just on that and show you how to set up. an offline. an air gap offline machine easiest way. to do it is. with the virtual machine and just make. sure your virtual machine has. has all the internet disconnected. and you're transferring files with a usb. and you're also. you'll be accessing your server using. ftp secure ftp. uh so you'll download uh. your files from your server to your. you know laptop or whatever whichever. one you're working then you put it onto. a usb. then you'll take that usb to your ah air. gap. offline machine so a machine that has.

Ubuntu. uh preferably uh yes you definitely. should be boondoo. and um yeah is not connected to the. internet has never been connected to the. internet. and hopefully it's a fresh install too. so you're you know again security. security security. and that machine is where you'll do your. transactions okay but we'll do a. separate tutorial on that so we can skip. over that now. uh so for startup scripts just go ahead. and hit copy. and make sure you're on the relay note. tab we're not we're just doing a relay. node. all right hit enter and go ahead and hit. this one. and hit enter okay. go ahead and hit this one nothing you. don't need to change any of this stuff. all right good um. all right so this is making it so it's a. service so when it. starts up uh when your computer boots up. i mean your server boots up. it will auto start the service which is.

Good to have. and actually this is the step that does. that but whatever. close enough okay and so. these these lines here they're just. showing you like how you can check the. status of your cardano node how to. restart it. how to stop it how to look at the logs. um. here is the official way to start your. cardinal node. so go ahead and start it. um now we need to install g live so. click here. sometimes you have to do this step twice. it doesn't always work if you get error. messages on this step you got to redo. this step. so we'll just see what happens i. consistently. seem to get error messages okay i didn't. get error messes as that time. but if you do get an error message here. just redo this step. copy but and just until it works and. then. then move on but i didn't get an error. message that time so that's uh.

That's a first all right and. um. press any key to proceed and boom. so if everything is done right. you should see it saying syncing. right here you'll be on epoch 1 or i'm. already on epoch 2.. uh we're currently i think epoch like. 248 or 249. so you're just gonna have to leave this. and. it could take i don't know i'm guessing. six hours i the last time i did it. i did it right as i went to bed and. literally i woke up i think eight hours. later and it was just finishing so. eight hours is probably my best guess um. but that's it you have completed your. first cardano note. so um i think it's good. practice at the you know you don't need. to go any further from here. um i'll do another tutorial we'll go. deeper into this but. i think it's good practice to. get this synced up and then the first. you know what i did.

Is i went back to test my you know my. youtube. uh my uh sorry my youtube my digital. ocean. and i just destroyed it and. i built it again and i built it again. and i built it again and i think it's. good practice. um to. just get kind of that muscle memory. really understand uh taking your time. thanks for watching the video i'll see. you in the next one looking for a pool. to stake to uh we have ours. it's brand new so the learn steak pool. we would love to have uh. people delegate to us we're we're pretty. pretty brand new. i put fifty thousand eight on there so. um. but uh yeah we'd love to have you so if. you're looking for a pool. it's called learn and uh you can so. you can uh delegate through your. directly from the wallet. and if if you don't understand how that. concept works. you're not sending your ada to anyone.

The the delegating is. essentially your your staking and which. is one of the awesome things about. cardano. is everyone can stake you know you get. your. you get your um cardano you buy some. cardano. you move it from an exchange to your. wallet. and once it's in your wallet you know. you own the private keys so you say you. have the yori wallet or the ada light. wallet. and from that wallet one of the options. it gives you is to delegate. and so you're just delegating your vote. you're giving your. vote to a pool. and the more. votes and delegations a pool has the. more. blocks it will mine and then you get a. share. of the blocks if that makes sense so uh. never send your money to an address. never you're not sending money to a to a. person. that's not how you delegate delegate. it's just a tab in the wallet. and i can i'll make a separate maybe.

i'll make a separate video for that also. um uh thanks for watching the video take. care

All Devices iOS Android Chromecast