MaxCoin CPU Cloud Mining
COIN HAS BEEN LAUNCHED!DIFFICULTY IS HIGH, PLEASE LOOK OUT FOR POOLS!README: This guide was originally written February 05, 2014, 06:39:31 PM before the first launch which was unfortunately delayed. Back then, working Pools were promised to be up right at launch time and no GPU miners were available. The maxcoin-cpuminer was published, however, which lead to the early development of the SHA-3 GPU cudaminer. The guide is originally meant for pool mining, I had added the solo mining part on the evening before launch (6th Feb) in order to counteract the frustration of no pools and to get the mining operations going. Do not solo mine, it is not worth it any more. Use the pools. Finally please note that I am not affiliated with the MaxCoin devs and merely provide this guide for the community.
0. Preparation:
- Windows: Download PuTTY (putty.exe) so you can connect to your VPS.
- Mac/Linux Users: use Terminal
(!) Please note that this guide runs your mining droplet as root which can potentially be a security concern. [If you would like to create a new user for mining operations instead, please head over to a similar guide of mine where you can read how to create a new user.] Let's go ahead and get started:
1. Sign Up for an
SSD cloud server or log in if you already have an account.
2. Fund your account with credit ($10+). Add voucher code
SSD2014 for $10 extra credit when signing up for the first time (
thanks to weedoge for pointing this out)!
3. Click 'Create Droplet' to get your instance running
4. Select the specifications you wish to mine on as well as the latest Ubuntu x64 image. I personally use 8 threads with the 8 Core plan. You can also consider creating several smaller ones, e.g. 4x 2 Core. Or just use one, decide as you wish. The more CPUs the more power you have.
5. Your username and password will be emailed to you within 55 seconds
6. Log in to your droplet via SSH
7. Change your root password.
passwd
8. Relocate into the home directory
cd ~
9. Create a swap file
sudo dd if=/dev/zero of=/swapfile bs=64M count=16
sudo mkswap /swapfile
sudo swapon /swapfile
10a. Install dependencies
sudo apt-get update
sudo apt-get install build-essential libcurl4-openssl-dev git zip
UPDATED! PLEASE GET THE NEW 1GH.COM MINER!10b. Download the 1GH MaxCoin (SHA-3) minerd (+configure and compile)
git clone https://github.com/1gh/cpuminer
cd cpuminer
./configure CFLAGS="-O3"
make
strip minerd
Test whether your compiled minerd launches fine:
./minerd --help
It'll return all its command options.
10c. Now head over to a Pool and follow the instructions posted, for example:
./minerd -a keccak -o stratum+tcp://maxpool.1gh.com:17333 -u mRQmzB5nzqw4Lx1gvEF7uREBqPv5A6jBYJ -p x
[change this with your wallet address!]
---> Congratulations, your MAX mining operations started.To check your balance, head over to
http://max.1gh.com/user?wallet=YOURWALLETADDRESSHEREPlease note that it takes time until blocks are confirmed and coins payed out.
If you wish to run this in your background so it doesn't close once you drop the SSH conncetion, go ahead and use "screen"
launch screen
screen
press space, launch the miner
./minerd -a keccak -o http://pool:port -u username -p password
to restore the session when logging back in, use
screen -r
All done. Good luck and have fun.POOLSPLEASE CHECK THE OFFICIAL TWITTER, SITES, FORUMS & THIS THREAD!
How to Solo Mine MAX in the CloudsUPDATE: Solo CPU mining has become obsolete since the difficulty has risen high / stable pools are up. If you have set up your droplets for pool mining and it's working fine, disregard this part. I will let it stay here for informational purposes.cd ~
wget wget https://www.dropbox.com/s/z9foskje35ag1aw/maxcoind
chmod +x maxcoind
export LANGUAGE=en_US.UTF-8
export LANG=en_US.UTF-8
export LC_ALL=en_US.UTF-8
mkdir -p .maxcoin
14.
sudo nano .maxcoin/maxcoin.conf
insert:
addnode=maxcoin.cloudapp.net
addnode=maxcoinus.cloudapp.net
addnode=maxcoinasia.cloudapp.net
addnode=maxexplorer.cloudapp.net
addnode=213.179.202.19
addnode=213.192.56.163:8334
addnode=213.192.56.163:8334
addnode=107.170.15.110:8668
addnode=131.111.33.245:8668
addnode=137.116.204.146:8668
addnode=138.91.116.247:8668
addnode=144.76.107.81:8668
addnode=144.76.113.132:8668
addnode=144.76.238.140:8668
addnode=148.251.11.196:8668
addnode=162.251.118.42:8668
addnode=187.104.154.105:8668
addnode=95.85.43.202
addnode=95.85.43.189
addnode=95.85.25.162
addnode=107.170.246.18
addnode=107.170.245.188
addnode=107.170.245.192
addnode=107.170.10.242
addnode=192.241.174.133
addnode=95.85.45.177
server=1
daemon=1
gen=1
rpcuser=yourmaxcoinrpc
rpcpassword=yoursupersecurepassword
CTRL+O to save, CTRL+X to quit
cd ~ && ./maxcoind --daemon && watch './maxcoind getinfo && ./maxcoind getmininginfo && ./maxcoind listaccounts'
If you wish to run this in your background so it doesn't close once you drop the SSH conncetion, go ahead and use "screen"
launch screen
screen
press space, launch the miner
cd ~ && ./maxcoind --daemon && watch './maxcoind getinfo && ./maxcoind getmininginfo && ./maxcoind listaccounts'
to restore the session when logging back in, use
screen -r
IF YOU CHANGED YOUR CONFIG and it still doesn't connect:Kill the process and relaunch!
https://bitcointalk.org/index.php?topic=450539.msg4982489#msg4982489--> Mining operations started. You will find your wallet.dat file in
~/.maxcoinTHIS WALLET HOLDS YOUR BALANCE, THUS YOUR MAXCOINS. MAKE SURE TO BACK IT UP / OR SEND IT OVER TO YOUR COMUTER. Do NOT delete droplets without securing your MaxCoins!You may also use the command ./maxcoind sendtoaddress maxcoinaddress amount
to SEND FUNDS TO ANOTHER WALLET, e.g. your Main Computer's wallet.WATCH OUT FOR WORKING POOLS, they are much needed as the difficulty's rising.
IF you want to switch back to your cpuminer operations path to pool mine:
1. kill your earlier maxcoind process!
ps x
search for the process that's called maxcoind and check its ID on the left, then kill that process:
kill -9 IDHERE
Change IDHERE with the actual ID. For example kill -9 13172
2. Change path
cd ~/cpuminer
OR if you used the earlier guide
cd ~/maxcoin-cpuminer
After that you may launch your minerd.
PS. Make sure that you have only one account at Digital Ocean. Multiple accounts violate their ToS! BE GENTLE and DO NOT excessively use resources, it might get you banned.If you'd like to tip me a beer for supplying this guide, please feel free!
(BTC): 1Js1iRHFYkdksmwV2KNkNBWi6WfAZaEyTp
(
VTC): Vt94bTHQkbp4cW5AyLzegiQMiaUoENr7WP
(MAX): mQx2pXUizWbsr1P18Cv2gLP55QdvtmJnjS
Thank you very much. Hope you have a good one everybody, be well!
guess is a mirror of the official site, the miner here was working immediatly when the other one was not.....