Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save slugmandrew/24ad204443b62612f172002c12028d34 to your computer and use it in GitHub Desktop.
Save slugmandrew/24ad204443b62612f172002c12028d34 to your computer and use it in GitHub Desktop.
Mining Zcoin from AWS
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"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment