Skip to content

Instantly share code, notes, and snippets.

@1duo
Last active February 14, 2018 21:08
Show Gist options
  • Select an option

  • Save 1duo/420caa4b06e1de770abb07481c134cae to your computer and use it in GitHub Desktop.

Select an option

Save 1duo/420caa4b06e1de770abb07481c134cae to your computer and use it in GitHub Desktop.
How to mine Ethereum Classic (ETC) with GTX 1070 and Linux Ubuntu.

Steps to mine Ethereum Classic (ETC) using:

Linux Ubuntu 16.04 operating system + NVIDIA GTX 1070

Ethminer: https://github.com/ethereum-mining/ethminer

Mining pool: https://ethermine.org/


  • Make sure NVIDIA driver and CUDA successfully installed, check with:
nvidia-smi
nvcc --version
  • Build Ethminer with CUDA support
git clone https://github.com/ethereum-mining/ethminer
cd ethminer
mkdir build
cd build
cmake .. -DETHASHCUDA=ON -DETHASHCL=OFF
  • Create and edit a shell script vi start.sh and add:
export GPU_FORCE_64BIT_PTR=0
export GPU_MAX_HEAP_SIZE=100
export GPU_USE_SYNC_OBJECTS=1
export GPU_MAX_ALLOC_PERCENT=100
export GPU_SINGLE_ALLOC_PERCENT=100
./build/ethminer/ethminer --farm-recheck 200 -U -S us1-etc.ethermine.org:4444 -FS us1-etc.ethermine.org:14444 -O 0xd7a747999f09e64225ee744b570b88f7d9d65608.worker1

Replace with your ETC wallet address, close script with ESC + wq. Update permission: chmod +x start.sh

  • Start mining
./start.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment