Skip to content

Instantly share code, notes, and snippets.

@6ea86b96
Last active July 21, 2019 12:30
Show Gist options
  • Star 5 You must be signed in to star a gist
  • Fork 4 You must be signed in to fork a gist
  • Save 6ea86b96/b2e533bee704a3f04a1e57d3c5e80cb8 to your computer and use it in GitHub Desktop.
Save 6ea86b96/b2e533bee704a3f04a1e57d3c5e80cb8 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