iTranslated by AI

The content below is an AI-generated translation. This is an experimental feature, and may contain errors. View original article
💯

I Created ERC721L to Enable Trustless NFT Lending

に公開

Nice to meet you for the first time on this account. I'm Inari, and I'm involved in Web3 a bit.
I created an NFT that can be lent as a hobby, so I decided to write an article about it.
https://github.com/inaridiy/ERC721L

Overview

This is an extension of ERC721, which is commonly used for creating NFTs.
By creating NFTs using this contract, you can lend them with lower risk than current NFTfi.
This article is an essay discussing the problems of current NFTfi while exploring the potential of ERC721L.
For usage and other details, please refer to the Readme.

Weaknesses of Existing NFTfi

Several services already allow for lending NFTs, but as far as I know, they suffer from one of the following two problems.

Potential for NFTs to be Run Away With

This is a problem seen in patterns where collateral is deposited into the service's contract when borrowing an NFT.
In other words, it means that someone who wants the NFT more than the collateral can simply disappear without reclaiming their deposit.
Additionally, to prevent this, collateral exceeding the NFT's floor price is required, and if the NFT's price surges, the risk of them running away increases even further.

However, the major advantage of this type of service is that all the utilities attached to the NFT can be used while it is being borrowed.

Inability to Receive NFT Utilities

Another pattern involves using something like a proxy contract to make it appear as if the borrower holds the NFT.
In this pattern, since the NFT is managed by the service-side contract, the NFT can be lent without trusting the borrower and without requiring collateral.
This pattern essentially results in the service side holding the NFT, and the borrower only being able to borrow a mock NFT provided by the service-side contract.
Because of this, the utilities attached to the NFT itself often cannot be used, and the borrower can't do much more than show it off to friends.

I haven't tested it yet, so I can't say for sure, but there might be a possibility to enjoy some of the NFT's utilities by applying the logic of multi-sig wallets.

Advantages of ERC721L

I have discussed the weaknesses of existing NFTfi at length.
The reason these weaknesses arise is that under the current ERC721, the owner (borrower) holds significant control.
Therefore, the only possible approaches are to bind the borrower with collateral or to manage the NFT via the service itself.

Therefore, the ERC721L I developed this time allows for the lending and borrowing of NFTs according to a contract without needing to trust each other.
NFTs lent via the lend function can be forcibly reclaimed using the reclaim function once the lending period has expired.
In other words, the borrower can use all utilities except for the ability to transfer.

Weaknesses of ERC721L

I mentioned the advantages of ERC721L earlier, but there is one area where it is definitively inferior to NFTfi services.
While NFTfi services can handle almost all existing ERC721 and ERC1155 NFTs, ERC721L cannot be applied to NFTs that are already in circulation.

Potential of ERC721L

I created ERC721L because I thought it would be interesting to imagine the possibilities when NFTs can be lent trustlessly.

What would happen if GameFi items were created using ERC721L?
Currently, I believe many GameFi projects face the issue where the more popular they become, the higher the NFT prices rise, making it difficult for new players to enter.
In such a situation, if NFT lending becomes possible, wouldn't the barrier to trying out GameFi be significantly lowered?
Also, organizations like GameFi guilds could become more active, and taking it a step further, I think industries and employment models using GameFi might emerge.

I also think things like showing off NFTs to friends—similar to what is done with current NFTfi—could be done more efficiently and with lower risk.

Conclusion

Thank you for reading this far. If you'd like, please try creating an NFT using ERC721L.

Discussion