Build private Blockchain with Go-Ethereum
- Clone this repository anywhere on your machine:
$ get clone https://github.com/snlangsuan/ethereum-playground.git
- Run docker compose build
$ docker-compose up -d --build
- Access to node with Geth Javascript Console
$ geth attach node-01/geth.ipc
- Check peers in bootnode
> net.peerCount
2 // in this code must equal 2
- Send base coin to other account
> eth.sendTransaction({ from: <SOURCE_ADDRESS>, to: <DESTINATION_ADDRESS>, value: <NUMBER_IN_WEI> })