Quick links: Downloads Block Explorer Blog Docs Slack+Get Invite Forum GitHub

The ShadowCash team have stopped working on the Shadow Project.
They are now working on a new and improved project called Particl. Read the official announcement and follow Particl blog for more info.

Author: Litebit | Updated: 11. 5. 2016

Compile Shadow Daemon on Raspberry Pi 2 (Raspbian Jessie) and beyond


Getting Started

Beginner Hint – only copy code after "$"

Update and install dependencies:

$ sudo apt-get update && sudo apt-get upgrade
$ sudo apt-get install git build-essential libssl-dev libdb-dev libdb++-dev libboost-all-dev libqrencode-dev

Download Shadow source code:

$ git clone https://github.com/ShadowProject/shadow
$ cd shadow/src

Download and build upnpc:

~/shadow/src $ wget http://miniupnp.tuxfamily.org/files/miniupnpc-1.9.20160209.tar.gz
~/shadow/src $ tar -xzvf miniupnpc-1.9.20160209.tar.gz
~/shadow/src $ cd miniupnpc-1.9.20160209
~/shadow/src/miniupnpc-1.9.20160209 $ make
~/shadow/src/miniupnpc-1.9.20160209 $ sudo su
~/shadow/src/miniupnpc-1.9.20160209 $ make install
  • exit to exit root access
  • cd .. returns you to /shadow/src

Compile Shadow source code (shadowcoind):

~/shadow/src $ make -f makefile.unix -j 3
~/shadow/src $ strip shadowcoind

Run Shadow daemon (shadowcoind):

~/shadow/src $ ./shadowcoind
  • On the inital start-up shadowcoind will return an error because it cannot find the configuration file shadowcoin.conf

Create Shadow configuration file (shadowcoin.conf):

~/shadow/src $ nano ~/.shadowcoin/shadowcoin.conf
  • Add the following to your configuration file, changing the username and password to something secure:
rpcuser=[secure username]
rpcpassword=[secure password]
  1. Exit: [Ctrl] + [X]
  2. Save: [Y]
  3. [Enter]

Run Shadow daemon (shadowcoind):

~/shadow/src $ ./shadowcoind

Stay Updated

Update Shadow source code:

~/shadow/src $ git pull

Compile Shadow source code:

~/shadow/src $ make -f makefile.unix -j 3
~/shadow/src $ strip shadowcoin

Run Shadow daemon (shadowcoind):

~/shadow/src $ ./shadowcoind


Problem Solution
Virtual memory exhausted: Cannot allocate memory Increase swapfile size - (2GB should work)
g++: internal compiler error: Killed (program cc1plus) Increase swapfile size - (2GB should work)
Corrupt /obj/extkey.o caused by interrupted previous build Delete it before trying to re-compile


Edit this page Found a mistake or outdated information? Edit this page on GitHub!