If you collect dozens of altcoin, then it’s a crime to download (every blockchain) and update every wallet. Unfortunately, most of the time a new blockchain project doesn’t provide a electrum wallet to store your coins. That means you’re left to the core wallets, which means lot of gigabytes of blockchain. It’s a waste to use your computer for that, because there’s a mini computer that can do the same: The Raspberry Zero!
Note: I’m not an expert in cyber security! I can’t give you any advice on virus scanners, firewalls and other measures to keep crooks outside your digital door.
The Raspberry Zero is a mini-computer: both in price, size and power. Lucky enough the little brother of the Raspberry Pi is manly enough to run wallets.
In the explanation below, I will explain how to create your own altoin computer for less than 25 dollars. “But Michiel, why should I?” Well:
- Handy to stake (PoS).
- You can leave your wallets open (so the blockchain can be updated) without using your ‘regular’ computer.
- Much more energy-efficient than your laptop or desktop.
If you pay peanuts, you get monkey. In this case, it means “a lot of patience” as the Raspberry Zero is not a supercomputer, you’ll have to wait a long time before something is installed!
The ingredients for your altcoin wallet
For 5,50 euro via Kiwi Electronics. The Raspberry Zero W costs 11 euros and then you have the version with built-in WiFi and bluetooth. For this setup no must but nice to have. The delivery costs are 2 euros.
MicroUSB to USB + Ethernet
Since the Raspberry Zero does not have normal USB ports – necassary cause you need to connect your keyboard and mouse – and not a standard ethernet cable, it’s important to look again at our Chinese friends at AliExpress. Once again they help you out with a MicroUSB to USB + Ethernet converter. Certainly, it exists. (2.41 euros via AliExpress)
Mini HDMI to HDMI
Do you want to have a Graphic User Interface (GUI) for your Raspberry Zero? Then an HDMI cable is convenient so you can connect the device to a display (2.99 euro via AliExpress).
You expect I will advice you to buy microSD card at AliExpress? Naha, my friend. The 32gb microSD card I bought for no more than 8 euros is not compatible with an RPi Zero.
I changed it with the microSD from my dash cam: a Kingston 32 gb class 10. I can tell you that *Dutch saying alert* that works like a little sun.
Step 1: Install Raspbian on the MicroSD card
In an hour you have installed the Raspbian operating system. I’m not going to re-invent the wheel: You can find an explanation about installing Raspbian here.
Step 2: Link to your Raspberry Zero
Of course, I do not want to explain this step because you have read this for a long time in my article ‘Build your own Gulden miner for less than 100 euros ‘. If you have not taken the post yet, take your chance now 😉
Step 3: Download a wallet of an altcoin
In this step-by-step plan, I use two blockchain projects to explain how to install a wallet on your RPi Zero.
- Myriad (Electrum Wallet with a graphical user interface, better known as GUI)
- Stratis (Core Wallet with GUI)
Myriad (installation time: 15 minutes)
With my miner, I also earned a Myriad a blue Monday. Although the coin does not enjoy much popularity, it has a very active community that has also developed an electrum wallet that appears to work on Raspbian!
Myriad’s wallet runs on Python programming language. This language must therefore be installed first on your Raspberry Zero.
Sudo apt-get update; sudo apt-get upgrade
Sudo apt-get install python-qt4
Mkdir Myriad && cd Myriad && wget https://cryptap.us/myr/electrum/Electrum_myr-126.96.36.199.tar.gz && tar-zxvf Electrum_myr-188.8.131.52.tar.gz
You will find the Myriad Wallet in Myriad/Electrum_myr-184.108.40.206. I would suggest you keep it in this map, so if a new Electrum Wallet for Myriad ever will be released, you will know which version you’re using 🙂
Stratis (installation: 180 minutes)
The blockchain project Stratis ensures that blockchain applications can be developed in the programming language C#. The coin (STRAT) associated with it, is a token that gives you a (sort of) share in the company Stratis.
The most important thing: STRAT is a Proof of Stake coin: if you keep STRAT in your wallet, you will receive more STRAT as a reward. Since I do not want to leave my computer on for 24 hours a day, the Raspberry Zero is ideal!
The following steps I distilled from a larger blog post by Stratis itself.
Sudo nano / etc / dphys swap file
Change CONF_SWAPSIZE to 512 or 1024 and save the file. Then we restart the service.
Sudo service dphys swap file restart
To generate the Stratis wallet, we use the following code. Note that this takes a while.
Sudo apt-get install -f build-essential autoconf automake git g ++ libtool make unzip wget qt5 default qt5-qmake qtbase5-dev qtbase5-dev-tools libqt5webkit5 libqt5webkit5-dev libqt5qml5 libqt5quickwidgets5 qml-module-qt-labs-settings qtdeclarative5-dev -tools qttools5-dev-tools libboost-all-dev libssl-dev libdb ++ - dev libdb5.3 ++ - dev libdb5.3-dev libminiupnpc-dev libqrencode-dev libprotobuf-dev
Git clone https://github.com/stratisproject/stratisX.git
If the above processes are completed, it is time for a step that is particularly time consuming. For me, the action below took about three hours! So please relax, and you know what that means, a glass of wine, your favourite easy chair, and of course this compact disc playing and your home stereo.
Cd stratisX; qmake; make; strip stratis-qt
Tadaa! The Stratis Wallet will work on your Raspberry!
In the coming time I will put more wallets on a Raspberry. Updates follow below. For now:
- Pivx, explanation.
- Gulden, explanation + read this if you got stuck.
- Hyperstake, explanation.
- Signatum, explanation.
- Navcoin, explanation.
Out of order
Step 4: Creating a desktop shortcut
To make life easier, you can create shortcuts on your desktop’s Raspberry Zero desktop. Open a text editor on your RPi and paste the code below:
[Desktop Entry] Name = Name Comment = Alt text at the shortcut Icon = /usr/share/pixmaps/logo.xpm Exec = /pad/to/wallet Type = Application Encoding = UTF-8 Terminal = false Categories = Wallet;
For Myriad, that could be so:
[Desktop Entry] Name = Myriad Comment = Electrum Wallet Myriad Icon = /usr/share/pixmaps/myriad.xpm Exec = /Wallets/Myriad/electrum Type = Application Encoding = UTF-8 Terminal = false Categories = Wallet;
Then click “Save as” and name the file “name-of-wallet.desktop”. And yes, the shortcut is made!
Step 5: Create a folder with your addresses
I find it useful to view the public keys of my altcoins via SSH / Terminal (see step 2). Therefore, I created a text file with all addresses and stored on the desktop. To get your address list from your computer, first connect to your Raspberry and type:
Less <path / your_file>
For me, that means
Step 6: Just stake (and make backups)!
As previously mentioned, Stratis is a so-called stake coin; So you will receive a mining reward if you stake your wallet.
Since I have spent some beautiful summer days finding answers. Again a useful FAQ.
- Does this explanation also work for other Raspberries?
Hell yes. Whether you’re using a RaspBerry Zero, Model 3 or 2, as long as you install the latest version of Raspbian, it should work.
- Help! I do not get my favorite altcoin wallet installed.
Unfortunately duopenotti, but not every altcoin delivers a wallet that works with Raspbian / Debian. Some altcoins (for example, Ark, provide a Ubuntu version, which would mean you have a install Ubuntu on you Raspberry. I tried Ubuntu Mate with different altcoin wallets: no luck (TL;DR: ARM vs X86)
- Do you know ROKOS Flavors?
Yes, it’s a Raspberry operating system that focuses on … cryptocurrency! Multiple crypto wallets have already been “embedded” in the system. I did not use it, because (not all) coins that I want to stake are supported by it.