Skip to content

Waffy is a decentralized non-custodial NFT lending protocol where users can participate as lenders or bidders.

License

Notifications You must be signed in to change notification settings

RahulBansal123/Waffy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Logo

Waffy

Waffy is a decentralized non-custodial NFT lending protocol where users can participate as lenders or bidders.

View Demo · Report Bug · Request Feature

Table of Contents
  1. About The Project
  2. Getting Started
  3. Roadmap
  4. Contributing
  5. License
  6. Contact

About The Project

Make sure you are on Polygon testnet for the DApp to work correctly.

The Waffy Protocol is a decentralized non-custodial NFT lending protocol where users can participate as lenders or bidders. Lenders can lend out their ERC721 NFTs at a fixed interest rate, while bidders can outbid the highest bidders. The protocol is designed to be a low-risk, low-fee, and secured protocol.

Anyone can lend out their ERC721 NFTs at a fixed interest rate for a specified time. During the loan period, anyone can bid on the NFTs, and the lender can draw any amount from the highest bid. To outbid the highest bidder, the user must repay the last amount drawn from the bid along with interest to the previous highest bidder.

Waffy uses the fast and low-cost network of polygons to connect with its smart contracts to store all the data and data from the lenders' markets in a decentralized manner.

Waffy additionally leverages the Covalent APIs to retrieve ERC721 NFTs from users as well as NFT metadata.

To build up its analytics platform, track the number of users signed up and the number of NFTs seized, Waffy uses The Graph protocol to build subgraph and query them.

Waffy also leverages Valist to safely publish this waffy software on a decentralised platform in addition to HyperDApp, which it uses to create the verifiable frontends and enable anyone to incorporate Waffy in their DApp.

In order to evaluate the lender's reliability on-chain, Waffy also employs POAP to lay out the POAP of the lender.

All smart contracts are analyzed by Solhint which provides linting solutions for detecting code vulnerabilities of the Solidity smart contracts.

The Waffy website is currently hosted on Vercel.

Contracts are deployed at: 0x3214Efe095BD5457B546C655D6BaBDA4E75aB0Ce

Spheron: https://waffy-ay392b.spheron.app/

Subgraphs: https://thegraph.com/hosted-service/subgraph/rahulbansal123/waffy

Valist: https://gateway.valist.io/ipfs/QmYDgPtvziyis5a3HbsG223163MxXAnqo6xzbZ1NMqeT9j

Link to video: https://www.dropbox.com/s/u7r1hl33fxbei74/waffyDemo.mov?dl=0

Slide Deck: https://www.canva.com/design/DAFFBdl5LuY/5IEGOm-bSHs5DLR4CoEhnA/view?utm_content=DAFFBdl5LuY&utm_campaign=designshare&utm_medium=link2&utm_source=sharebutton

(back to top)

Features:

This section lists all the unique features/oppurtunities provided by waffy:

  • Lend out ERC721 NFTs
  • NFT Seizing bots
  • NFT repayment by anyone
  • Dashboard for every lender

Built With

This section lists all the major frameworks/libraries used to bootstrap your project:

  • Next.js
  • Web3.js
  • Polygon
  • The Graph
  • Valist
  • HyperDApp
  • POAP
  • Spheron
  • Solidity
  • Solhint
  • UAuth
  • Covalent API
  • Truffle

(back to top)

Getting Started

This is an example of how you may give instructions on setting up your project locally. To get a local copy up and running follow these simple example steps.

Prerequisites

This is an example of how to list things you need to use the software and how to install them.

  • npm, truffle

Installation

  1. Clone the repo
    git clone [https://github.com/RahulBansal123/waffy.git](https://github.com/RahulBansal123/waffy)
  2. Install NPM packages
    cd frontend && npm install
  3. Enter your private key in .secret to deploy contracts on polygon testnet
  4. Copy .env.example in frontend/ to .env with appropriate values
  5. Start the development server
     npm run dev

(back to top)

Roadmap

  • Deploying on Polygon
  • Integrating Graph Protocol
  • Listing User's POAPs
  • Integrated HyperDApp and Valist
  • Rewarding seize NFT bots
  • Multi-language Support
    • French
    • Spanish

(back to top)

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

(back to top)

License

Distributed under the MIT License. See LICENSE.txt for more information.

(back to top)

Contact

Project Link: https://github.com/RahulBansal123/waffy

(back to top)

About

Waffy is a decentralized non-custodial NFT lending protocol where users can participate as lenders or bidders.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published