Description

A Dapp that provides loans using advanced collateral types such as a Salary NFT. The NFT acts as an anchor for streaming tokens and can be used to secure a loan. A user requests a loan from the lending Dapp, reviews the terms, and signs, thereby initiating the loan. The Dapp then deploys a contract to which the user sends the Salary NFT. Upon reception the contract transfers the loan principal to the borrower. As time goes by and enough salary has accrued to pay off the loan, the contract returns the Salary NFT and settles the accounts.

Streaming Collateral showcase

How it's made

A user requests a loan from the lending Dapp, reviews the terms, and signs, thereby initiating the loan. The Dapp then deploys a contract to which the user sends the Salary NFT. Upon reception the contract transfers the loan principal to the borrower. As time goes by and enough salary has accrued to pay off the loan, the contract returns the Salary NFT and settles the accounts. The Dapp interacts with the user and deploys a Solidity loan contract from a template. Superfluid is used for money streaming to a Salary NFT and from the contract to the Dapp wallet. The loan contract will use a ChainLink Keeper to manage events.