Stratis FullNode Installation on Raspberry Pi
9K views
Nov 9, 2023
Stratis Platform is a blockchain technology platform for enterprises to build enterprise-grade blockchain-based solutions using Microsoft’s .NET framework and C# language. Stratis Full Node is necessary to start staking STRAX. This video demonstrates and explains the process of installing and setting up Stratis Full Node on Raspberry Pi. To read a detailed article, visit https://www.c-sharpcorner.com/article/installing-stratis-full-node-on-raspberry-pi/ #Stratis #RaspberryPi #Full #Node #STRAX
View Video Transcript
0:00
Hello all, in this video I will be demonstrating how we can install Stratus pull node on Raspberry Pi
0:08
For newbies, Raspberry Pi is a low cost credit card sized computer that plugs into a computer monitor or a TV and uses a standard keyboard and a mouse
0:21
Stratus Platform, a blockchain technology platform for enterprises to build enterprise-grade blockchain-based solutions using Microsoft's .NET framework and C-Shop language
0:33
Stratus Platform is easy to learn, adapt and integrate with existing enterprise applications
0:39
In a distributed network, there are a lot of computer connectors. Each computer is called a node
0:46
A node is a point of intersection or connection within the network
0:51
It can act as both a redistribution point or a communication endpoint
0:57
A blockchain full node is a node on a blockchain network It replace transactions and block other nodes
1:08
A prerequisite before starting You need to have a raspberry pi with either Raspbian or Linux or Ubuntu or any of the operating system of your choice installed
1:19
I am using Raspberry Pi 3 model B with Raspbian OS which is a 32-bit machine
1:25
on the other hand Raspberry Pi 4 is a 64-bit machine so make sure to download the resources accordingly
1:33
one thing if you don't have any of the libraries used during the video
1:40
you can do it by using the command sudo app install and then the name of the package suppose I want to install zip so I will say zip
1:54
since I already have a zip installed so it didn't install it again
2:03
now let's start Statusful node uses .net so we need to install it on raspberry pi
2:11
we can do it with the command here in this command sudo means that we want to use system resources
2:25
and save the file onto the system that the root drive root folder
2:32
curl is used to download the tar file minus o is used to rename the downloaded file to
2:46
and i have already downloaded it but i am showing you that how it will start how will it look
2:53
so in similar ways it will show you that like so there may be some internet connection issues
3:02
so showing a very big time generally it takes 20 minutes to download the whole package
3:08
which is a 137mbe package next the next thing that we'll be doing is downloading the status full node
3:17
and renaming it to snode.zip here we are using system sources so sudo wget to download the zip file
3:30
minus o snote.o to rename the file i also have downloaded it already
3:37
generally it takes time so you can just click on and then it will start with this
3:42
it is almost 37 mb file 40 mb file around so it will take some time to download
3:51
so we are all done downloading all our files we need not to download it again now the step
3:58
that we will be doing next is to prepare the system to start with the status node so for
4:06
the first step would be to install the dotnet so for that we will be doing that we will first
4:14
yeah so for that we will be first making the root folder the root folder name would be dotnet
4:24
so let's make it with the command sudo mkdi minus p slash user slash share slash dotnet so it will
4:33
create a folder for us next task would be to untar the
4:41
tar.dz file and copy it to the system folder that we have just created
4:47
so this will take time for the time being let me show you how
4:51
where the folder is created it is created under user share.net so
5:03
yeah so it is here root and when we go to user we go to share and then we have to go to the folder let us go to the folder
5:34
so we go down down and this is our .NET folder that we have just created into the system
5:43
so and we'll be using this file .NET we will be creating a symbolic link the next
5:49
step would be to link it to the system and so to create the system link will be
5:57
using the ln command ln-s so ln is to create the link and minus s to create a
6:03
symbolic link for those who don't know what a symbolic link is
6:12
it is a term for any file that contains a reference to another file
6:18
or directory in form of a absolute or relative path and that affects the path name resolution
6:25
that is basically used so that we don't have to again and again go to that
6:30
.net slash .net folder it will just create a alias name so let me create
6:36
so this will create the path for us so congratulations like we are done installing our .NET
6:45
we can test that out by doing this .NET and so we have installed .NET on our system
6:55
if you face any of the difficulties or you get any error at this point or somewhere
7:00
you can just repeat the steps and all the errors will be resolved
7:06
now we are done installing the .NET now the next step would be to install the status full node
7:14
so the first step in installing the status full node will be
7:20
unzipping the downloaded folder so the snode.zip that we downloaded will be unzipped that and
7:28
moving that to a new folder known as stacks node so let's do that
7:51
since there are many files so it generally takes time the size of the file is 40 MB so
8:11
on pi since i am using a raspberry pi 3 so there is not so much ram that the process
8:18
would go on so fast like we do on the windows we are done we are done with unzipping the file you can just check that out
8:36
let me show you that so let's do a ls so here we you see that we have dotnet and so these are the dot zip files
8:50
that we were able to see let me show you the dot nothing list yeah so here you can see
8:57
that we have downloaded the stacks node so this is where the status for node is installed
9:07
sorry for that now we are done so we have installed .net, we have installed status
9:15
now let's test it out so we can do this command sudo create .net
9:23
stacks node status and this is a DL and run mainnet so mainnet is the testnet that i will be using to deploy the blockchain
9:40
so when i click it it will start everything so i will be doing that
9:46
i will not be running the full node because i don't want a full node
9:50
i have already have a blockchain deployed on my network so we'll be doing it to control c
9:55
to shut down the application so you can see here application is shutting down
10:07
so yeah the application got shut down so yeah so we have finally installed
10:13
the status full node on our pc that's all for the video
10:19
thanks for watching you will find the status official documentation link in the video description
10:26
if you find any difficulty you can visit there or reach out to me
10:32
thank you have a nice day
#Computer Hardware
#Engineering & Technology
#Windows & .NET