Create Second Ether Account

This section describes how to create the second Ether account on 'geth' node.

Since my private Ether network is properly running and my Ether account is getting more and more Ether money from my mining work, I can create more Ether accounts and learn how to transfer funds.

1. Create the second Ether account with the personal.newAccount() method on the "geth" JavaScript console:

C:\>"\Program Files\Geth\geth" 
   --datadir \herong\Ethereum\personal console 2>> geth-personal.log

Welcome to the Geth JavaScript console!

> eth.accounts
["0x05d4e1a499775ce9d681abd50bda655c7b5ccb90"]

> personal.newAccount()
Passphrase: ******
Repeat passphrase: ******
"0x485410d2e7b8bfb6f78e5e5acf7d1057cb853fce"

> eth.accounts
["0x05d4e1a499775ce9d681abd50bda655c7b5ccb90", 
 "0x485410d2e7b8bfb6f78e5e5acf7d1057cb853fce"]

2. Confirm key store files of both Ether accounts:

C:\>dir \herong\Ethereum\personal\keystore
UTC--2018-03-04T19-19-47.389227400Z--05d4e1a499775ce9d681abd50bda655c7b5ccb90
UTC--2018-03-04T20-01-47.997345200Z--485410d2e7b8bfb6f78e5e5acf7d1057cb853fce

3. Check balances of both accounts:

> web3.fromWei(eth.getBalance(eth.accounts[0]),"ether")
10000055

> web3.fromWei(eth.getBalance(eth.accounts[1]),"ether")
0

Okay, I have two Ether accounts on my private Ethereum network. See the next tutorial on how to send Ether fund from one account to another.

Last update: 2018.

Table of Contents

 About This Book

 Introduction of Ethereum

 Ethereum Blockchain

 Ethereum Mist Wallet

 geth - Go Ethereum

 Testnet - Ropsten network

 Private Ethereum Network

 64-Bit "geth" for Private Ethereum Network

 Private Network with Custom Genesis Block

Transferring Funds between Ether Accounts

Create Second Ether Account

 Send Ether from One Account to Another

 Verify Ether Fund Transaction

 Verify Pending Transactions

 View Transaction Receipt

 MetaMask - Browser Based Ethereum Wallet

 Managing Ethereum Account

 ethereumfaucet.info - Mining Ether with Browser

 References

 PDF Printing Version