https://github.com/zachalam/creditverifier
https://github.com/zachalam/creditverifier
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/zachalam/creditverifier
- Owner: zachalam
- License: gpl-3.0
- Created: 2024-02-07T01:57:47.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-18T03:57:28.000Z (over 2 years ago)
- Last Synced: 2025-02-05T18:38:59.219Z (over 1 year ago)
- Language: TypeScript
- Size: 1.22 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CreditVerifier
## Prerequisite
- Install Noir
`curl -L https://raw.githubusercontent.com/noir-lang/noirup/main/install | bash`
- Install Node/NPM
## Why?
Traditional loan applications require extensive personal data, CreditVerifier prioritizes your privacy.
Instead of disclosing sensitive information, you can verify your down payment assets directly with a zero knowledge proof (ZKP), streamlining the process and protecting your personal details.
## How?
This works by taking 3 inputs (downpayment balance (secret), loan amount, and down payment percent) and generating a ZKP when the user qualifies for the loan.
## Start the app
To start the credit verifier frontend follow the steps below:
1. cd into the `apps/frontend` directory:
```
cd apps/frontend`
```
2. install the required dependencies.
```
npm install
```
3. start the development server
```
npm run start
```
## Future State
- Publish and verify proofs on chain for credit verification. To do this we propose the following.
```
// proof -> create a new generic TX with proof as calldata
// init wagmi connector with metamask
// create and bundle tx with proof as calldata
// prompt user to sign / submit tx
// take txn -> send to public node / infura
// call toast.promise() with txn hash
```
- Integrate with credit bureau to lookup your credit score and provide as secret input to ZKP.
- Link ETH wallet (so that the form can be populated automatically).