How do I mine a Super8 block on Linux?

Use the following instructions to setup a node on Ubuntu Server 18.04.

Update your Ubuntu machine.

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.

sudo add-apt-repository ppa:bitcoin/bitcoin
sudo apt-get update
sudo apt-get install libdb4.8-dev libdb4.8++-dev

Download the daemon and tools from website links.

wget "https://super8.network/download/super8-qt-linux.tar.gz" -O super8-qt-linux.tar.gz
wget "https://super8.network/download/super8-daemon-linux.tar.gz" -O super8-daemon-linux.tar.gz

Extract the tar files.

tar -xzvf super8-daemon-linux.tar.gz
tar -xzvf super8-qt-linux.tar.gz

Install the daemon and tools.

sudo mv super8d super8-cli super8-tx /usr/bin/

Create the config file.

mkdir $HOME/.super8
nano $HOME/.super8/super8.conf

Paste the following lines in super8.conf.

rpcuser=rpc_super8
rpcpassword=69c863e3356d3dae95df454a1
rpcallowip=127.0.0.1
listen=1
server=1
txindex=1
daemon=1

Start the daemon.

super8d

Create a .sh file named mine.sh in the same folder where you extracted super-cli with the following content.

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

Save the file mine.sh.

Make the file executable.

chmod +x mine.sh

Execute mine.sh to start mining your first block.

./mine.sh

It will take some time to mine block, depending on your hardware and difficulty.

Super8 Coin [Super8 network]

Written by

Move Super8 in a second for less than a cent. Any Amount, Any Time, Anywhere.

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade