A Blockchain project of a decentralized crypto wallet which can also be added as Chrome Extension.
Never share your passphrase or private keys with anyone and keep them in a safe place. Always test a new blockchain app using a testnet to make yourself sure and avoid any issues later on.
The purpose of this project is just to practice and get blockchain development experience.
➡️ DO NOT USE THIS WALLET AS YOUR MAIN WALLET ⬅️
Because this is just a basic wallet which can recieve/send transactions and so far does not contain rich and robust security features.
- Node Js
- NPM
- Moralis Account
- Alchemy or Infura Developer Account
- React Js - Frontend
- Node Js - Backend
- Ethers Js
- Express Js
- Download or clone the repository using:
git clone https://github.com/alimazhar4/crypto-wallet-browser-extension.git
- Navigate to the backend folder and install dependencies:
cd backend
npm install
- Do the same for mwallet folder (frontend) :
cd ..
cd mwallet
npm install
- Make a .env file in the backend folder and paste your Moralis Web3 API Key at the end:
MORALIS_KEY= <your_moralis_api_key_here>
If you don't have a Moralis Account, you can make one at https://admin.moralis.io
- Go to mwallet directory now and make a .env file there as well and paste RPC URLs from your Alchemy or Infura. These RPC URLs are necessary to send transactions
REACT_APP_ETHEREUM_RPC_URL=""
REACT_APP_MUMBAI_RPC_URL=""
REACT_APP_SEPOLIA_RPC_URL=""
Currently I have only added these networks. You can add as many EVM compatible blockchains as you want.
- Navigate to the backend directory and do the following in terminal:
node index.js
- Now navigate to the mwallet (frontend) directory and dev start the application:
npm start
- Now if everythings right, make a production build of the mwallet directory by running:
npm run build
The build folder wil be created in the mwallet directory
- Go to Google Chrome (or any of your chromium browser) and open extensions from settings.
- Turn on the developer mode and Load Unpack the build folder created after step 8 above.