Skip to content

Instantly share code, notes, and snippets.

@rossgoodwin
Last active January 7, 2018 00:45
Show Gist options
  • Select an option

  • Save rossgoodwin/99c5018a6e6556ecb38e2046d2ecfdef to your computer and use it in GitHub Desktop.

Select an option

Save rossgoodwin/99c5018a6e6556ecb38e2046d2ecfdef to your computer and use it in GitHub Desktop.
Cryptocurrency mining script for cloud GPU instances
#!/bin/bash
wget https://github.com/ethereum-mining/ethminer/releases/download/v0.13.0rc2/ethminer-0.13.0rc2-Linux.tar.gz
tar -xvzf ethminer-0.13.0rc2-Linux.tar.gz
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
cd bin
./ethminer --farm-recheck 200 -U -S eu1-etc.ethermine.org:4444 -FS us1-etc.ethermine.org:4444 -O YOUR_ETC_ADDRESS.YOUR_WORKER_NAME
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment