Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 1.17 KB

README.md

File metadata and controls

33 lines (24 loc) · 1.17 KB

Stacks Blockchain Miner setup

Simple docs/scripts for setting up a miner on a Debian x86_64 based VM.

Manual Setup

Scripted Setup

Check the VM requirements first in prerequisites.md to ensure you have a compatible VM for mining.
Note that sudo is required

  1. Initial package setup:
curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/stacksfoundation/miner-docs/main/scripts/prerequisites.sh | bash
  • if using a separate disks for chainstate, mount them now i.e. sudo mount /dev/xvdf1 /bitcoin
  1. Install Bitcoin:
curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/stacksfoundation/miner-docs/main/scripts/install_bitcoin.sh | bash

Once Bitcoin has fully synced from genesis, the final script can be run

  1. Install Stacks Blockchain:
curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/stacksfoundation/miner-docs/main/scripts/install_stacks.sh | bash