Hello fellow shibes,
Today I will be explaining what the benefits are of running a full node and how you can run your own full dogecoin node, best part is that this is virtually for free for 2 months.
What is the benefit of running a node?
- This is a great opportunity to help maintain the doge network with little/no cost to yourself.
- Gain experience running nodes (this guide still applies for bitcoin/litecoin/othercoins)
- Being a good shibe and boosting rocket for moon
- Increased programmer capabilities (create a doge service for withdrawal/deposits without third-party, blockchain inspection etc)
Ok, let's get into it. (Beginner guide, scroll for expert quick guide and using other providers)
The first thing you will need to do is sign up at DigitalOcean for your free $100 credit, if you wish to continue running the dogecoin node after 2 months you will be paying $25p/m.
Once signed up, you will need to create a ubuntu 'droplet', select droplets on the left hand side and select ubuntu, select the Basic plan and the $10 option.
Now we need to add the block storage, this is where our dogecoin node and blockchain data will live.
On the same page, scroll down and select Block Storage, enter the custom amount of 150GB.
Once that has been selected you can now scroll down to set a droplet password. Enter a strong root password and press Create!
Congratulations. You have just deployed your own ubuntu server which we will be using to run our dogecoin node. Let's copy down the IP address as we will need this later. Click on droplets on the left again to see your server IP address, It will be the only one in the list.
Let's login to your server! There is a few different ways you can do this depending on the operating system you are using.
- Windows - You will need to download/install a tool called PuTTY, open the application and enter the ip address then click open. When asked for a user type 'root', you will then be asked for a password, this will be the same password you used during droplet creation.
- MacOS - In finder type 'Terminal' and press enter, type ssh root@YOUR_IP_ADDRESS and press enter, now enter the same password you used during droplet creation.
- Linux - In Terminal, type ssh root@YOUR_IP_ADDRESS and press enter, now enter the same password you used during droplet creation.
You are logged in now right? Awesome stuff!
Firstly you want to make sure your server is up to date.
type apt-get update and press enter
once this process has finished you will need to type apt-get upgrade -y and press enter.
Ok, lets install dogecoin core so we can run our node.
Firstly we need to change directories to our volume storage.Type cd /mnt/ now before pressing enter you must press the TAB key on your keyboard, this will autofill your directory volume name, now press enter to navigate to the directory.
Let's download dogecoin-core! To do so you must copy/paste the following command into your terminal and press enter.
We are nearly there now.. run these commands in your terminal one after the other (copy/paste, enter).
tar -xzf dogecoin-1.14.2-x86_64-linux-gnu.tar.gz
cd dogecoin-1.14.2
mkdir data
cd bin
Ok great, we are ready to rock and roll! All we need to do now is run the following command, do not forget to replace 'ANY_USERNAME_HERE' with your chosen username and to replace 'ANY_PASSWORD_HERE' with your chosen password.
./dogecoind -rpcuser=ANY_USERNAME_HERE -rpcpassword=ANY_PASSWORD_HERE -server=1 -daemon -datadir=../data
(alternatively, you can specify a configuration file 'dogecoin.conf' with the command parameters)
Provided everything went successfully you will now be automatically downloading the 120GB(ish) dogecoin blockchain, once this is complete your node will be ready for connections!
Thank you for helping support the dogecoin community!
Quick Guide for Expert users using digital ocean or another service.
After creating your server or vps with a fresh linux distro, these are the commands you will need to execute.
apt-get update
apt-get upgrade
tar -xzf dogecoin-1.14.2-x86_64-linux-gnu.tar.gz
cd dogecoin-1.14.2
mkdir data
cd bin
./dogecoind -rpcuser=ANY_USERNAME_HERE -rpcpassword=ANY_PASSWORD_HERE -server=1 -daemon -datadir=../data
Guide notes:
I will try my best to keep this guide up to date to support future releases of dogecoin
This guide is intended for any shibe, to allow anyone to create a dogecoin node!
Any comments, issues or amendment suggestions are welcomed.
My dogecoin donation address is: DJdu8aBAUpdmFdAoVZzzfdWcHdEujwxheU
No comments:
Post a Comment