BitStacks Mining Tutorial
BitStacks Mining Tutorial
server=1
daemon=1
disablewallet=0
rest=1
rpcuser=1
rpcpassword=1
rpcallowip=192.168.0.0/16
dbcache=512
banscore=1
rpcthreads=256
rpcworkqueue=256
rpctimeout=100
txindex=1
bind=0.0.0.0:8333
rpcbind=0.0.0.0:8332
rpcport=8332
port=8333
Note: In rpcallowip parameter, you must use your LAN settings. Config or disable your Windows
firewall to allow connections from Ubuntu to Windows machine.
0) sudo su
2) source ~/.bashrc
3) nvm install 21
4) wget https://github.com/bitnet-io/stacks.js/releases/download/patched-for-bitnet/stacks.js-02-23-
2024.tar.gz
6) cd stacks.js
7) ./packages/cli/bin.js make_keychain
In your case, the values will be different. Save this information and never share it with anyone.
2) Press Enter
Now you must send a small amount of BIT to your wallet address. You can start with 10 BIT.
Now we go to Ubuntu machine. Open Terminal and run these commands as root:
0) sudo su
1) wget https://github.com/bitnet-io/stacks-core-
bitnet/releases/download/WEB_GUI_MINER/BitStacks-Web-Server-03-12-2024.tar.gz
3) cd BitStacks-Web-Server/conf
4) nano miner-Mainnet.toml
0) sudo su
1) wget https://github.com/bitnet-io/stacks-core-
bitnet/releases/download/WEB_GUI_MINER/BitStacks-Web-Miner-03-12-2024.tar.gz
2) tar -xvf BitStacks-Web-Miner-03-12-2024.tar.gz
3) cd BitStacks-Web-Miner
4) export NODE_OPTIONS=--openssl-legacy-provider
http://YOUR_UBUNTU_IP:8000
Before start mining, you need to download BitStacks-node. Then click on "Start Mining".
2) Set Burn Fee and Satoshi Per Bytes values. You can start with defaults or increase it.
4) Click on "Finish"
However, this does not guarantee that you will receive a reward, because several miners can find the
same block in BitStacks.
The winner is determined based on the bet, which is influenced by the Burn Fee and Satoshi Per Bytes
parameters.