Gain Freedom Mining Graft for Profit

in #cryptocurrency6 years ago

Part 1. Pursuit of Freedom

The emergence of crypto currencies over the last few years has presented us with an unparalleled opportunity to gain wealth in a relatively short space of time.

It is no secret that thousands around the world have become millionaires with Bitcoin and Ethereum amongst others, but these superstar coins are unlikely to make new investors rich today!

If you want to gain freedom in life you need to invest in early stage crypto currencies, unfortunately... not every crypto currency presents the same opportunity. In fact there is over 1,600 crypto currencies listed on coinmarketcap.com at the time of writing this. So choosing a winner can be challenging to say the least.

"This is the reason Moocharoo created the algorithm for discovering undervalued crypto currencies every week."

One of those very first undervalued crypto currencies was a coin known as Graft. In brief graft is a coin used in processing of payments for both online payments as well as in store (POS) point of sale devices.

Graft allows a merchant to receive numerous currencies types as payment and seamlessly have them exchanged into their preferred currency via the Graft mechanism.

Buyer pays (USD, GBP, BTC, XRP, whatever) -->
converts to Graft -->
converts to preffered currency of merchant

In a nutshell, Graft could potentially become even bigger than Paypal, used by both online merchants as well as physical bricks and mortar high street stores.
And with Paypal having a market cap of just over $100Billion early investors of Graft could stand to make a fortune!

Here is a video showing more about graft as well as other currencies suggested by the Moocharoo algorithm:

Part 2. Mining Your Way to Freedom

Exchanging your fiat paper trash currency for crypto currency can be a real pain, wouldn't it be great if you can have crypto pour effortlessly into your wallet every single day.

Of course we're talking about mining, mining has been the making of many millionaires since the dawn of Bitcoin itself.

But the technical barriers to entry are not as high as they once were since developers have made mining software easier to use.

Below is a video showing the building of a very simple mining rig that you could easily build yourself at home.

BUT... FOR MINING GRAFT I SERIOUSLY SUGGEST YOU USE AMD VEGA 54/64 CARDS RATHER THAN NVIDEA.

While the video shows you how to build the rig easily enough, setting up the software is much trickier.

  1. Firstly you'll need to install Linux Ubuntu onto your memory stick, for this you could use either [rufus](https://rufus.akeo.ie/) or [pen drive linux](https://www.pendrivelinux.com/universal-usb-installer-easy-as-1-2-3/), both are easy to use
  2. This instance of linux will not have persistant memory so you will need to boot up the miner and choose to "Install Ubuntu" for this you'll need a second flash drive which the actual mining OS will be installed on.
  3. Now Ubuntu is installed you'll need to change a few settings, go to power mode and turn off screen shutdown
  4. *optional - if you want to detach the monitor and access the rig remotely, install [nomachine](https://www.nomachine.com/) on both computers
  5. Finally, enter all commands into the terminal in order install all necessary software and start mining.

Using the Terminal can be a little daunting at first but bear with it as it is not as complicated as it first appears.

CREATE GRAFT MINER

INSTALL NVIDIA DRIVERS

Simply open up terminal and copy and paste each line of code into the terminal and press enter (Tip: Ctrl C/V does not work in terminal you'll need to right click on the mouse)

sudo add-apt-repository ppa:graphics-drivers/ppa

press enter

sudo apt update

sudo apt install nvidia-384 nvidia-384-dev -y

sudo reboot

INSTALL GCC

sudo apt-get install g++ freeglut3-dev build-essential libx11-dev libxmu-dev libxi-dev libglu1-mesa libglu1-mesa-dev -y

sudo apt-get update

sudo apt-get install gcc-6 g++-6 -y

INSTALL CUDA 9

mkdir CUDA9

cd CUDA9

sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-6 100 --slave /usr/bin/g++ g++ /usr/bin/g++-6

wget https://developer.nvidia.com/compute/cuda/9.0/Prod/local_installers/cuda_9.0.176_384.81_linux-run

chmod +x cuda_9.0.176_384.81_linux-run

sudo ./cuda_9.0.176_384.81_linux-run —override

press spacebar all the way...

Type ; accept

Do not install driver , press ; n

Install CUDA9 Toolkit , press; y

Use default location , press ; Enter

Create symbolic link , press ; y

Do not install samples , press ; y

sudo ln -s /usr/bin/gcc-6 /usr/local/cuda/bin/gcc
sudo ln -s /usr/bin/g++-6 /usr/local/cuda/bin/g++

Add path for next boot cycle ;

Modify file by using VI ;
vi ~/.bashrc

Get to bottom of file , press ; G

Add New lines , press ; o

Add new content to file (copy and paste text below ) ;
export LD_LIBRARY_PATH=/usr/local/cuda-9.0/lib64:$LD_LIBRARY_PATH
export PATH=/usr/local/cuda-9.0/bin:$PATH

Exit Insert mode , press ;

Esc

Save and exit VI, press ;

:wq!

Press ; Enter

sudo reboot

sudo apt-get install libcurl4-openssl-dev git build-essential libssl-dev -y

sudo apt-get install autotools-dev autoconf libcurl3 libcurl4-gnutls-dev -y

INSTALL XMR-STAK

sudo apt install libmicrohttpd-dev libssl-dev cmake build-essential libhwloc-dev
git clone https://github.com/fireice-uk/xmr-stak.git

mkdir xmr-stak/build

cd xmr-stak/build

sudo apt install ocl-icd-opencl-dev

cmake ..

make install

RUN XMR-STAK

Restart the mining rig either manually or via "sudo reboot"

cd xmr-stak/build/bin

sudo sysctl -w vm.nr_hugepages=128

./xmr-stak

If setting up for the first time you'll need your Graft wallet address and mining pool address.
For mining graft I use:
mine.graftpool.net:7777

With XMR-STAK you'll be able to mine all kinds of cryptonight coins but the following shows the set up for mining graft:

When started for the first time you'll get to choose which coin you wish to mine as such:

graft
- Pool address: e.g. pool.example.com:3333
mine.graftpool.net:7777
- Username (wallet address or pool login):
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
- Password (mostly empty or x):
x
- Rig identifier for pool-side statistics (needs pool support). Can be empty:
satmines  
- Does this pool port support TLS/SSL? Use no if unknown. (y/N)
n
- Do you want to use nicehash on this pool? (y/n)
n
- Do you want to use multiple pools? (y/n)
n
Pool configuration stored in file 'pools.txt'

And that guys, is that...

Now everytime you boot up the miner just open the terminal, change directory, enter the code to use huge pages so that you do not throw up memory errors and then run the miner with ./xmr-stak

Simple, hope this helps someone here as it took me roughly 4 days to set this up successfully for the first time.

Starting to mine is a big learning curve, but hopefully a simple guide like this will save you some unnecessary stress.