This is a beginner-friendly decentralized application (DApp) for saving and retrieving passwords. Deployed Netlify link https://dpass30.netlify.app/
To get this DApp running, follow the steps below:
- install dependencies in both root directory and client directory
npm install
- Sign up Alchemy Account and create an app and select network as sepolia
- install dotenv
npm install dotenv
- create a .env file in the client folder
ALCHEMY_API_URL="<your Aclchemy api url>"
PRIVATE_KEY="<your Metamask private key>"
- compile contract
npx hardhat compile
- Deploy contract on sepolia via hardhat
npx hardhat run --network sepolia scripts/deploy.js
- copy paste the Deployed address in App.jsx
- run the project
npm run dev
Incase if project is not running install these dependencies
npm install react-hook-form
npm install ethers@5