The suite is deployed on Polygon Mumbai as most of ZK tech are not available on other testnets.
Customers initially register with CryptoBureau contract using WorldID which is used for unique identification. Then, different frontend integrations help to generate ZK proofs to be submitted and verified on-chain. Successful verifications result in updated credit score. Interaction with lender affects the collaterization coefficiant as the history is being preserved.
ZK Technologies:
- WorldID for Proof of Personhood: frontend integration + on-chain proof verification
- Sismo for Proof of NFT ownership: frontend integration + on-chain proof verififcation
- PolygonID for Proof of Education: trivial frontend integration + custom claim schema + on-chain proof verification
- zk-snarks: circom circuit + backend proof generation + on-chain proof verification
- [deprecated] zokrates: zk-SNARKs circuit + backend proof generation + on-chain proof verification
Frontend:
- vite + react
- rainbowkit + wagmi + ethers
- antd for layout and UI
Backend:
- nest.js
- TrueLayer API - to fetch bank account information
Smart Contracts:
- hardhat + solidity
- unit-tests to simplify development
- aave for handy testnet DAI and jEUR tokens
Original hack version of the code is available in hack
branch.
More details here: #2