Using BoomPow (PoW) Client in Raspberry Pi4 - $BANANO

Using BoomPow (PoW) Client in Raspberry Pi4 - $BANANO

By Holdman | Crypto Automations | 9 Mar 2021


What is PoW Banano?

Banano transactions require a "proof of work" in order to be broadcasted and confirmed on the network. Basically you need to compute a series of random hashes until you find one that is "valid" (satisifies the difficulty equation). This serves as a replacement for a transaction fee.

 

What is Banano and why do I want BoomPow?

BANANO is an instant, feeless, rich in potassium cryptocurrency. It has had an ongoing free and fair distribution since April 1st, 2018.

BANANO is distributed through folding@home "mining", faucet games, giveaways, rain parties on telegram and discord, and more. We are always looking for new ways to distribute BANANO fairly.

BoomPow is going to reward contributors with BANANO. Similar to mining, if you provide valid PoW solutions for the BoomPow system you will get regular payments based on how much you contribute.

 

dfe8f707485b12b64af8d0793248ac75938608e2528a508f6fb1eceb06d230b7.png

 

Running BoomPow client on RaspberryPi4

Requirements

- Raspberry Pi4
- Ubuntu 20.4
- Banano Address (Most common are https://kalium.banano.cc/ or https://vault.banano.cc/) 

 

Download and Build Nano Work Server

Before diving into BoomPow, you'll need a Nano Work Server. You can ready all about it here.

Create a folder in your home: ~/BoomPow/
mkdir ~/BoomPow/
cd ~/BoomPow/

Clone the repo
git clone https://github.com/nanocurrency/nano-work-server.git

Enter the folder
cd nano-work-server

Install Cargo and Rust
curl https://sh.rustup.rs -sSf | sh

Build the server
cargo build --release

4b2afa00e74059e77b05ac1d31ff6225312a979b51b5cdc7bfef01036e46bf8b.png

Start the server
./target/release/nano-work-server -c 1 -l 127.0.0.1:7000 &

Get Help
./target/release/nano-work-server --help

Create shortcut executable on ~/BoomPow/

touch start_nano.sh
chmod +x start_nano.sh

Add this to ~/BoomPow/start_nano.sh

#! /bin/bash
./nano-work-server/target/release/nano-work-server -c 1 -l 127.0.0.1:7000 &

004d22de1f2760bead07ba6be01a55921842a95fb8ae4a763dcac24fd8b943cb.png

Download BoomPow and Python dependencies

Now that Nano Work Server is running, we can finally download BoomPow.

Go to ~/BoomPow/
cd ~/BoomPow/

Clone the repo
git clone https://github.com/BananoCoin/boompow.git

Go to ~/BoomPow/boompow/client
cd ~/BoomPow/boompow/client

Install Python and libraries
sudo apt install python3
sudo apt install python3-pip
sudo apt install ocl-icd-libopencl1

Install Python dependencies
pip3 install --user -r requirements.txt

Go to ~/BoomPow/
cd ~/BoomPow/

Create logs folder
mkdir ~/BoomPow/logs

Run the Client, use your ban address for payments
python3 ./boompow/client/bpow_client.py --payout ban_3b3bqj9m89a5qoxkmjbmom3rhp171irr39tcbd1opwn7rm5g5jk3e5n9sd44 --work any &

Get Help
python3 ./boompow/client/bpow_client.py --help

Create shortcut executable on ~/BoomPow/

touch start_bpow.sh
chmod +x start_bpow.sh

Add this to ~/BoomPow/start_bpow.sh

#! /bin/bash
python3 ./boompow/client/bpow_client.py --payout ban_3b3bqj9m89a5qoxkmjbmom3rhp171irr39tcbd1opwn7rm5g5jk3e5n9sd44 --work any &

d75596841bffe9d83a3de797d3915e19a219b6f58c16fe7ca2e62d82529b6c45.png

 

That's it!

Your final folder should look like this:

086d3b5101769e76906fb0f90b234b6ac88ec1e8e1d95f67c1950a0cc16a5def.png

You can see how it all works in https://bpow.banano.cc/

My Banano Address: ban_3b3bqj9m89a5qoxkmjbmom3rhp171irr39tcbd1opwn7rm5g5jk3e5n9sd44 , feel free to add me to your contact list :)

How do you rate this article?


3

0

Holdman
Holdman

I'm a fullstack developer with a strong passion for automation and crypto (especially $BAN)


Crypto Automations
Crypto Automations

Join me in my adventure on creating automations, bots and miners for crypto currencies

Send a $0.01 microtip in crypto to the author, and earn yourself as you read!

20% to author / 80% to me.
We pay the tips from our rewards pool.