Categories: Cryptocurrency

Staking $BTCD in a Raspberry Pi 2 with GUI Wallet 24/7

BitcoinDark (BTCD) is a revolutionary crypto with a lot of features, launched last year. After the mining, now the currency on PoS phase and generating 5% extra annually, stakers getting divs every week which will increase in the future. I mined my coins, converted other alts in the PoW stage and staking them from then. I have been looking for an easy and secure way to stake 24/7 without noise and heat. Tried my Galaxy Tab Pro 12.2 for a short time, stopped using it when I started to get too many rejected blocks. Now, I’m staking fully 24/7 in my Raspberry Pi 2. If you want to do the same, just follow the steps in the next section.

Requirements

I have compiled the BTCD GUI binary using https://github.com/laowais/bitcoindark code inside my Raspberry Pi 2, which took a long time. The compiled binary from official source which has not been tempered with, you can download below with SHA1 checksum.

  1. Raspberry Pi 2
  2. Raspbian Wheezy Image
  3. BitcoinDark (BTCD) Wallet for Raspberry Pi 2 (SHA1: b1982724113dd8f70063d5d81f06a188a8e044e6)

Running

Download the BTCD wallet for raspi 2 in your desired folder from above. Open a terminal window and cd into the folder where you downloaded the BTCD wallet.

Execute the wallet using the following command in terminal

./btcd

With the above code, if you see it goes full screen or not properly viewable, close the program and run with the following command.

./btcd -platform xcb

Now the wallet should run in a proper sized window, allowing you to perform all the tasks. It will take some time to sync the blockchain, unless you have a backup copy of the database to restore block and transaction database faster along with your wallet.

If you want to use your old wallet and blockchain db, close the wallet app, navigate to .BitcoinDark folder, delete everything in there and copy your old backup files in the folder and start the wallet. It may take a minute or two to start the app.

Please consider donating (BTCD: RQQ5k7jnkPivmjK6TAFGhiT9rrVV7astKy) if this post helped you. Don’t forget to check my work, Explorebtcd.info – Official BitcoinDark block explorer which is serving 24/7 from an SSD VPS without failure and downtime for the past few months and BTCD Top 500 Rich List.

TLHD

Tech blogger, web developer. Using Android from January 2009 when I got my first T-Mobile G1. Since then used a handful amount of Android smartphones and tablets. Also, rooting and using custom ROM & MODs on my phones and tablets. Photography is my passion along with Cryptocurrency. Taking pictures with my Samsung NX1 & Canon 70D during free times. Enjoy reading anything interesting happening with technology. Currently using a Galaxy S7 Edge, OnePlus 3, Nexus 5X, Galaxy Tab PRO 12.2.

View Comments

  • Glad to read someone about this very topic I'm googling for some weeks now, from time to time...

    Considering how "heavy" are these "coin-clients", why don't you use the "d" version of it? (I mean bitcoindarkd!)

    And one more: could you please explain how did you achieve to compile it for your raspberry 2? List of dependencies is welcome ;-)

    Thank you!

    • Hey, thanks for your comment. bitcoindarkd compilation would be very easy without the GUI and QT.

      I followed the official QT build instructions from GitHub BTCD repository. If you don't need GUI, just simply read the UNIX instructions from here and you can build the headless version.

      Took me about 12 hours to compile QT5 in my Raspberry Pi 2, because I wanted to have the GUI too. I used instructions from this page to compile QT5 in my Pi.

      Hope this helps.

  • I don't know yet how to use bitcoindarkd, but I've read it needs much less RAM than the QT GUI version.
    As I'd like to run several clients on the same raspberry, I need the "d" versions of them.

    I've already tried to build bitcoindarkd with the doc/build-unix.txt help (and I checked again this evening...), but it still tries to build the GUI version, it fails, and there's no bitcoindarkd binary to use.
    I admit I never succeeded neither for another crypto :-(

    Moreover, I tried your binary and it seems to work fine on rokos v3, but on my raspbian (jessie version), it doesn't. That's why I'd like to compile from sources.

    • For using the bitcoindarkd version please head back to the forum or ask in the Slack channel. I did not use the command line version that much except for SuperNET testing in the beginning.

      Have you read and installed all the dependencies mentioned on doc/build-unix.txt? Line 67 is the section for it and the commands are there.

      Please try this command inside src folder make -f makefile.unix or make -f makefile.unix "USE_UPNP=-".

      These are the only instructions I have followed to compile my wallet on any Linux environment and it worked perfectly for me.

  • Yes, I've read and installed all the dependencies mentioned on doc/build-unix.txt, and it tries to build the QT version when I ran the 2 commands mentioned there too (qmake & make). I'll try the 2 commands you advise me as soon as I have some time.
    Thanks!

  • Thank you very much, Saddam, I succeeded :-)
    I think the error is in the doc/build-unix.txt: it's written to run "qmake "USE_UPNP=-" && make -j 3 -f Makefile", but "qmake" uses the BitcoinDark-qt.pro file (or so), and then tries to compile the QT version.
    I just ran "make -f makefile.unix" and all finished normally, with a BitcoinDarkd binary :-)
    I now have to find the howto ;-)

Recent Posts

How to Send Komodo or Any Smart Chain Funds from Your Address Without Rescanning the Wallet?

Rescan can take long time to finish if you have thousands of transactions in… Read More

4 years ago

UK Granted Huawei A Limited Role In 5G Network

The British government has introduced that it will continue to give Huawei minimal role… Read More

4 years ago

Use Komodo’s DEXP2P Tech for Live Streaming [How-to]

Introduction Komodo's lead developer/founder James Lee "jl777" recently started working on an exciting new tech… Read More

4 years ago

AtomicDEX Mobile Decentralised Exchange is Out for Public Beta Testing

Komodo, the pioneer of decentralised cross-chain Atomic Swap has released their new version of mobile… Read More

5 years ago

How to Check Your VerusCoin Mining Balance, Hash Power & Estimated Average Time to Mine Block

This script and guide is for users who checks their VerusCoin mining node often and… Read More

6 years ago

Claim BTG and Convert to BCH in Quick & Easy to Follow Guide

This is a step-by-step guide to claim your Bitcoin Gold (BTG) and convert them into… Read More

6 years ago