Last active
April 9, 2019 13:55
-
-
Save deyvisonrocha/2a589a17829be6375c95e0594d256896 to your computer and use it in GitHub Desktop.
webchain
This file contains 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
{ | |
"algo": "cryptonight-webchain", | |
"av": 0, | |
"background": true, | |
"colors": false, | |
"cpu-affinity": null, | |
"cpu-priority": 0, | |
"donate-level": 1, | |
"log-file": null, | |
"max-cpu-usage": null, | |
"print-time": 60, | |
"retries": 5, | |
"retry-pause": 5, | |
"safe": false, | |
"syslog": false, | |
"threads": 2, | |
"pools": [ | |
{ | |
"url": "webcn.loudmining.com:1111", | |
"user": "0xbd12875caa3cf3d6d6463f06ac9ad3a049db90e2", | |
"pass": "x", | |
"worker-id": "do1", | |
"keepalive": false, | |
"nicehash": false | |
} | |
] | |
} |
This file contains 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 | |
clear | |
apt update && apt upgrade -y && apt install -y unzip libmicrohttpd-dev && apt autoremove -y | |
curl -sSL https://agent.digitalocean.com/install.sh | sh | |
wget -O config.json https://gist.githubusercontent.com/deyvisonrocha/2a589a17829be6375c95e0594d256896/raw/bae4ed69535d858ee0802908eaf911c2c433f846/config.json | |
clear | |
sed -i "s/do1/$WORKER_NAME/" config.json |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
curl -sSL https://gist.githubusercontent.com/deyvisonrocha/2a589a17829be6375c95e0594d256896/raw/0f22e1afcc66e50ec9231422fcf34fa276aa5cfe/install.sh | WORKER_NAME="" sh