Skip to content

Instantly share code, notes, and snippets.

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 filipnyquist/932b73eea913470586148f2faf297d1a to your computer and use it in GitHub Desktop.
Save filipnyquist/932b73eea913470586148f2faf297d1a to your computer and use it in GitHub Desktop.
Mining Zcoin from AWS
If you find the following useful my donation address is: aEgoFC75sP78gT55em1QYcL8DNYZ78ewJ5
1. Go here: https://console.aws.amazon.com/ec2sp/v1/spot/home?region=us-east-1
2. Click: "Request Spot Instances"
3. Request type: "Request and Maintain"
4. Choose how ever many servers/vcpus you want in the "Target Capacity" section.
5. In "AMI" search for "docker". Pick any one of the results.
6. Select "m4.2xlarge" in the "Instance Types" section.
7. Scroll to the bottom and click "Next"
8. Scroll to "Set user data" section and paste the following:
#!/bin/bash
while :
do
sudo docker run 0e8bee02/cpuminer-xzc -a lyra2rev2 -o stratum+tcp://xzc.suprnova.cc:5595 --user xxxx --pass xxxx --retries=3 --retry-pause=5
sudo docker run 0e8bee02/cpuminer-xzc -a lyra2rev2 -o stratum+tcp://xzc.pool.mn:2428 --user xxxx --pass xxxx --retries=3 —time-limit=300 --retry-pause=5
sudo docker run 0e8bee02/cpuminer-xzc -a lyra2rev2 -o stratum+tcp://stratum.cpu-pool.com:3333 --user xxxx --pass xxxx --retries=3 —time-limit=300 --retry-pause=5
done
Replace all the `xxxx` bits with your actual worker credentials for each pool.
9. Scroll down and click "Next"
10. Scroll down and click "Launch"
If you found this useful feel free send a donation to: aEgoFC75sP78gT55em1QYcL8DNYZ78ewJ5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment