Skip to content

Latest commit

 

History

History
14 lines (10 loc) · 544 Bytes

File metadata and controls

14 lines (10 loc) · 544 Bytes

Docker geth developer node

Quick docker setup for a privatechain node that auto mines

Uses: https://github.com/amacneil/gethdev with a fix since for the initial run without a coinbase account (Will be rolling my own for customization)

Docker

docker run --name=geth -p 127.0.0.1:8545:8545 -d connormac/geth-dev-node

Unlocking accounts

The easiest is to just unlock the coinbase account indefinetly. To unlock:

  1. docker exec -it geth /bin/sh
  2. geth attach "/tmp/geth.ipc"
  3. web3.personal.unlockAccount(eth.coinbase, '', 0)