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
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
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
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
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.
This is an example of how to list things you need to use the software and how to install them.
- npm, truffle
- Clone the repo
git clone [https://github.com/RahulBansal123/waffy.git](https://github.com/RahulBansal123/waffy)
- Install NPM packages
cd frontend && npm install
- Enter your private key in
.secret
to deploy contracts on polygon testnet - Copy .env.example in frontend/ to .env with appropriate values
- Start the development server
npm run dev
- Deploying on Polygon
- Integrating Graph Protocol
- Listing User's POAPs
- Integrated HyperDApp and Valist
- Rewarding seize NFT bots
- Multi-language Support
- French
- Spanish
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!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE.txt
for more information.
Project Link: https://github.com/RahulBansal123/waffy