This project demonstrates how to integrate the MetaMask wallet into a ReactJS application for sending Ethereum transactions. It utilizes ethers.js and web3.js libraries to facilitate blockchain interactions.
- MetaMask Wallet Connection: Users can connect their MetaMask wallet to the application.
- Send Ethereum Transactions: Facilitates sending Ethereum directly through the user interface.
- ReactJS Framework: Built using the latest ReactJS features for a responsive and interactive user experience.
- Node.js
- npm or yarn
- MetaMask Extension installed in your browser
- Clone the repository
git clone <repository-url> - Navigate to the project directory
cd <project-directory> - Install dependencies
npm install
To run the application locally:
npm start
This will start the React application on localhost:3000.
- Click on the 'Connect to MetaMask' button in the application.
- A MetaMask prompt will appear asking for permission to connect to your wallet.
- Once connected, your wallet address and balance will be displayed.
- Enter the recipient's Ethereum address.
- Input the amount of Ethereum to send.
- Click 'Send' to initiate the transaction.
- Confirm the transaction in the MetaMask popup.
- ReactJS
- ethers.js
- web3.js
Distributed under the MIT License. See LICENSE for more information.
Haris Muhamamd Imran - harisimran7857@gmail.com