All posts tagged PayCon

So yesterday I posted how to create a full node for any altcoin which is good if you want to support a coin and provide a full node.  Today I will show you how to compile a QT wallet from source.  This post assumes you have already followed the first three steps in my previous post of building a full node and running Ubuntu locally attached to a monitor.  You should have the git source for your coin in your user home directory already, however you will need to add one more dependency so you can compile the QT wallet.

sudo apt-get install libqrencode-dev

Compile QT wallet

cd PayCon

Load config file into data directory

nano /home/user/.PayCon/PayCon.conf

Paste config information from ANN post of coin and save it

Launch wallet

Once you have synced up with the blockchain it is HIGHLY RECOMMENDED that you backup your wallet to somewhere safe. The wallet for each coin is always located in their respective hidden folder under the user directory. You can the directory if you use ls -la user the home directory /home/user/

user@ubuntu:~/.PayCon$ ls -la
total 29984
drwxrwxr-x 4 user user 4096 Feb 6 14:01 .
drwxr-xr-x 23 user user 4096 Feb 6 11:40 ..
-rw------- 1 user user 30009103 Feb 6 14:05 blk0001.dat
drwx------ 2 user user 4096 Feb 4 22:54 database
-rw------- 1 user user 77 Feb 6 09:59 db.log
-rw------- 1 user user 561155 Feb 6 14:07 debug.log
-rw------- 1 user user 0 Feb 4 22:54 .lock
-rw-rw-r-- 1 user user 75 Feb 4 22:55 PayCon.conf
-rw------- 1 user user 11560 Feb 6 14:01 peers.dat
drwx------ 2 user user 4096 Feb 6 11:46 txleveldb
-rw------- 1 user user 81920 Feb 6 14:05 wallet.dat

Since March of last year I started getting into cryptocurrencies and have learned a lot of things about it and truly believe in the technology behind it (blockchain).  Bitcoin was just one application of the blockchain technology and people are now trying to build more uses with blockchain technology.

Alot of different altcoins have spun off of Bitcoin, most known ones include Litecoin (LTC), Dogecoin (DOGE), Darkcoin (DRK).  However almost a new alt launches everyday and most turn out to be a scam with devs claiming huge pre-mines or ICOs then dump the coins once it is listed on an exchange.  I won’t get into all the different scam coins since this isn’t really the post for it, but I have decided to help run a full node for the altcoin PAYCON (CON).  Check out the thread for why the coin was created.

Back to the intention of this post, I wanted to build a full node for a coin and tried to search on how to build it with CentOS (Bad idea).  It seems most nodes are built on Ubuntu but information seems to be scatter around in different posts so I decided to put everything in one location and hopefully it can help people out.  You will need to use Ubuntu 12.04 LTS, I’ve tried Ubuntu 12.10 (apt-get issues) and Ubuntu 14.04 LTS (libqt5core5 issues).  This guide is done assuming you are building from source and a minimal install of Ubuntu.


Update all repos and install git

sudo apt-get install python-software-properties
sudo apt-add-repository ppa:ubuntu-sdk-team/ppa
sudo apt-get update
sudo apt-get install git

Obtain coin source code from git (Paycon example)

git clone

Install prerequisite packages for Bitcoin or any altcoin.

sudo apt-get install build-essential libboost-dev libboost-system-dev libboost-filesystem-dev libboost-program-options-dev libboost-thread-dev libssl-dev libdb++-dev libminiupnpc-dev qt5-qmake libqt5gui5 libqt5core5 libqt5dbus5 qttools5-dev-tools

Once all prerequisite packages have been installed move to the coins src directory to compile it. (Paycon example)

cd PayCon/src/
make -f makefile.unix

**Troubleshooting tips**
If you get the following errors
g++: error: /home/user/PayCon/src/leveldb/libleveldb.a: No such file or directory
g++: error: /home/user/PayCon/src/leveldb/libmemenv.a: No such file or directory
make: *** [PayCond] Error 1

Here’s how to solve it
cd /home/user/PayCon/src/leveldb/
chmod 755 build_detect_platform
make libleveldb.a libmemenv.a
cd ..
make -f makefile.unix

Once it finishes compiling you will have PayCond inside your working directory. You can move it to /usr/bin to maintain consistency.

sudo mv PayCond /usr/bin/

Now to create a user to run PayCon

sudo adduser paycon

Now you’ll have to run PayCond to create the configuration file.

Error: To use PayCond, you must set a rpcpassword in the configuration file:
It is recommended you use the following random password:

Once you get the output for rpcuser and rpcpassword and paste it into /home/paycon/.PayCon/paycon.conf

Now you are ready to start the daemon by logging in as the new user you created.


To ensure everything is working you can check the debug log and if it is loading the blockchain you are all set.

tail -f ~paycon/.PayCon/debug.log

Enjoy and hopefully this has helped out.