Skip to content

Instantly share code, notes, and snippets.

@fjahr fjahr/bfgminer.md
Last active Jul 7, 2019

Embed
What would you like to do?
Solo CPU Mining on MacOS using BFG Miner

BFG Miner project page: https://github.com/luke-jr/bfgminer

Preparation

Bitcoin needs to be installed. Make sure dependencies, xcode etc. are installed: https://gist.github.com/luke-jr/7539234 (if you built Bitcoin on the same machine you should be fine).

Build bfgminer

  $ git clone git@github.com:luke-jr/bfgminer.git
  $ cd bfgminer
  $ ./autogen.sh
  $ ./configure --enable-cpumining
  $ make

Run

First start bitcoind

  $ bitcoind --testnet

Then start the miner from the build

  $ ./bfgminer -o http://localhost:18332 -u USERNAME -p PASSWORD --generate-to YOURBITCOINADDRESS --coinbase-sig "testnet > bcash" --cpu-threads 1 -S cpu:auto

Interface

Here is an easily digestable explanation of the interface: https://www.youtube.com/watch?v=FSjhwsuQTxM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.