A Blockchain project of a decentralized password manager 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 APP AS YOUR MAIN PASSWORD MANAGER ⬅️
Because this is just a basic app and so far does not contain rich and robust security features.
- Node Js
- NPM
- 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/urumat/master2024-dePass.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
- 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_BASESEPOLIA_RPC_URL=""
Go to backend 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
BASE_SEPOLIA_RPC_URL=""
BASE_SEPOLIA_CONTRACT_ADDRESS=0xb87cDe7cC8abF412dC4c38255593bCEbE96cb241
MONGO_URI=mongodb://localhost:27017/logsDB
Currently we 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:
- Install Mongo DB
sudo apt update
sudo apt upgrade
wget -qO - https://www.mongodb.org/static/pgp/server-6.0.asc | sudo apt-key add -
echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/6.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-6.0.list
sudo apt update
sudo apt install -y mongodb-org
sudo mongod --dbpath /var/lib/mongodb --bind_ip 0.0.0.0
- If using Ubuntu 22.04
wget -qO - https://www.mongodb.org/static/pgp/server-6.0.asc | gpg --dearmor | sudo tee /usr/share/keyrings/mongodb.gpg > /dev/null
echo "deb [ arch=amd64,arm64 signed-by=/usr/share/keyrings/mongodb.gpg ] https://repo.mongodb.org/apt/ubuntu jammy/mongodb-org/6.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-6.0.list
sudo apt update
sudo apt install mongodb-org
- Run Backend
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.