A full-stack decentralized application (DApp) built to revolutionize microfinance using blockchain technology. This platform allows borrowers to request loans and lenders to approve and monitor loans transparently using smart contracts on Ethereum. Built with Solidity, Hardhat, Node.js, Next.js, Vite, and styled using Tailwind CSS.
ethers.js
git clone https://github.com/cbeAbishek/Microfinance.git
cd Microfinance
.env
FileCreate a .env
file in the root of the project and add the following:
ETHERSCAN_API_KEY=your_etherscan_api_key
SEPOLIA_RPC_URL=https://eth-sepolia.g.alchemy.com/v2/your-alchemy-key
PRIVATE_KEY=your_wallet_private_key
NEXT_PUBLIC_CONTRACT_ADDRESS=deployed_contract_address_here
npm install hardhat @openzeppelin/contracts ethers @nomicfoundation/hardhat-toolbox dotenv
⚠️ If you run into installation errors due to missing packages, install them individually and retry the command.
npx hardhat compile
npx hardhat run scripts/deploy.js --network sepolia
npm run dev
Visit your DApp at http://localhost:3000
Add preview images here like screenshots Landing page
Profile
Lender Panel
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.