Below is a quick guide to getting the DopeCoin Gold wallet set up on a Linux VPS
This is a simple set up guide for setting up a DopeCoin PoS staking wallet on a 24/7 VPS.
Throughout this guide, I will reference digital ocean which is where I purchase my VPS's. Feel free to use this invite link should you fee like it....: https://m.do.co/c/094377fc34f1
Lets get started... This tutorial will be for an Ubuntu 16.04 VPS hosted through Digital Ocean.
Download Putty/PuttyGen: https://www.ssh.com/ssh/putty/windows/puttygen and generate a key pair that can be saved to your Digital Ocean Account. (If you are unsure how to do this, ask in the comments below but I wont spend much time here)
Once connected to your server droplet for the first time run the commands below*
apt-get update
apt-get upgrade
Install these dependencies:
sudo apt-get install build-essential libtool automake autotools-dev autoconf pkg-config libssl-dev libgmp3-dev libevent-dev bsdmainutils
sudo apt-get install libboost-all-dev
sudo apt-get install libdb++-dev
sudo add-apt-repository ppa:bitcoin/bitcoin
sudo apt-get install libqrencode-dev
sudo apt-get update
sudo apt-get install libdb4.8-dev libdb4.8++-dev
Create your swap file:
sudo fallocate -l 2G /swapfile
sudo chmod 600 /swapfile
sudo mkswap /swapfile
sudo swapon /swapfile
echo '/swapfile none swap sw 0 0' | sudo tee -a /etc/fstab
Create new users with superuser rights
adduser "namehere"
Quotation marks not needed above. Answers to additional user questions not required.
Give new user super rights
adduser "namehere" sudo
This function adds this new user to the sudo group.
Switch to the new user you just created
su "namehere"
get your Dopecoin wallet downloaded form github
cd ~/
mkdir DopeCoinGold
cd DopeCoinGold
sudo git clone https://github.com/dopecoin-dev/DopeCoinGold.git
cd DopeCoinGold
Build Wallet in /DopeCoinGold
cd src
sudo make -f makefile.unix
At this point if you get an error for "fatal error: miniupnpc/miniwget.h" Enter the codes below:
cd ~/
sudo apt-get remove qt3-dev-tools libqt3-mt-dev
sudo apt-get install libqt4-dev libminiupnpc-dev
Then back into the DopeCoin directory
cd DopeCoinGold/DopeCoinGold/src
sudo make -f makefile.unix
Once Complete
Start Wallet
./dopecoind -daemon (starts)
--You might be told to set up config file here, if so copy and paste the provided rpcusername and password or generate your own in the format below.. follow these instruction:
cd ~/
mkdir /home/user/.DopeCoinV4
cd ./DopeCoinV4
sudo nano dopecoin.conf
rpcuser="example long random username"
rpcpassword=example longer random password"
The click Ctrl + x and then type "y" and press enter
Now back to start the wallet
cd DopeCoinGold/DopeCoinGold/src
./dopecoind -daemon
Your wallet server is now active.
./dopecoind getinfo (see blockchain progress)
./dopecoind encryptwallet "addpasswordhere"
After you encrypt your wallet, it will stop. You must restart the wallet and enter your passphrase along with a time parameter to leave the wallet unlocked only for staking.
When you are in the DopeCoinGold/DopeCoinGold/src directory. Start the daemon again.
./dopecoind -daemon
.dopecoind walletpassphrase "Examplepassword here" 9999999 true
You dopecoin wallet is not unlocked for staking and running on a 24/7 VPS.
If you liked this tutorial, please feel free to donate to my Dope Coin Address Below:
Dope Coin Address: DFVpxkhqFBgkGcx3M9xvMhVkyZSfP7VbcC
I do love Dopecoin.
good tutorial ! A++
Congratulations @drcharles! You have received a personal award!
1 Year on Steemit
Click on the badge to view your Board of Honor.
Do not miss the last post from @steemitboard!
Participate in the SteemitBoard World Cup Contest!
Collect World Cup badges and win free SBD
Support the Gold Sponsors of the contest: @good-karma and @lukestokes