Building the Armory Bitcoin client for the Raspberry Pi
This is a great way to keep an air-gapped offline wallet for only $30 dollars for the RPi (that you can also use for other things; experiment, it's awesome) and $7 for a Class 10 4GB SD card, really easy to keep in a safe and secret place.
On my Ubuntu box, I had to
apt-get install these packages. Your mileage may vary.
bison flex texinfo libtool automake libncurses5-dev gperf python-pyopencl git-core build-essential pyqt4-dev-tools swig libqtcore4 libqt4-dev python-qt4 python-dev python-twisted
The cross-compiling toolbox
Chris Boot has an awesome post on how to setup a cross-compiler for the RPi, follow it:
But note that during the
menuconfig you have to go into C-compiler → Additional supported languages and enable C++.
If you want, you can skip steps 2 to 14 (the whole
menuconfig) of the second block by placing the
.config file attached to this gist into the folder where you run
Now that you have your
arm-unknown-linux-gnueabi-g++ working in your
$PATH, clone the Armory repo
git clone git://github.com/etotheipi/BitcoinArmory.git cd BitcoinArmory
Apply the attached patch to the two Makefiles (a smarter patch might be merged in the repo in the future)
patch -p1 < CXX.patch
Finally, create a tarball to move to your shiny Raspberry
mkdir -p BitcoinArmoryRPi/img/ cp *.py *.so README LICENSE BitcoinArmoryRPi/ cp img/* BitcoinArmoryRPi/img/ tar cvfz BitcoinArmoryRPi.tar.gz BitcoinArmoryRPi
That's all folks!
Tip jar: 18p7pUqqxPYtDaK3GytdVxdSKZzs25SihS (If you feel to tip me, don't forget to tip also etotheipi, the creator of this awesome client: 1ArmoryXcfq7TnCSuZa9fQjRYwJ4bkRKfv)