Skip to content
pranavattardePublic

About

Web3 microfinance prototype with borrower and lender workflows, trust scoring, wallet onboarding, and Sepolia lending contracts.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

5 Commits

Folders and files

Repository files navigation

PanCred

PanCred is a Web3 microfinance prototype that connects borrower and lender workflows. The application combines wallet onboarding, liveness checks, trust scoring, and smart contracts for lending on the Ethereum Sepolia test network.

Open the testnet application

Project structure

Component Responsibilities
Frontend React and Vite application for onboarding, profile, borrowing, and lending
Backend Express API with MongoDB, Redis, and services for matching and trust scoring
Smart contracts Solidity contracts, Hardhat scripts, and tests for loan agreements and identity
Deployment workflow AWS deployment configuration

Run locally

Use Node.js 20, npm, MongoDB, and Redis. From the repository root, install and start the backend in one terminal.

cd backend
npm ci

Add a backend/.env with MONGO_URI, REDIS_URL, and the integration settings for the features you’re using. Configure a testnet RPC and a dedicated development wallet for blockchain workflows. Start the API with npm run dev.

In a second terminal, start the frontend.

cd frontend
npm ci
npm run dev

Open the local URL printed by Vite. To run the contract tests from a separate terminal:

cd blockchain
npm ci
npx hardhat test

License

MIT

About

Web3 microfinance prototype with borrower and lender workflows, trust scoring, wallet onboarding, and Sepolia lending contracts.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages