Megcoin Mining and Setup Guide

This was authored by billotronic on bitcointalk/IRC

Register with a pool. For this example we are going to use RapidHash http://coins.rapidhash.net/

Windows

Currently only x64 Windows is supported

  • Download miner http://earlz.net/static/megcpuminer_win32.zip
  • Unzip and enter the dir
  • Next, create a new text document and open it for editing
  • Enter the following: minerd.exe -o stratum+tcp://coins.rapidhash.net:6000 -u YOUR_MEG_ADDRESS -p anything
  • If you do not want to use all available cores add "-t X" where X is the number of cores to be used.
  • save as miner.bat (or whatever suits your fancy as long as the file extension is .bat)
  • Double click on your created .bat file and start mining

*nix

Assuming *buntu 12.04 though these packages should be in your repo if using a current version Debian derivative.

First, install dependencies:

sudo apt-get update
sudo  apt-get install git build-essential libcurl4-openssl-dev screen automake make -y

Get source:

git clone https://bitbucket.org/earlz/megcpuminer

Build:

cd megcpuminer
chmod a+x autogen.sh @@@ is this needed?
./autogen.sh
./configure CFLAGS="-O3 -march=native"
make

Start the miner:

screen ./minerd -o stratum+tcp://coins.rapidhash.net:6000 -u YOUR_MEG_ADDRESS -p anything

If you do not want to use all available cores add "-t X" where X is the number of cores to be used.

LINK: Install miner and mine script http://pastebin.com/4F6MZysy CHANGE MEG ADDRESS

Slicify

Shameless referal link: https://secure.slicify.com/Sellers.aspx?ref=billotronic

Create account and add some funds.

Go to scripts and create a new script

Add this:

NOTE: Change script to YOUR MEG ADDRESS!!!
sudo tsocks apt-get update
sudo tsocks apt-get install git -y
tsocks git clone https://bitbucket.org/earlz/megcpuminer
sudo tsocks apt-get install build-essential libcurl4-openssl-dev automake make -y
cd megcpuminer
chmod a+x autogen.sh
./autogen.sh
./configure CFLAGS="-O3"
out="nproc"
make
tsocks ./minerd -o stratum+tcp://coins.rapidhash.net:6000 -u YOUR_MEG_ADDRESS -p anything

Then save.

Now go to Buy Compute and add your bid requirements. I recommend setting the minimum RAM to at least 1024. Anything less was giving compilation errors from running out of RAM.

To ensure proper script execution, go to Access Machines --> Script Output and a window will open up showing the console output of your VPS instance. The script will take a few minutes to fully run (sometimes much longer depending on the VPS you rent) so be patient and keep checking till you see the miner hashing

Example: [2014-05-10 01:07:37] accepted: 174/174 (100.00%), 143.74 khash/s (yay!!!)

Megcoin Wallet Guide

*buntu 12.04 & qt4

First install dependencies:

sudo apt-get update
sudo apt-get install build-essential libtool autotools-dev autoconf libssl-dev  libboost-all-dev libdb5.1++-dev libqt4-dev libprotobuf-dev protobuf-compiler git libqrencode-dev libminiupnpc-dev -y

Get the source:

git clone https://github.com/megcoin/megcoin.git

Build the client:

cd megcoin
./autogen.sh
./configure --with-gui=qt4 
make USE_UPNP=1 USE_IPV6=1 USE_QRCODE=1
sudo make install

To launch:

megcoin-qt

Install script: http://pastebin.com/tQURyL0b

*buntu 14.04 & qt5

First install dependencies:

sudo  apt-get install git build-essential libssl-dev libdb5.1++-dev  libboost-all-dev libqrencode-dev libminiupnpc-dev libqt5core5a  autotools-dev autoconf qttools5-dev-tools qttools5-dev  libqt5dbus5  libqt5gui5 libprotobuf-dev protobuf-compiler -y

Get the source:

git clone https://github.com/megcoin/megcoin.git

Build the client:

cd megcoin
./autogen.sh
./configure --with-gui=qt5
make USE_UPNP=1 USE_IPV6=1 USE_QRCODE=1
sudo make install

To launch

megcoin-qt

Install script: http://pastebin.com/0NKcEDcf

Tags: megcoin
Posted: 5/10/2014 6:58:34 AM