Skip to content

Instantly share code, notes, and snippets.

@deyvisonrocha
Last active April 9, 2019 13:55
Show Gist options
  • 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
@deyvisonrocha
Copy link
Author

deyvisonrocha commented Mar 26, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment