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]](https://miro.medium.com/fit/c/160/160/2*m3GQaAS9_R5fQxPTjlT_4w.png)