Quick Guide on Solo GPU Mining Ethereum on Windows

14 Aug
2015

ethereum-solo-mining

AS requested here comes a simple guide on how to solo mine Ethereum Ether coins on a local system or within a network with multiple mining rigs. Note that at this point it is already pointless to try local solo mining with CPU only, and if you do not have enough GPU power available and you end up with some bad luck you may not be able to solve a block in a long time. Also our experience shows that geth may lockup at times when solo mining not sending new work from the current block, so do monitor your mining rigs carefully should you decide to try it. If you want to mine in a pool, then you might want to check out our other Quick Guide on How to Mine Ethereum on Windows. Before you get started you need to download the geth and ethminer Windows binaries from the link below, then just follow the instructions below:

Generating wallet address:
– Open the geth folder and run geth-console.bat to start Ethereum in console mode
– The software will need to download the blockchain data, it can take some time
– In the console type: personal.newAccount("password")
– Instead of password in the quotes above write your own password and remember it well
– In the console type: eth.accounts
– This will list your Ethereum wallet address
– To check your account balance you can type: web3.fromWei(eth.getBalance(eth.coinbase), "ether")

Sending Ether to another wallet:
– First you need to unlock your account by typing in the console the following (replace password with your password): personal.unlockAccount(eth.accounts[0], "password")
– In the console type: eth.sendTransaction({from: 'your_address', to: 'recipient_address', value: web3.toWei(1, "ether")})
– In the above code replace your_address and recipient_address with the respective addresses, the example is for sending 1 Ether, but you can change the value depending on your needs

Starting geth for solo mining:
– To listen for connections only on the local system type: geth --rpc --rpcaddr "localhost" --rpcport 8545
– To be accessible on the local network type: geth --rpc --rpcaddr "192.168.0.123" --rpcport 8545
– Make sure that for local LAN accessibility you replace the rpcaddr IP address to the one that of the machine geth is running on, the 192.168.0.123 is just an example
– To be accessible on the Internet type: geth --rpc --rpcaddr "x.x.x.x" --rpcport 8545
– Make sure that for Internet accessibility you replace the rpcaddr IP address to the one that of the machine geth is running on, the x.x.x.x in the example will not work, also make sure that the 8545 port (or another one you decide to use) is forwarded

Starting ethminer for solo mining:
– For local system mining with ethminer on the same PC that geth is running on use: ethminer -G
– For mining on a system in the Local LAN where geth is installed and running use: ethminer -G -F http://192.168.0.123:8545
– Make sure that for local LAN mining the IP address of the system geth is running on is set correctly on the miner, the 192.168.0.123 is just an example, also make sure that there is no Firewall blocking connections
– For using mining rig to mine over the Internet on a PC with geth running in your local LAN use: ethminer -G -F http://x.x.x.x:8545
– For Internet access make sure that instead of the x.x.x.x in the example you set your external IP address and that the 8545 port is properly forwarded between the external IP and the system running geth

It seems that ethpool has just stopped accepting new users due to high load on their server, they have posted the following message: “Due too the high hashrate the pool currently does not accept new miners!”. So if you still haven’t started mining there, existing users can continue using the service, so now may just be the right time to try out solo mining.

Download geth and ethminer compiled for Windows and ready to be used…



Other Similar Publications:

34 Responses to Quick Guide on Solo GPU Mining Ethereum on Windows

hello

August 14th, 2015 at 20:52

How do you send ether while you are mining?

admin

August 14th, 2015 at 21:21

To check your account balance you can type in the geth console: web3.fromWei(eth.getBalance(eth.coinbase), "ether")

To sending Ether to another wallet type in the geth console: eth.sendTransaction({from: 'your_address', to: 'recipient_address', value: web3.toWei(1, "ether")})

In the above code replace your_address and recipient_address with the respective addresses, the example is for sending 1 Ether, but you can change the value depending on your needs

hello

August 14th, 2015 at 21:25

thanks for replying but while you are mining you can’t type in the geth console. I’ve tried to open a new console with Geth Attach but it won’t let me unlock my account in that particular console. Am I doing something wrong. Thanks.

hello

August 14th, 2015 at 23:21

Adding rpc:http://localhost:8545 I can still get my balance as with Geth Balance but now when I try to send ether I just get a blinking cursor, not even a warning about not being able to unlock my account. Does it work for you guys?

admin

August 14th, 2015 at 23:28

You can then try running geth for solomining with: geth --rpcaddr "localhost" --rpcport 8545 console

hello

August 14th, 2015 at 23:50

Thanks! that worked. It’s still so clunky but it works. Do you know what happens if you run alethzero at the same time as geth, do they use the same account? Thanks for you help, I appreciate you and your site, I check it almost daily.

mercury

August 16th, 2015 at 04:45

Can’t transfer mined coins to Bittrex as version of geth linked does not support IBAN addresses where would i find a version of geth that supports this?

Basilisk

August 16th, 2015 at 22:30

I download the zip, I open the geth folder and run geth-console.bat to start Ethereum in console mode, but i don’t know if i’am downloading the blockchain data. I must be doing something wrong. I write “admin.chainSyncStatus” and this appear

blocksAvailable: 0,
blocksWaitingForImport: 0,
estimate: “0”,
importing: 0

Basilisk

August 16th, 2015 at 22:34

Only this appears

I0816 15:58:10.029740 2212 fdtrack.go:109] fd usage 0/0, tracked 12 [leveld
b:10 p2p:2]
I0816 15:58:25.030551 2212 fdtrack.go:109] fd usage 0/0, tracked 12 [leveldb:
10 p2p:2]
I0816 15:58:40.030437 2212 fdtrack.go:109] fd usage 0/0, tracked 12 [leveldb:
10 p2p:2]
I0816 15:58:55.030122 2212 fdtrack.go:109] fd usage 0/0, tracked 12 [leveldb:
10 p2p:2]
I0816 15:59:10.030985 2212 fdtrack.go:109] fd usage 0/0, tracked 12 [leveldb:
10 p2p:2]
I0816 15:59:25.030107 2212 fdtrack.go:109] fd usage 0/0, tracked 12 [leveldb:
10 p2p:2]
I0816 15:59:40.030179 2212 fdtrack.go:109] fd usage 0/0, tracked 12 [leveldb:
10 p2p:2]
I0816 15:59:55.030080 2212 fdtrack.go:109] fd usage 0/0, tracked 12 [leveldb:
10 p2p:2]
I0816 16:00:10.031311 2212 fdtrack.go:109] fd usage 0/0, tracked 12 [leveldb:
10 p2p:2]
I0816 16:00:25.030404 2212 fdtrack.go:109] fd usage 0/0, tracked 12 [leveldb:
10 p2p:2]
I0816 16:00:40.030037 2212 fdtrack.go:109] fd usage 0/0, tracked 12 [leveldb:
10 p2p:2]
I0816 16:00:55.031090 2212 fdtrack.go:109] fd usage 0/0, tracked 12 [leveldb:
10 p2p:2]
I0816 16:01:10.029700 2212 fdtrack.go:109] fd usage 0/0, tracked 12 [leveldb:
10 p2p:2]
I0816 16:01:25.030065 2212 fdtrack.go:109] fd usage 0/0, tracked 12 [leveldb:
10 p2p:2]
I0816 16:01:40.029687 2212 fdtrack.go:109] fd usage 0/0, tracked 12 [leveldb:
10 p2p:2]
I0816 16:01:55.030604 2212 fdtrack.go:109] fd usage 0/0, tracked 12 [leveldb:
10 p2p:2]
I0816 16:02:10.030210 2212 fdtrack.go:109] fd usage 0/0, tracked 12 [leveldb:
10 p2p:2]
I0816 16:02:25.029849 2212 fdtrack.go:109] fd usage 0/0, tracked 12 [leveldb:
10 p2p:2]
> I0816 16:02:40.029882 2212 fdtrack.go:109] fd usage 0/0, tracked 12 [leveld
b:10 p2p:2]
> I0816 16:02:55.030080 2212 fdtrack.go:109] fd usage 0/0, tracked 12 [leveld
b:10 p2p:2]
I0816 16:03:10.031191 2212 fdtrack.go:109] fd usage 0/0, tracked 12 [leveldb:
10 p2p:2]

admin

August 17th, 2015 at 11:02

When you run geth in a few seconds it should start connecting to peers and downloading or updating the blockchain data, maybe there are some trouble connecting to peers to download the data. If you are using a firewall you might check to see that it is not blocking your connections for example. You can also try running the following command from the console admin.peers to see if you are actually connected to some peers.

Jozef

August 17th, 2015 at 14:14

When i type:

geth --rpc --rpcaddr "localhost" --rpcport 8545

i get next message:

(anonymous): Line 1:8 Unexpected identifier (and 2 more errors)

admin

August 17th, 2015 at 14:31

Jozef, should work just fine, mind the quotes and double dashes, have you tried by running the included BAT file: geth-solomine.bat

Basilisk

August 17th, 2015 at 17:57

Thanks for you reply. I checked the windows firewall and all is fine. There is another way to verify what’s going on? Another thing, when I click web3.fromWei (eth.getBalance (eth.coinbase), "ether") appears 50, does that mean? 50 ether or less?

admin

August 17th, 2015 at 18:23

The amount you are returned after executing the above command shows the number of coins you have in your wallet.

Nidhal

August 18th, 2015 at 10:41

Hi Man, Firstly thank you for this awesome TUTO , You told as that he will take same time to download the data when you opened for the first time , Now more than 8 hours and it still doing this … it’s everything okay ?

d 0 ignored) including 0 txs in 2.0198ms. #105375 [91bf02e8 / 91bf02e8]
I0818 10:26:42.307746 7096 chain_manager.go:658] imported 0 block(s) (0 queue
d 2 ignored) including 0 txs in 3.0316ms. #105375 [7da94827 / 2f867947]
I0818 10:26:48.147718 7096 fdtrack.go:109] fd usage 0/0, tracked 49 [leveldb:
38 p2p:11]
I0818 10:27:03.146553 7096 fdtrack.go:109] fd usage 0/0, tracked 49 [leveldb:
38 p2p:11]
I0818 10:27:08.197250 7096 chain_manager.go:658] imported 1 block(s) (0 queue
d 0 ignored) including 7 txs in 12.0089ms. #105376 [1f4c47f3 / 1f4c47f3]
I0818 10:27:17.722391 7096 chain_manager.go:658] imported 0 block(s) (0 queue
d 2 ignored) including 0 txs in 3.032ms. #105376 [2f867947 / 1f4c47f3]
I0818 10:27:18.146482 7096 fdtrack.go:109] fd usage 0/0, tracked 49 [leveldb:
38 p2p:11]
I0818 10:27:33.145743 7096 fdtrack.go:109] fd usage 0/0, tracked 49 [leveldb:
38 p2p:11]
I0818 10:27:48.145771 7096 fdtrack.go:109] fd usage 0/0, tracked 49 [leveldb:
38 p2p:11]
I0818 10:27:56.099169 7096 chain_manager.go:658] imported 1 block(s) (0 queue
d 0 ignored) including 2 txs in 6.9874ms. #105377 [fd380a1a / fd380a1a]
I0818 10:28:01.292950 7096 chain_manager.go:658] imported 1 block(s) (0 queue
d 0 ignored) including 31 txs in 56.0901ms. #105378 [497396d4 / 497396d4]
I0818 10:28:02.046147 7096 chain_manager.go:658] imported 0 block(s) (0 queue
d 2 ignored) including 0 txs in 4.002ms. #105378 [fd380a1a / 497396d4]
I0818 10:28:03.146607 7096 fdtrack.go:109] fd usage 0/0, tracked 49 [leveldb:
38 p2p:11]
I0818 10:28:05.732434 7096 chain_manager.go:658] imported 0 block(s) (1 queue
d 0 ignored) including 0 txs in 3.021ms. #105379 [3a50734f / 3a50734f]
I0818 10:28:06.478406 7096 chain_manager.go:658] imported 0 block(s) (0 queue
d 1 ignored) including 0 txs in 3.0137ms. #105378 [497396d4 / 497396d4]
I0818 10:28:06.488010 7096 chain_manager.go:658] imported 1 block(s) (0 queue
d 0 ignored) including 0 txs in 3.9925ms. #105379 [3a50734f / 3a50734f]
I0818 10:28:18.146560 7096 fdtrack.go:109] fd usage 0/0, tracked 49 [leveldb:
38 p2p:11]
I0818 10:28:23.522637 7096 chain_manager.go:658] imported 1 block(s) (0 queue
d 0 ignored) including 0 txs in 3.0021ms. #105380 [559f8b86 / 559f8b86]
I0818 10:28:24.006669 7096 chain_manager.go:658] imported 1 block(s) (0 queue
d 0 ignored) including 0 txs in 2.9893ms. #105380 [21b570a1 / 21b570a1]
I0818 10:28:25.388934 7096 chain_manager.go:658] imported 0 block(s) (1 queue
d 0 ignored) including 0 txs in 3.0193ms. #105381 [15a5c527 / 15a5c527]
I0818 10:28:25.449581 7096 chain_manager.go:658] imported 0 block(s) (1 queue

admin

August 18th, 2015 at 11:02

Nidhal, yes it is normal, it s just continuing to download new blocks when they become available.

sincity44

August 20th, 2015 at 23:55

I have two computers how to make them mine solo .what i need to do

sincity44

August 20th, 2015 at 23:57

can i use one geth or i need two for every pc

admin

August 21st, 2015 at 09:18

No need to have the geth client running on both, only on 1 of the PCs and have ethminer connecting to geth from both systems.

dimasw

August 28th, 2015 at 21:51

I started “gets –rpc –rpcassr “x.x.x.x” –rpcport 8545″
It’s OK.
Then I started “geth attach rpc:http://x.x.x.x:8545 console”
It’s OK
I write in console:
web3.fromWei(eth.getBalance(eth.coinbase), “ether”)
get the answer:
“Invalid response type (string)”
….

What am I doing wrong?

dimasw

August 28th, 2015 at 21:52

How do I know if a block is found?

admin

August 28th, 2015 at 22:04

dimasw, you better use the provided geth-solomine-console.bat and run another instance with a console as the attach does not seem to work well. When checking your balance you will know that you have solved a block by the increase in the amount you have, or you can just enter your wallet address in a block explorer.

dimasw

August 28th, 2015 at 22:30

I have 3 accounts.
I started eth-solomine-console.bat

what is account is mining?

dimasw

August 28th, 2015 at 22:33

Sorry. I make syntax error.
web3.fromWei(eth.getBalance(eth.coinbase), “ether”) – it’s right

dimasw

August 28th, 2015 at 22:53

1. How to get Ethereum wallet address from console? Copy-Past not work.
2. My balance is 80. but it’s impossible!

dimasw

August 29th, 2015 at 00:16

how to synchronize?

dimasw

August 29th, 2015 at 00:31

peerCount:0

admin

August 29th, 2015 at 11:34

You need to wait a bit for peers to connect and the synchronization to start, you should see that noted in the console.

yannick

March 8th, 2016 at 12:40

Hello !

First thanks for all the info you provide on this site.

Will this tutorial, and the executables provided, still be good for the Homestead fork ??

Regards,
Yannick

admin

March 8th, 2016 at 13:03

Yes, the included client has been updated to the latest version with support for Homestead.

robert

April 5th, 2016 at 17:56

C:\Program Files\Ethereum>eth-start.bat

C:\Program Files\Ethereum>eth –frontier -i -b -v 1
Invalid argument: -i

C:\Program Files\Ethereum>pause
Press any key to continue . . .

Muhammad atif

April 11th, 2016 at 03:47

every time when system restart should i sync with rpc server an it take full time to sync as it take first time

Phillipp

May 4th, 2016 at 08:57

Hi when i type i get an error

geth --rpc --rpcaddr "localhost" --rpcport 8545

i get next message:

(anonymous): Line 1:8 Unexpected identifier (and 2 more errors)

my system is ubuntu

Aytug

June 2nd, 2016 at 14:26

How to set LAN accessibility correctly what do i have to type for IP?

Leave a Reply

Your email address will not be published. Required fields are marked *

top