It Is All About BTC, LTC, ETH, DOGE, KAS mining as well as other alternative crypto currencies
Our previous guides regarding mining and using Ethereum’s Ether (ETH) coins were based on the Go Ethereum implementation (source) as we find it easier to be used than the C++ implementation of the Ethereum client (source) even though we are actually using ethminer for the actual mining which is a part of cpp-ethereum and not go-ethereum package. The Go Ethereum implementation (geth) only comes with built in support for CPU mining, while the C++ implementation (eth) contains support for OpenCL GPU mining both as a part of the client as well as a separate miner (ethminer) and there is also a fork of ethminer with CUDA support available (source).
So now it is time to get started with using the cpp-ethereum (eth) client for creatng a local wallet and for mining both solo on a local system or on an Ethereum mining pool using eth and ethminer. Our guide is for using eth and ethminer on Windows with binaries provided only for that OS (version 0.9.40 64-bit), though the usage should be the same or very similar on other operating systems, but you will need to compile or get binaries for the respective OS. We have tried to make the guide easy and simple to follow, so that you can begin using Ethereum and mining Ether in just a couple of minutes.
First we need to create a local wallet and this is the first thing you will do when you run the eth client software. But before that a word of warning, if you have a working geth installation you should know that both Ethereum clients will use the same folder for the blockchain data by default, though the contents of the folder will not be compatible. The key files that are needed for you Ethereum wallet however will be stored in different places and each client will use ts own wallet, but we’ll get back to that in a minute. If you want to have two independently working installations of geth and eth, then you might want to use the --datadir
parameter for geth or the --db-path
for eth to specify different folder for the blockchain data for one or for both applications.
To generate a wallet with eth:
– Run the providedeth-start.bat
file and follow the on screen instructions
– You will be asked to enter a master password, this you need to remember as it will be used to encrypt your wallet and you will be asked the password each time you run the client
– The wallet address you will get will be shown under Transaction signer and Mining Benefactor (marked in red in the screenshot above)
– You can write down that address, just add0x
in front to indicate that it is a hex address foe Ethereum
– Don’t worry, you will be able to get your address listed later on should you not write it down now
– Once the wallet address is generated the client will start to sync the blockchain, this could take some time, especially the first run when there is no data downloaded
– During the first synchronization of the blockchain you might see errors such asDISABLE: Disabling capability ' eth '. Reason: Invalid genesis hash
, do not be worried by these, they should stop appearing in a bit
To backup your wallet keys with eth:
– The default datadir for eth is %USERPROFILE%\AppData\Roaming\Ethereum
– However unlike with geth with the eth client the key files are not stored inside the datadir
– You can find the wallet key files inside %USERPROFILE%\AppData\Roaming\Web3\keys
– Just backup the key files and on new installation you can just copy them back to make things work
– Make sure that you remember the password used to encrypt the wallet keys, otherwise you will not be able to access them
With the eth client you would need to run a separate executable in order to get access to the console and be able to type in commands such as to see your wallet address or balance or to send coins to someone. In the geth client for example the console is built in and you can access it if you invoke it through a command line parameter when running the geth client. With the eth client you need to have the client running with eth-start.bat
and then you need to run the eth-console.bat
to access the console. You should run the console via the provided BAT file instead of directly through ethconsole.exe even though there are no parameters being sent via the batch file, the reason for that is that if you run the EXE file directly you will not be able to copy and paste into the console.
Another difference in the eth client console as opposed to the geth client is that here there are no shortcuts that can save you time when typing commands, you need to type the full commands here in order for the eth console to do what you need. In the screenshot above you can see that we have typed eth.accounts
in the console to see the wallet address, but got an error, even though this command works just fine in the geth client’s console. This is because geth has the eth as a shortcut for web3.eth, but using the eth console you need to type the whole thing as there are no shortcuts, so typing web3.eth.accounts
will work, the same applies for other commands that use shortcuts that work just fine in the geth client as they will not work directly in the eth console.
Useful console commands for eth:
– To check your account address type in the console:web3.eth.accounts
– To check your account balance type in the console:web3.fromWei(web3.eth.getBalance(web3.eth.coinbase), "ether")
– To send Ether coins to someone type in the console:web3.eth.sendTransaction({from: 'your_address', to: 'recipient_address', value: web3.toWei(1, "ether")})
– In the above line of code make sure to set properly your address and the recipient’s address as well as the value you need to send, in the example above it is set to 1 Ether
Next up is mining with eth and ethminer, if you’ve followed our guides for using geth then you will probably already be familiar with the use of ethminer for solo mining as well as for pool mining. The pool mining part is the same here, but we are going to cover it anyway for the people that are new to using ethminer. The Windows binary package available for download below that you can use to get started contains eth as well as and ethminer for OpenCL and CUDA, do note that you can also use OpenCL on Nvidia GPUs and not only run them in CUDA mode. And while the geth client contains build in mining option that can only use the CPU, the eth client comes with a build in functionality for mining both with the CPU and OpenCL (the same mining functionality that is made available thorugh ethminer).
Getting started solo mining with eth and ethminer:
– First you need to make sure you are running the eth clint witheth-start.bat
– Then you need to run a second instance of eth in mining mode witheth-mine-local.bat
– The above example will work if both instances of eth are running on the same system, if you want to connect multiple miners on different machines to a single eth instance for solo mining you need to enter the ip address of the system running the eth client in the eth miner instances
– You can run ethminer instead of eth for solo mining by just replacing eth with ethminer, the mining command line remains the same for both and when the eth client is running in mining mode it behaves just like ethminer
Getting started pool mining with eth and ethminer:
– You can use the eth client in mining mode for pools as well, just runeth-mine-pool.bat
– To run ethminer mining in OpenCL mode in a pool you can use the provided examples for the currently working poolsethminer-ethpool.bat, ethminer-nanopool.bat, ethminer-ethereumpool.bat
The example BAT files contain the pool information, you will need to enter your wallet address as well as to modify the pool difficulty if the pool supports it (only nanopool does not). Have in mind that currently ethpool is not accepting new miners, so you will need to use some of the other two pools available if you are just starting with mining. You can also check our guides for pool mining with geth and ethminer as well as the other one for solo mining with geth and ethminer if you are interested and decide which one works for you better.
– Download eth and ethminer compiled for Windows and ready to be used…
Bitmain has announced that they have their 4th generation Bitcoin ASIC mining chips in the form of BM1385. The new BM1385 ASIC chip is apparently produced using 28-nanometer process by Taiwan Semiconductor Manufacturing Company (TSMC), capable of 32.5 GHS per chip at just 0.216 Watts of power usage per GHS with 0.66V core voltage. The BM1385 is probably going to be the most power-efficient Bitcoin mining chip ever released to public when it hits the market inside the upcoming AntMiner S7 miners that should be available pretty soon.
Since its founding in 2013, Bitmain has successively released three other generations of chips. The first was the BM1380, which utilized a 55 nanometer process node size. After that came the 28 nanometer BM1382, and then the 28 nm, semi-custom BM1384 chip. The new BM1385 chip is Bitmain’s first to feature a full custom design. This means that the chip engineers have to meticulously lay out each and every transistor inside the chip. This process requires significantly more time and effort than semi-custom chip designs, but can also result in faster processing, lower power consumption, and greater density of transistors. A well-designed full custom chip can attain massive performance gains over digital design and semi-custom design, but along with greatly increased investment required in engineer labor and time, there is a much higher risk that the chip will fail at tape-out – a very costly mistake. Bitmain concluded through internal research that a full-custom 28 nanometer chip could greatly outperform chips built on 14 and 16 nm process nodes without the use of full custom design techniques.
The BM1385 chip powered at 0.66V can attain a 32.5 gigahash per second hash rate with a power consumption of 0.216 watts per gigahash second. When compared to the BM1384, Bitmain’s newest generation of chip has a 45% greater hashrate, while simultaneously consuming 50% less electricity. This has potentially huge implications for the bitcoin mining industry, as it can significantly reduce electricity costs of miners. There are other Bitcoin ASIC manufacturers out there that claim to have better and more efficient solutions or that are working on such, however they will not be made available to end users like Bitmain will with their upcoming AntMiner S7 miners that will be based on the BM1385 chips. The AntMiner S7 Bitcoin miners are expected to be available in the third quarter of the year, so we should see them available by the end of next month. There is no word about expected specifications, aside from the fact that they will be based on the new chips and will be capable of 1 THS at just 230W power usage measured at the wall or with other words more than half the power usage of AntMiner S5 for the same hashrate.
The Bitcoin cloud mining company Genesis Mining has launched an interesting project called Life Inside a Bitcoin Mine that shows live video feeds from one of the company’s mining farms located in Iceland. The website currently has 3 different streaming webcams that you can check from inside the Iceland Bitcoin mining farm as well as some additional information and other interesting videos. Watching at the live streams from the Bitcoin farm you may quickly get that it is not very fun being inside a mining farm as nothing much is actually happening most of the time when everything is working just fine.
WHY A LIVESTREAM?
As many people don’t know how a mining farm looks and operates, we wanted to give everybody a clear idea about it and provide livestreams of a mining farm from Genesis Mining. Coupled with new, ongoing promotional events, we hope to make this a nice entertainment channel.
– To check out the Life Inside a Bitcoin Mine website and the live streaming video feeds…