Transfer Ether Fund to MetaMask Account

This section describes how to transfer some Ether fund to the MetaMask account from my Ether private network.

With MetaMask wallet connected to the local "geth" node, I can transfer some Ether fund to the MetaMask account:

1. On MetaMask, get the account address by selecting "Copy Address to clipboard" from the "..." menu:

0xef6Ea9F8Bd78ac42Fb2617ba90846D5785BB320c

2. On "geth" console, check the balance of the coinbase:

> web3.fromWei(eth.getBalance(eth.coinbase),"ether")
10000215

3. Submit the following transfer:

> sender = eth.coinbase
"0x05d4e1a499775ce9d681abd50bda655c7b5ccb90"

> receiver = "0xef6Ea9F8Bd78ac42Fb2617ba90846D5785BB320c"
"0xef6Ea9F8Bd78ac42Fb2617ba90846D5785BB320c"

> amount = web3.toWei(100,"ether")
"100000000000000000000"

> personal.unlockAccount(sender)
Unlock account 0x05d4e1a499775ce9d681abd50bda655c7b5ccb90
Passphrase: ******
true

> eth.sendTransaction({from:sender, to:receiver, value:amount})
"0xd956cdd46736f06fc9ea846b4ae1d78086f259df0acfdf47fc18b18dc216dd08"

4. Start the miner and watch the pending transaction:

> miner.start(1)

> txid = eth.pendingTransactions[0].hash
"0xd956cdd46736f06fc9ea846b4ae1d78086f259df0acfdf47fc18b18dc216dd08"

> eth.getTransaction(txid).blockNumber
null
...

> eth.getTransaction(txid).blockNumber
44

5. Go back to MetaMask. I see 100 ETH showing up!

Transfer Ether Fund to MetaMask Account
Transfer Ether Fund to MetaMask Account

Table of Contents

 About This Book

 Introduction of Ethereum

 Ethereum Blockchain

 Ethereum Mist Wallet

 geth - Go Ethereum

 Deprecated: Testnet - Ropsten Network

 Private Ethereum Network

 64-Bit "geth" for Private Ethereum Network

 Private Network with Custom Genesis Block

 Transferring Funds between Ether Accounts

 MetaMask - Browser Based Ethereum Wallet

Using MetaMask Wallet

Transfer Ether Fund to MetaMask Account

 Send Ether from MetaMask to Private Network Failed

 Private Network ID Must Match "chainId"

 Send Ether from MetaMask to Private Network

 Process MetaMask Transfer Transaction

 Download and Read MetaMask State Logs

 View Account QR Code in MetaMask

 Export Private Key and Retire MetaMask

 Import Private Key into MetaMask Wallet

 Import Private Key to "geth" Account

 Getting Free Ether on Test Networks

 Managing Ethereum Account

 Mining Ether with Your Computer

 Archived Tutorials

 References

 Full Version in PDF/EPUB