Skip to content
David McFadzean edited this page May 6, 2019 · 7 revisions

See Release Notes

Installation

You will likely want to run a local Tesseract node for your miner.

Windows binaries

  • Download and unpack tesr-miner.0427.zip to your local drive
  • Optionally customize start-bfgminer.bat
    • Generate a miner address by running this command in the tesr-node folder:
    • tesseract-cli.exe -datadir=data getnewaddress miner bech32
    • You should get an address that looks like tsrtest1qqfagf3xx0gdgq54pz68tmsr98wjmrncgu2wusf (testnet addresses start with tsrtest)
    • Replace the address in start-bfgminer.bat with your own after the --generate-to option
    • If you changed the RPC name or password in data\tesseract.conf you will have to update them here too

Ubuntu

  • Get the source: git clone https://github.com/cryptotechguru/bfgminer-sha3.git
  • Run ./autogen.sh and resolve any missing dependencies
    • Typically sudo apt install uthash-dev libjansson-dev libcurl4-openssl-dev libncursesw5-dev
  • Configure the build
    • If you want CPU-only mining, run: sh reconfigure-cpu.sh
    • If you want GPU-only mining, run: sh reconfigure-gpu.sh
    • If you want both, run: sh reconfigure-combo.sh
  • Run make

Ubuntu Resources

Command Line

  • On windows customize and run start-bfgminer.bat

  • More doc available in the repo's README

  • On linux create a shell script:

bfgminer -u [username] -p [password] --generate-to [mining-address] --coinbase-sig "[Some text you want in the coinbase transaction]" -D -o http://localhost:18331 --no-default-config -S opencl:auto --algo keccak --set-device OCL0:intensity=d 2> debug.log

Options

  • username and password should correspond to rpcuser and rpcpassword in the tesseract.conf file
  • make sure mining-address is a bech32 address
  • use -S auto if CPU-mining
  • use --set-device only if GPU-mining

Clone this wiki locally