-
Notifications
You must be signed in to change notification settings - Fork 137
How to Build paycoind on Raspian (Raspberry Pi)
PaycoinMaster edited this page Nov 14, 2015
·
13 revisions
This is the process I used to create a Paycoin Node on a Raspberry Pi running Raspian.
Due to running on a Raspberry Pi you do not have enough RAM to build so we got to build Virtual RAM Know as SWAP
dd if=/dev/zero of=/var/swap.img bs=1024k count=1000
mkswap /var/swap.img
swapon /var/swap.img
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install -y git
sudo apt-get install -y build-essential
sudo apt-get install -y libdb++-dev
sudo apt-get install -y autoconf libboost-all-dev libssl-dev libprotobuf-dev protobuf-compiler libqt4-dev libqrencode-dev
sudo apt-get install -y libdb5.3
cd /opt (If is doe not exist then sudo mkdir /opt)
sudo git clone https://github.com/PaycoinFoundation/paycoin.git
cd /opt/paycoin/src
sudo make -f makefile.unix USE_UPNP=-
sudo cp paycoind /usr/local/bin *(this allows you to type paycoind "wallet command" from any directory) *
cd ~
paycoind &
nano ~/.paycoin/paycoin.conf
rpcuser=pick any username
rpcpassword=A really strong password
server=1
paycoind & - Adding the "&" runs the wallet as a service and will not terminate on logout
paycoind getinfo
paycoind encryptwallet (long complicated password) - Remember this as it is required to unlock your wallet to send coins and mint coins
paycoind walletpassphase (long complicated password) 99999999 - *Unlocks wallet for minting once blockchain is synchronized and you have mature coins *
cd ~/
paycoind backupwallet xpy_backup_wallet.dat
cd ~/.paycoin
mv wallet.dat old_wallet.dat
mv ~/xpy_backup_wallet.dat ~/.paycoin/wallet.dat
cd /opt/paycoin
git pull
cd src
make -f makefile.unix USE_UPNP=-
paycoind stop
cp ./paycoind /usr/local/bin/
paycoind
paycoind getinfo (verify the correct wallet version)
paycoind help
paycoind listtransactions
paycoind listminting