POC Mend: Leveraging Miden's account-based privacy model to build a Privacy-Preserving Lending Platform #190
degenbuilder7
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Privacy-Preserving Lending Platform: Miden's privacy features could enable the creation of secure and private lending platform where users can lend and borrow assets without revealing their identities or transaction details to the public.
Here is an extensive POC how a privacy-preserving lending platform could be built on Polygon Miden:
Account Model
Miden uses an account-based model rather than a UTXO model. Each account has a unique ID and holds assets. Accounts can be either public or private..
For private accounts:
Private Lending Transactions
To enable private lending, the lending platform would have two types of accounts:
The lending flow would work as follows:
Compliance
For compliance purposes, the lending platform could use a "firewall" account[4]. When a user wants to withdraw funds, they would send a private transaction to the firewall account. The platform could then verify the user's identity off-chain before approving the withdrawal to their external wallet.
Conclusion
By leveraging Miden's account-based privacy model, developers can build lending platforms that provide strong privacy guarantees for users while still meeting compliance requirements. Private accounts allow users to borrow and repay loans without revealing sensitive information, while public lending pool accounts enable transparency around the pooled assets.
Beta Was this translation helpful? Give feedback.
All reactions