Difference between revisions of "Ethereum"

From ArchWiki
Jump to navigation Jump to search
(Clients: sytle fixes)
(Clients: Added basic use information for getting started with geth.)
Line 5: Line 5:
  
 
{{Expansion|Note several implementations exist in non-/AUR packages, configuration, tips, troubleshooting etc.}}
 
{{Expansion|Note several implementations exist in non-/AUR packages, configuration, tips, troubleshooting etc.}}
 +
===Ethereum-Go===
 +
The Ethereum `geth` package is Ethereum.org's Golang implemenation of their node, client, and optionally CPU Miner.
 +
 +
Create an account with `geth account new`.
 +
 +
The client can be started with `geth`, and it will proceed to download several gigabytes of blockchain data.
 +
 +
Optionally, start the client with `geth console` to get a javascript console for more meaningful interaction.  This console can then be attached-to from another terminal or remotely with `geth attach [hostname:port | defaults to localhost]`.
 +
 +
To check balances in the console or attach modes, use `web3.fromWei(eth.getBalance(eth.coinbase), "ether")`.
 +
 +
To start CPU mining, use `geth --mine`.  This is far less efficient than GPU mining, and ethereum.org doesn't recommend it.
 +
 +
====GPU Mining with geth====
 +
{{Expansion|There is a way to make a 3rd party Ethereum miner work with geth.}}
  
 
=== Ethereum Wallet ===
 
=== Ethereum Wallet ===

Revision as of 00:31, 24 October 2017

The Ethereum project provides an open-source, distributed, blockchain-based platform for so-called wikipedia:Smart contracts.

Clients

Tango-view-fullscreen.pngThis article or section needs expansion.Tango-view-fullscreen.png

Reason: Note several implementations exist in non-/AUR packages, configuration, tips, troubleshooting etc. (Discuss in Talk:Ethereum#)

Ethereum-Go

The Ethereum `geth` package is Ethereum.org's Golang implemenation of their node, client, and optionally CPU Miner.

Create an account with `geth account new`.

The client can be started with `geth`, and it will proceed to download several gigabytes of blockchain data.

Optionally, start the client with `geth console` to get a javascript console for more meaningful interaction. This console can then be attached-to from another terminal or remotely with `geth attach [hostname:port | defaults to localhost]`.

To check balances in the console or attach modes, use `web3.fromWei(eth.getBalance(eth.coinbase), "ether")`.

To start CPU mining, use `geth --mine`. This is far less efficient than GPU mining, and ethereum.org doesn't recommend it.

GPU Mining with geth

Tango-view-fullscreen.pngThis article or section needs expansion.Tango-view-fullscreen.png

Reason: There is a way to make a 3rd party Ethereum miner work with geth. (Discuss in Talk:Ethereum#)

Ethereum Wallet

You can install the Ethereum Wallet via the mistAUR package or the GitHub releases.

If you use a GitHub release, download the most recent Linux one with the zip extension: Ethereum-Wallet-linux64-version.zip; unzip the file and run ./ethereumwallet.

If the application fails to start with error while loading shared libraries: libgtk-x11-2.0.so: cannot open shared object file: No such file or directory, install the GTK+ 2 library.

The wallet also implements an Ethereum node.