Mining Ethereum with Mac: Beginner Guide

  1. macOS 10.10+
  2. Internet connection
  3. An Ethereum wallet (no worry, you can obtain one in Step 2)
  4. lots of patience (there are only 4 steps in this guide, be sure to read it through)
bash < (curl
brew tap ethereum/ethereum
brew install ethereum
geth account new
geth --syncmode="light" --cache=1024
geth console
INFO [12-27|16:05:44] Starting peer-to-peer node               instance=Geth/v1.7.3-stable/darwin-amd64/go1.9.2
INFO [12-27|16:05:44] Allocated cache and file handles database=/Users/miner/Library/Ethereum/geth/chaindata cache=128 handles=1024
INFO [12-27|16:05:44] Initialised chain configuration config="{ChainID: 1 Homestead: 1150000 DAO: 1920000 DAOSupport: true EIP150: 2463000 EIP155: 2675000 EIP158: 2675000 Byzantium: 4370000 Engine: ethash}"
INFO [12-27|16:05:44] Disk storage enabled for ethash caches dir=/Users/miner/Library/Ethereum/geth/ethash count=3
INFO [12-27|16:05:44] Disk storage enabled for ethash DAGs dir=/Users/miner/.ethash count=2
INFO [12-27|16:05:44] Initialising Ethereum protocol versions="[63 62]" network=1
INFO [12-27|16:05:44] Loaded most recent local header number=0 hash=d4e567…cb8fa3 td=17179869174
INFO [12-27|16:05:44] Loaded most recent local full block number=0 hash=d4e567…cb8fa3 td=17179869174
INFO [12-27|16:05:44] Loaded most recent local fast block number=0 hash=d4e567…cb8fa3 td=17179869174
INFO [12-27|16:05:44] Loaded local transaction journal transactions=0 dropped=0
INFO [12-27|16:05:44] Regenerated local transaction journal transactions=0 accounts=0
INFO [12-27|16:05:44] Starting P2P networking
INFO [12-27|16:05:46] UDP listener up self=enode://d121d375590c5d4f98ce8162d98667fa5808578237a11ae79192ed4a4c489010a754f115dffe7e0020677943984504a924e36a02ea86cf2ee25f80f91cbe4cf4@[::]:30303
INFO [12-27|16:05:46] RLPx listener up self=enode://d121d375590c5d4f98ce8162d98667fa5808578237a11ae79192ed4a4c489010a754f115dffe7e0020677943984504a924e36a02ea86cf2ee25f80f91cbe4cf4@[::]:30303
INFO [12-27|16:05:46] IPC endpoint opened: /Users/miner/Library/Ethereum/geth.ipc
Welcome to the Geth JavaScript console!
instance: Geth/v1.7.3-stable/darwin-amd64/go1.9.2
coinbase: 0x1ac992bbbb25d572506f0127b147f0ad89675097
at block: 4660759 (Sat, 02 Dec 2017 06:50:24 GMT)
datadir: /Users/miner/Library/Ethereum
modules: admin:1.0 debug:1.0 eth:1.0 miner:1.0 net:1.0 personal:1.0 rpc:1.0 txpool:1.0 web3:1.0
  1. Manage accounts
  2. Start transaction (transfer credits) between accounts
  3. MINING !
> miner.start(8)
INFO [12-27|17:38:38] Updated mining threads threads=8
INFO [12-27|17:38:38] Transaction pool price threshold updated price=18000000000
INFO [12-27|17:38:38] Starting mining operation
INFO [12-27|17:38:38] Commit new mining work number=1 txs=0 uncles=0 elapsed=292.546µs
> miner.stop()
> web3.eth.hashrate
  1. List Accounts
> eth.accounts
> eth.getBalance(eth.coinbase)
> personal.unlockAccount(eth.coinbase)
Unlock account 0x1ac992bbbb25d572506f0127b147f0ad89675396
> eth.sendTransaction({from:eth.coinbase, to: '0xe5476778d11e2128f66f44da8ceee956dacb3f4e', value: web3.toWei(1, "ether")})
> etm = eth.getBlock("latest").difficulty/web3.eth.hashrate;
> Math.floor(etm / 3600.) + "h " + Math.floor((etm % 3600)/60) + "m " + Math.floor(etm % 60) + "s";
1h 20m 30s
> exit




I write stuffs. Novels, programs, mobile apps, journal papers, etc.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium is Upgrading! What’s new?

Why Small Businesses Must Use COVID-19 as a Launch Pad to Get Into Cryptocurrency

New referral programme, new raffles and new emotions

Compensation for the loss of the vault due to position wear will be implemented on November 11…

Apply to Become A CoinEx Ambassador Agent to Earn Commission with Ease!

WORDCOIN — Blockchain based platform service

💾How to hide and store securely 24 words online — (Part 1)

Cryptoindex AI Daily Predictions and News for 02/19/2020🤖

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Raptor Kwok

Raptor Kwok

I write stuffs. Novels, programs, mobile apps, journal papers, etc.

More from Medium

Crypto market entered relief rally in March: What’s ahead? — CoinPanel Blog

Top 5 WAX Blockchain Games in April 2022!

Blue Alpha NFT — 101

For Beginners: NFT Resources