Translate

mercoledì 24 febbraio 2016

COME SI FA IL MINING IN ETHEREUM ? ISTRUZIONI PASSO PASSO

Il mining nel contesto di Ethereum può essere eseuguito da normali computer, e non richiede la potenza di calcolo specializzata che invece richiede Bitcoin, pertanto fare mining su Ethereum sarà più conveniente e accessibile alle masse. Chiunque abbia in esecuzione il software del mining client di Ethereum sul proprio computer può diventare un minatore di Ethereum, quasi come BitTorrent permette a qualsiasi utente di condividere apertamente i propri file multimediali. Questa è una buona strategia, perché rende Ethereum più accessibile, e non eccessivamente dipendente da costose piattaforme di mining. Ciò significa anche che, a differenza Bitcoin, il funzionamento di Ethereum non dipende dall'accumulazione di una potenza fenomenale di mining .

Fatte le debite premesse siete pronti per iniziare :



Part 1 - Installing GETH, Syncing the Blockchain & creating your own address!

Step 1: The first thing you need to do is go to this link download GethGeth is the program that communicates with theEthereum Network and acts as the a relay between your computer, its hardware and the rest of the ethereum network computers so if a block is mined by another computer your Geth program will pick it up and then pass on the new information onto your GPU or CPU for mining.
Step 2: You need to unzip the GETH file and move it to a location on your hard drive. In this case we'll move it to the hard drive, usually (C:) - which will make the next step easier. All you need to do is copy the file you have downloaded and unzipped and move it to the hard drive folder.
Step 3:Now you need to run the program you just downloaded. To do this you need to run Command Prompt. You can do this by searching in the search function in Windows for "CMD" and then clicking on it when it shows up.
 
Step 4: Command Prompt is now open - and can look terrifying to people who aren't familiar with it. The Command Prompt box usually has "C:\Users\Username>" showing in it - where Username is your username - so if you log into your computer with the username cryptocompare then the command prompt box will open with "C:\Users\cryptocompare>". You need to tell the computer to look in another place Type "cd /" into the newly opened command prompt. You should now see "C:\>", You have just used the "cd" command or "change directory" command to make command prompt look at the C:/ drive.
Step 5: You need to tell your Geth program to create a new account. As you have installed it in your user directory in Step 2 then it is just a simple case of typing in "geth account new" and then pressing return/enter. This should look like this "C:\>geth account new". 
Step 6: After hitting the enter button in Step 5, you will be asked to enter a password - N.B. you will not be able to see what you are typing in so type it carefully. This is the password that locks your account and keeps your Private key safe - if you lose this password you will lose all your Ether attached to the wallet held by that Private key. Once you have entered your password and confirmed it by entering it a second time you will have created a new account! Congratulations your about a third of the way there.
Step 7: You need to tell your Geth Program to start communicating with the rest of the Ethereum network. You do this by typing in "geth --rpc" - this should look like "C:\>geth --rpc". Press enter and the screen should start downloading theblockchain for Ethereum - at this point you are synchronising with the rest of the Ethereum network. This can take a while depending on your internet speed and the current size of the blockchain, anywhere between 20 min and multiple hours. Sometimes your firewall can block this process - just click allow access. Keep this cmd open, you will need this to run in the background in order to be able to mine. Also make sure you start mining only after your blockchain is synchronised, not before.

Part 2 - Installing the Mining Software and Starting to Mine

Step 8: Now you need to download Ethminer which makes your GPU or CPU run the hashing algorithm that is integral to securing the Ethereum network through proof of work. You can download this here and be sure to scroll down to the bottom of the page to get the right version - the latest and most up to date one is right at the end.
Step 9: Click on the download and click install. Your firewall can cause issues but just click allow if it does so - the same is true of windows that doesn't recognise or approve the software - tell windows its ok when asked. Click through the installation process until Ethminer is installed.
Step 10: You need to open up another command prompt as in step 4 - so your going to get two scary looking boxes. Simply click right click on your already open command prompt in the taskbar at the bottom of the page and click on command prompt in the menu that appears. A new command prompt should open with "C:\users\username>". This is the wrong place to look for etherminer so you need to tell it the right place to find it.
Step 11: Type "cd /" into the newly opened command prompt which should look like this "C:\users\username>cd /" and then press enter. You should now see "C:\>", You have just used the "cd" command or "change directory" command to make command prompt look at the C:/ drive - not your user file.
Step 12: Type in "cd prog" and then press the tab button. This should look like this "C:\>cd prog" and then press "tab" which will automatically complete the phrase for the closest fit found in the C: drive just like autotext does on your Iphone. After pressing "tab you should see "C:/> cd "Program Files"" and press enter which should give you a new line saying "C:\Program Files>".
Step 13: Type in "cd eth" and then press "tab" and then "enter". This is taking you into the newly installed Ethereum Mining software folder. And this should look like this after pressing tab "C:\Program Files>cd "Ethereum 1.0.1"" and pressing enter gives you "C:\Program Files\Ethereum 1.0.1>" - this will look slightly different depending on the version!
Step 14: Type in "cd release" and press "enter". This should give you the line as follows "C:\Program Files\Ethereum 1.0.1\Release>".
Step 15 GPU mining (only do this after your blockchain is synchronised): Type in "ethminer -G" and press "enter" and then you should start mining with your GPU after building a DAG file which can take around ten minutes. There can be problems at this point. For example the program might say that you have insufficient memory on your Graphics card to mine the with Ethereum's Ethash algorithm. If this is the case you can still mine with your CPU or go out and buy a new graphics card! You can see our graphics cards and compare their return on investments here and check out our guide on how to pick an ethereum mining graphics card here.
If you get an error message press "ctrl" and "c" together to cancel the process. Then you can either retry it - or alternatively move onto step 16 and mine with your CPU rather than your GPU.
Step 16 CPU mining: Type in "ethminer" and press "enter" and you will start mining with your CPU. Again you will need to create a DAG file the first time you do this which can take some time. But after that is complete your "Geth" program downloaded in step 1 should start talking to your "ethminer" program and you should start mining!
Step 17 Hashing Power benchmark: If you want to get an estimation of your hashing power you can run "ethminer -M"(for CPU mining) or "ethminer -G -M"(for GPU mining). The command will run and you should get a result similar to the image bellow.
Step 15 and 16 possible error: If you are not patient is "JSON-RPC problem. Probably couldn't connect. Retrying in 1..." As you can see in the screenshot bellow this happens when you don't have the blockchain synced yet.
Good luck and if there are any problems type a comment in at the bottom of this article and the community will help you get started! And that said if anyone has any ideas to make this guide simpler please let us know and we'll update it as soon as possible! And if this is too difficult you can always follow our other guide on how to cloud mine Ethereum - the no hassle easy method to mine ethereum!
P.S. If you like the desktop background in the last 2 pictures, you can get it from here: CryptoCompare Desktop Background. Also now that you are happily mining visit our Ethereum page if you want too keep up to date with the latest Ethereum price and market cap.
Fonte https://www.cryptocompare.com/mining/guides/how-to-mine-ethereum/
Infine per immagazzinare gli eth seguite passo passo le seguenti istruzioni
To join the pool start up ethminer using the -F flag and point it to the following address
http://eth1.nanopool.org:8888/YOUR_WALLET_ADDRESS/YOUR_WORKER_NAME/YOUR_EMAIL
YOUR_WALLET_ADDRESS - your ethereum address where the pool payments will be sent.
Do NOT use CONTRACT addresses for mining.
YOUR_WORKER_NAME - you can specify separated workers for your rigs (optional).
YOUR_EMAIL - email address to send worker`s inactivity notifications (optional). To use email notifications you must specify a worker.
Simple example:
ethminer.exe -F http://eth1.nanopool.org:8888/0x52bc44d5378309ee2abf1539bf71de1b7d7be3b5 -G
Example with worker:
ethminer.exe -F http://eth1.nanopool.org:8888/0x52bc44d5378309ee2abf1539bf71de1b7d7be3b5/miner1 -G
Example with worker and mail notifications:
ethminer.exe -F http://eth1.nanopool.org:8888/0x52bc44d5378309ee2abf1539bf71de1b7d7be3b5/miner1/youremail@somemail.com -G