Git Product home page Git Product logo

waffy's Introduction


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)

waffy's People

Contributors

rahulbansal123 avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

seunbayo

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.