Giter VIP home page Giter VIP logo

blockchain-developer-bootcamp-final-project's Introduction

NFT Collateralized Loan Marketplace

Proposal: Give NFT owners liquidity backed by their assets. Give Lenders an opportunity to earn interest

NFT Owner (Borrower) flow:

  • Place NFT to receive loan offers (revokable) with desired expiry and loan amount
  • See available offers
  • Choose loan. Lock NFT and receive funds.
  • See NFTs on loan
  • Pay back loan by specific date (optional to pay back earlier) and receive NFT

Lender flow:

  • See available NFTs for loan offers
  • Offer due date, loan amount, and payback amount (revokable if not accepted)
  • See outstanding loans
  • Receive payback amount or NFT by due date

Implementation (rough):

  • Smart contract to store available NFTs and loan offers
  • Borrower accepting an offer: NFT is transferred to Externally Owned account associated with Smart contract account, funds transferred to borrower
  • When borrower pays back the full loan amount to smart contract the NFT is marked as available for release, and the loan amount is marked as available for transfer. The relevant parties then need to initiate the transfer of funds/nft back to their own accounts
  • Scheduler - e.g. ethereum-alarm-clock? - checks regularly to see if any loans have been lapsed: if so NFT is available to be claimed by Lender

Sample flow:

  • Bored Ape Yacht Club (BAYC) NFTs are trading at 40eth floor. Via the UI, BAYC owner places #235 (illustrative) up for a loan. Desires 20eth (50% LTV) to be borrowed for 2 months
  • Lender offers the loan with a payback of 22eth
  • #235 owner accepts
  • #235 is transferred out of the owner's account. 20eth is transferred from Lender to #235 owner
  • #235 owner pays back 22eth in 2 months, receives NFT back. Lender receives 22eth

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.