This repository documents the steps for setting up the MetaMask wallet and interacting with a private Ethereum blockchain network using the SEED Labs Blockchain Emulator. The goal is to simulate account management, blockchain connection, and transaction execution in a controlled lab environment.
We demonstrate how to:
- Install MetaMask browser extension
- Connect MetaMask to a private Ethereum node
- Import blockchain accounts using a recovery phrase
- Send transactions between accounts
- View transaction details using EtherView
- Open Firefox in the SEED Labs virtual machine.
- Go to
Menu > Add-ons and themes
. - Search for MetaMask and install the extension by
danfinlay
. - ✅ Screenshot required: MetaMask successfully installed.
- Run the following command in the terminal to find Ethereum nodes:
docker ps | grep Eth
-
Log out or lock the current MetaMask account.
-
Click "Forgot Password" and select the "Import using Secret Recovery Phrase" option.
-
Use the following mnemonic phrase:
Install required packages:
pip3 install web3==5.31.1 docker
Use a Python script with web3
to query balances of Ethereum addresses.
Use Python to:
- Construct transactions
- Sign using private keys
- Send transactions to the blockchain
- Wait for confirmation and print the transaction receipt
Use the Geth console to retrieve the balance of an Ethereum account.
Send Ether between accounts directly using the Geth JavaScript console.
Unlock the sender account and specify "from"
and "to"
fields explicitly to send a transaction.
- Add a full node to the Ethereum network.
- Connect it to existing nodes to sync the blockchain.
- Configure peers and monitor the synchronization status.
By completing this lab, you will:
- Understand blockchain account and node interaction.
- Gain practical skills using MetaMask, Python scripting (
web3.py
), and Geth. - Learn to deploy, interact, and manage Ethereum accounts and transactions.