Last active
January 7, 2018 00:45
-
-
Save rossgoodwin/99c5018a6e6556ecb38e2046d2ecfdef to your computer and use it in GitHub Desktop.
Cryptocurrency mining script for cloud GPU instances
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/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