วันอาทิตย์ที่ 26 พฤศจิกายน พ.ศ. 2560

Raspberry Pi Bitcoin Miner ( Monero XMR )







Raspberry Pi Bitcoin Miner ( Monero XMR )

What is Bitcoin Mining?

With Bitcoin, miners use special software to solve math problems and are issued a certain number of bitcoins in exchange. This provides a smart way to issue the currency and also creates an incentive for more people to mine.

Why is Monero Coin ( XMR ) ?

Unlike many cryptocurrencies that are derivatives of Bitcoin, Monero is based on the CryptoNote protocol and possesses significant algorithmic differences relating to blockchain obfuscation.
By providing a high level of privacy, Monero is fungible, meaning that every unit of the currency can be substituted by another unit. These units are indistinguishable from one another. This makes Monero different from public-ledger cryptocurrencies like Bitcoin, where addresses previously associated with undesired activity can be blacklisted and refused by network members.
https://getmonero.org/

Why use Raspberry Pi?

Raspberry Pi Board is an 32 bit processor and cpu miner software is 64 bit version only.So you must have to recompile it.
This is for education purpose only.


Prepare Raspberry Pi

Hardware
Raspberry Pi 3B Board with heat sink.
SD Card ( we use 16 GB scandisk ) need to format and install software to it.
Power Supply 5V. 2A

Raspberry Pi OS
We use Raspbian Stretch ( Build 2017-09-07 )  How to write image file to SD card


Raspberry Pi Tools
Putty ( SSH and telnet client for windows )  How to install Putty


Let's Start!!!

Do a SSH connection to your  Raspberry Pi.
We use Putty to connect Raspberry Pi and Login Username and password
( default user : pi , password : raspberry )



Become ROOT!!!
Command   sudo -i



Update Your Raspberry Pi
apt-get update -y



Install Some Library
apt-get install autoconf libcurl4-openssl-dev libjansson-dev openssl libssl-dev gcc gawk automake git -y



Clone cpuminer


git clone https://github.com/lucasjones/cpuminer-multi.git



Then Install 



cd cpuminer-multi


./autogen.sh



Optimize Build for Raspberry pi 3B Version

./configure CFLAGS="-Ofast -mtune=cortex-a53 -mcpu=cortex-a53 -mfloat-abi=hard -mfpu=neon-fp-armv8 -mneon-for-64bits -ffast-math" CXXFLAGS="-Ofast -mtune=cortex-a53 -mcpu=cortex-a53 -mfloat-abi=hard -mfpu=neon-fp-armv8 -mneon-for-64bits -ffast-math" make --always-make Now, Software and Library have install to raspberry pi already. Ready for mining.but you need monero wallet and pool in the next step.



Monero Wallet and Pool

As for mining, you’ll need to create a Monero wallet and find a pool to join. Mining in a pool means you get a small part of the reward for the mining you do. In our example we use MinerGate
https://minergate.com/


To start the mining we use the minerd command

./minerd -a cryptonight -o URL.Your.Pool:port -u worker.1 -p password

For My Example

./minerd -a cryptonight -o stratum+tcp://xmr.pool.minergate.com:45560 -u fongwe_a@hotmail.com -p x



The result
accepted 7.13 H/s at diff 500


On Minergate DashBoard


Mining Profit

On Minergate web has mining profitability calculator.
If Raspberry pi has hash rate are 10 H/s see table below.



Option Check CPU Temp
command
vcgencmd measure_temp



Option Check CPU Temp and CPU % on IoT ThingSpeak
http://raspberrypi4u.blogspot.com/2017/12/raspberry-pi-iot-thingspeak.html


Reference

Compile and Run as service Monero (XMR) CPU miner for RaspberryPi 2 and 3

http://awesomeprojectsxyz.blogspot.it/2017/10/tutorial-compile-and-run-as-service.html
https://minergate.com/
https://getmonero.org/


My Website

email : info@softpowergroup.net   Tel .081-6452400

Android Arduino IoT

20 ความคิดเห็น:

  1. Goldman Sachs Is AFRAID Of This!

    This Will Make Banks Obsolete!

    Cryptocurrencies such as Bitcoin have taken over the world by storm.

    Goldman Sachs and other central banks all over the world have realized they cannot fight against Bitcoin and other Alt coins.

    They are especially afraid that you’ll see this SHOCKING video.

    [Click Here To Watch The Video]

    This is 100,000 times bigger than the tech boom.

    Because it’s not only limited to US companies.

    So what does this mean?

    You can now make back the money back you didn’t get a chance to make during the late 90s and early 2000s tech boom.

    The good news is that the vast majority of people out there have no idea what this is.

    That’s why you can generate profits of over 10,000% ROI!

    Just watch this shocking video and learn how you too can do it!

    [Click Here To Watch The Video]

    Speak soon!

    [Ana]

    ตอบลบ
  2. How many H/S total when you use 4 cores???

    ตอบลบ
  3. Thanks for sharing this post. We are launching a brand new cryptocurrency - NewLevelCoin and its ICO Launch on 10th Feb 2018. Have a glance of New Level Coin

    ตอบลบ
  4. The timely and precise delivery of information enables you to make the best trading decisions. Once you’ve identified the cryptocurrency you wish to invest in you can quickly and easily take advantage of its price by going to FXBTrading.com/ and make your desired trade instantly.

    ตอบลบ
  5. It's important to pick a broker with a commission structure that is best for the type and the sum of transactions that you'll be making because, not all brokers charge their commissions in just the same manner. Learn about Indicators Discussion - METATRADER FORUM - Forex Lasers Forum on forexlasers.com.

    ตอบลบ
  6. You probably saw how Bitcoin increased over 900% over the course of last year.

    It was wild but not totally unprecedented if you’d been watching cryptocurrency over the last several years.

    And here’s the crazy thing:

    There are many other coins that still have tons of room to grow.

    You may have heard of Ethereum, Litecoin, Ripple, and others but there are more coins and many more opportunities -

    Follow the link below to get the full story.

    ==> https://cryptocrusher.net?46df4gsd4f

    ตอบลบ
  7. Are you thinking about investing in Bitcoin?
    Then you need to read the information contained in this report.
    There is a paradigm shift coming that is going to make Bitcoin look like old news.
    Something so new and transformative that it may revolutionize the global economy.
    Yes, Bitcoin is STILL an incredible opportunity.
    But it’s just the beginning.
    These new coins could deliver even bigger gains and profit.
    Follow the link below to learn how.
    https://cryptocrusher.net?45164c4c

    ตอบลบ
  8. You probably saw how Bitcoin increased over 900% over the course of last year.
    It was wild but not totally unprecedented if you’d been watching crypto currency over the last several years.
    And here’s the crazy thing:
    There are many other coins that still have tons of room to grow.
    You may have heard of Ethereum, Litecoin, Ripple, and others but there are more coins and many more opportunities -
    Follow the link below to get the full story.
    https://cryptocrusher.net?46df4gsd4f

    ตอบลบ
  9. You’ve probably seen a lot lately about Bitcoin including speculation that it may drop in the future.
    There are thousands of new crypto-millionaires
    But will people continue to get rich investing in cryptocurrency?
    Follow the link below to read the full report and find out what the future has in store
    AND how you can profit in the months and years to come.
    https://cryptocrusher.net?fsda1a8491vas

    ตอบลบ
  10. Thanking you. Please keep on updating us more and more details and information about Cryptocurrency.
    Thanks for sharing trading platforms for cyrptocurrency Monero

    ตอบลบ
  11. Most efficient bitcoin miner antminer S9 hydro Specs & S9j Comparison with
    detail bitmain cryptocurrency mining companies leading exporter firms hashrate

    Most Efficient Bitcoin Mining Antminer S9

    Get this mining Machine with Free shipping

    ตอบลบ
  12. If you want to earn good money, here is an excellent site where you can get acquainted with this business. But my promo code 3DP5DZ Will give a good bonus and other trivia to you https://flymining.cloud/

    ตอบลบ
  13. Most efficient bitcoin miner with low power comumption and highly productive btc generating device. You can will enjoy best rate of return on your investmnet. Order this amazing product now

    ตอบลบ
  14. hi
    me and friend want to mine bitcoin by orange pi one
    but have error for device and another
    please help me to config
    thanks

    ตอบลบ
  15. hi
    me and friend want to mine bitcoin by orange pi one
    but have error for device and another
    please help me to config
    thanks

    ตอบลบ
  16. Predetermined the 1 hour you want to boost the complete quantity of the sum to keep the world. For more ideal details about forex no deposit bonus, pop over to these guys.

    ตอบลบ