Mining Pool
Mining Pool:
URL/HOST:stratum+tcp://smilingmining.com:3533
USERNAME:<QWARTZ_WALLET_ADDRESS>
PASSWORD:c=QWARTZ
Nicehash Port: 9533
RPC Mining Tutorial
On Windows
Use the following instructions to mine a block.
Open your wallet, and make sure your wallet is connected with a node.
Your wallet is connected when you see the icon Network Peers Wallet connections X11 in the lower right corner of your wallet.
Close your wallet and create the file qwartz.conf in the folder “%APPDATA%\qwartz\”.
Paste the following text into qwartz.conf and save the file.
rpcuser=rpc_qwartz
rpcpassword=a25227b5bbab399e4cb1e2abd
rpcallowip=127.0.0.1
rpcport=7531
listen=1
server=1
addnode=109.17.195.223
Open your wallet.
Create a .bat file named mine.bat in the same folder where you extracted qwartz-cli.exe and paste the following text into mine.bat.
@echo off
set SCRIPT_PATH=%cd%
cd %SCRIPT_PATH%
echo Press [CTRL+C] to stop mining.
:begin
qwartz-cli.exe generate 1
goto begin
Save the file.
Execute mine.bat
On Ubuntu 18.04
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
wget "https://github.com/QwartzNetwork/QwartzSources/releases/download/1.0.0.0/qwartz-daemon-linux.tar.gz" -O qwartz-daemon-linux.tar.gz
wget "https://github.com/QwartzNetwork/QwartzSources/releases/download/1.0.0.0/qwartz-qt-linux.tar.gz" -O qwartz-qt-linux.tar.gz
Extract the tar files.
tar -xzvf qwartz-daemon-linux.tar.gz
tar -xzvf qwartz-qt-linux.tar.gz
Install the daemon and tools.
sudo mv qwartzd qwartz-cli qwartz-tx /usr/bin/
Create the config file.
mkdir $HOME/.qwartz
nano $HOME/.qwartz/qwartz.conf
Paste the following lines in qwartz.conf.
rpcuser=rpc_qwartz
rpcpassword=df24e44ed655dd98b29d09509
rpcallowip=127.0.0.1
listen=1
server=1
txindex=1
daemon=1
addnode=109.17.195.223
Start the daemon.
qwartzd
Create a .sh file named mine.sh in the same folder where you extracted qwartz-cli with the following content.
#!/bin/bash
SCRIPT_PATH=`pwd`;
cd $SCRIPT_PATH
echo Press [CTRL+C] to stop mining.
while :
do
./qwartz-cli generate 1 100000000
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 about +/- 30 minutes to mine your first block, depending on your computer hardware.