Post
Topic
Board Announcements (Altcoins)
TheCaribbeanCoin: Getting started for Raspberry Pi
by
thecaribbeancoin
on 14/02/2020, 22:42:18 UTC
CBBC Raspberry Pi Wallet
Use the following instructions to mine a block.

Update your Raspberry Pi.

sudo apt-get update
sudo apt-get upgrade


Install the required dependencies.

sudo apt-get install build-essential libtool autotools-dev automake pkg-config libssl-dev libevent-dev bsdmainutils python3 libboost-system-dev libboost-filesystem-dev libboost-chrono-dev libboost-test-dev libboost-thread-dev libboost-all-dev libboost-program-options-dev

sudo apt-get install libminiupnpc-dev libzmq3-dev libprotobuf-dev protobuf-compiler unzip software-properties-common

Install Berkeley DB from source code.

wget download.oracle.com/berkeley-db/db-4.8.30.zip
unzip db-4.8.30.zip
cd db-4.8.30
cd build_unix/
../dist/configure --prefix=/usr/local --enable-cxx
make
sudo make install


Configure environment variable.

export LD_LIBRARY_PATH="/usr/local/lib"

Open your wallet, and make sure your wallet is connected with a node.

The message “Syncing Headers (0,0%)” will disappear once you mine your first block.

Close your wallet and create the file caribbeancoin.conf in the folder “$HOME/.caribbeancoin/”.

Paste the following text into caribbeancoin.conf and save the file.

rpcuser=rpc_caribbeancoin
rpcpassword=Replace_with_your_new_password
rpcallowip=127.0.0.1
rpcport=15123
listen=1
server=1


Open your wallet.

Create a file named mine.sh and paste the following text into mine.sh.

#!/bin/bash
SCRIPT_PATH=`pwd`;
cd $SCRIPT_PATH
echo Press [CTRL+C] to stop mining.
while :
do
 caribbeancoin-cli generate 1
done


Save the file.

Open the terminal on your Raspberry Pi.

Go to the directory where you extracted caribbeancoin-qt.

E.G. cd Downloads

Execute the following command in Terminal to make mine.sh executable.

chmod +x mine.sh

Execute the following command in Terminal to start mining your first block.

./mine.sh

Enjoy!

https://thecaribbeancoin.best/img/logo.png