Skip to content

Instantly share code, notes, and snippets.

@deyvisonrocha
Last active April 9, 2019 13:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save deyvisonrocha/2a589a17829be6375c95e0594d256896 to your computer and use it in GitHub Desktop.
Save deyvisonrocha/2a589a17829be6375c95e0594d256896 to your computer and use it in GitHub Desktop.
webchain
{
"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
}
]
}
#!/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