retprogramisto avatar

How to install altcoin full node and CLI wallet on VPS

retprogramisto

Published: 14 Feb 2019 › Updated: 14 Feb 2019How to install altcoin full node and CLI wallet on VPS

How to install altcoin full node and CLI wallet on VPS

If you want to run a full node or CLI wallet for an altcoin, you may decide to use a Linux VPS. Most standard VPS come with RAM between 512 MB - 2 GB and storage between 10-40 GB. This is enough for an altcoin with a small blockchain - for other coins or for Bitcoin, you may want to run your node on local hardware or on a specialized storage VPS.

This guide will teach you how to install an altcoin full node on a standard Ubuntu/Debian VPS. Remember to replace "ExampleCoin" with the name of your altcoin.

# Visit the altcoin's github page and download the .zip
wget https://github.com/ExampleCoin/ExampleCoin-v1.0.0/archive/master.zip

# Unpack the zip
7z x master.zip

# Go into directory
cd ExampleCoin-v1.0.0-master

# Install dependencies
sudo apt-get install build-essential libtool autotools-dev automake pkg-config bsdmainutils python3 libssl-dev libevent-dev libboost-system-dev libboost-filesystem-dev libboost-chrono-dev libboost-test-dev libboost-thread-dev libdb-dev libdb++-dev

# If you need specifically BerkeleyDB 4.8 and you use Ubuntu, uncomment and run the next commands
# sudo apt-get install software-properties-common
# sudo add-apt-repository ppa:bitcoin/bitcoin
# sudo apt-get update
# sudo apt-get install libdb4.8-dev libdb4.8++-dev

# Compile step 1: Autogen.sh
./autogen.sh

# Compile step 2: Configure with flags suitable for low RAM VPS
# If there is an error, you may need to install extra dependencies
./configure CXXFLAGS="--param ggc-min-expand=1 --param ggc-min-heapsize=32768"

# Compile step 3: Make (may take 10+ minutes)
make

# Compile step 4: Make install
make install

# Run examplecoind (daemon)
./examplecoind --daemon

# Run examplecoin CLI (wallet)
./examplecoin-cli --help

Now you are ready to run your altcoin full node and use your CLI wallet.

Note: It is generally not secure to store a large amount of funds on a VPS. If you need to store a large amount of funds, it is better to use an offline cold wallet or hardware wallet. If you want to stake your coins, it is more secure to use a local desktop wallet (if you use Windows, make sure to also use anti-virus software).

If you need a VPS, check out https://lavavps.lt for affordable Linux VPS with root access, unlimited bandwidth and 1 static IPv4 address from $2/month and pay with Bitcoin or altcoins. If you are interested in a specialized storage VPS and want to pay with Bitcoin, check out https://thebigcoin.io/ which allows you to pay many Paypal, credit card or bank transfer invoices with Bitcoin.


If you found this guide useful, feel free to send a contribution to 1CaLCR5mGwS4FJzU1HZm9qwr5WoRYFDdyB (BTC).


This article was written by Web4Crypto. Web4Crypto offers web development, web design, programming and scripting services from $40 and accepts Bitcoin, Monero, Ethereum and other cryptos. Visit https://web4crypto.xyz for more information and a free consultation.

Leave How to install altcoin full node and CLI wallet on VPS to:

Written by

Web programmer, crypto enthusiast

Read more #bitcoin posts


Best Posts From retprogramisto

We have not curated any of retprogramisto's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.

More Posts From retprogramisto