Web3 Transaction App is a JavaScript application designed to interact with the Ethereum blockchain. It enables users to connect their wallets, check balances, send transactions, and view transaction history.
- Connect Wallet: Connect your wallet to interact with the Ethereum blockchain.
- Switch testnet: Switch between Goerli and Sepolia testnets.
- Check Balance: View the balance of your Ethereum account.
- Send Transaction: Send transactions to other Ethereum addresses.
- View Transaction History: Display a list of transactions sent from your wallet.
-
Clone the repository:
git clone https://github.com/G-jacobsson/web3-block-scanner.git
-
Navigate to the project directory:
cd web3-block-scanner
-
Install dependencies:
npm install
To use the Web3 Transaction App in desktop browser:
- Ensure you have an Ethereum wallet set up as a plug-in, such as MetaMask.
- Open the application in your preferred web browser, i.e. with VS code Live Server extention.
- Connect your wallet using the provided interface and switch between Goerli and Sepolia testnets.
- Check your balance, send transactions, and view transaction history as needed.
To use the Web3 Transaction App with the MetaMask Mobile App:
- Log in to your MetaMask Mobile App.
- Make sure to check which network you are on. For test, connect to Sepolia or Goerli Testnet.
- Go to the broswer tab and enter
- To use the application, press connect, choose your account (if several), then check balance. Account balance will be displayed.
- Enter amount you want to send, then enter an account address for reciever.
- Press send. You have to confirm or decline the transaction.
- A confirmed transaction will be displayed.
To run tests for the Web3 Transaction App:
-
Ensure you have followed the installation steps.
-
Open a terminal and navigate to the project directory if you haven't already.
-
Run the following command:
npm test
This will execute the tests and display the results in the terminal.