For anyone interested in my mining blog posts (with GPUs and specific coin, then they can be found here). For this post we're going deviate a little bit from the direct mining of coins to supporting the network and decentralization. We're going to run our own Ravencoin (RVN) node.
Before I begin there are a couple of things to remember; I take no responsibility for any issues you run into if you try this at home (be smart, download any software at your own risk).
As we dive into the guide I recommend if you've not already set up your Raspberry Pi then follow my precursor setup guide first then come back: https://www.publish0x.com/hobbyist-mining/crypto-pi-project-01-beginners-set-up-guide-xnmvmw.
In the last article I shared a brief guide with a fair few terminal commands for users to be able to set up their very own Ravencoin Node, allowing Raspberry Pi owners to contribute to the network in an easy and energy efficient way. Since then, I've spent a few days both learning and putting into practice shell commands on the Raspberry Pi. The intent of this was to write a script that makes it even easier to set up your own Raspberry Pi Node. If anyone is interested in looking at the code I used then by all means take a look at my GitHub page linked below.
I've done my best at this stage to test/debug the code. However, if anyone spots an issue or can see a simpler/more efficient way of writing sections of code then please leave information in the comments below and I'll try incorporate them, where applicable.
I've called this article the 'easy mode edition' because I want to to be as easy as possible for people to get starting on the as such there are just a couple of preparatory steps and then 5 terminal commands (all written for you) to get you started.
- Your local IP for the desktop/laptop you want to be able to give access to when you set up the firewall rules
- You Raspberry Pi set up with ports forwarded for 8767 (guides for routers here: https://portforward.com/router.htm)
- The version number of the core release (In this case it will be 3.3.2)
Running the scripts:
- Download both scripts
wget https://raw.githubusercontent.com/Mynima/Ravencoin_Node_RaspberryPi/master/01_Install_Raven_node.sh wget https://raw.githubusercontent.com/Mynima/Ravencoin_Node_RaspberryPi/master/02_Check_Status.sh
- Make scripts executable
chmod +x ~/01_Install_Raven_node.sh chmod +x ~/02_Check_Status.sh
- Run Installation
That is it, all you need to do is follow the 'in terminal' information and provide the relevant y/n answers and other information as required. It really couldn't be easier!
If you've followed the steps above and all went well then you can type "~/02_Check_Status.sh" into the terminal and it will return the status of your blockchain as well as how long you've had a Node Running (the output will look as below).
Congratulations!! You're running your own Ravencoin Node.
Hope you enjoyed the guide, good luck y'all!
Donations Welcome (RVN):