Skip to content

Simple Plutus app demonstrating how to create a loan request, cancel the request and lend s Native token with Ada as collateral

Notifications You must be signed in to change notification settings

HarunJr/P2PLending

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

P2PLending

Simple Plutus app demonstrating how to create a loan request, cancel the request and lend s Native token with Ada as collateral

Borrowing

User can Request for a loan by sending Ada as collateral with Datum to the Request.hs Contract. An NFT is minted in the process (as a receipt). Only the user with the NFT can retrieve the collateral from Request.hs.

Canceling

User can cancel transaction by burning the NFT and Request.hs sends back the collateral.

Lending

User can lend USDH to another user with Ada as collateral. Only when When Lender NFT is created and the collateral at Request.hs is moved to Collateral.hs is USDH sent to the borrower.

About

Simple Plutus app demonstrating how to create a loan request, cancel the request and lend s Native token with Ada as collateral

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published