Home

Awesome

ERC721R

Learn more on our Notion site.

How to Install

npm install && npm run prepare

About The Project

The goal of ERC721R is to add refund functionality to the ERC721 and ERC1155 standards. This repo contains community provided examples you can use in your own NFT smart contract.

Beta

This code is still in beta and undergoing reviews. Use at your own risk.

Motivation

The NFT space needs greater accountability. The space faces too many rugpulls and for the health of the NFT ecosystem as a whole we need better mechanisms to prevent these from happening.

Offering refunds provides greater protection for buyers and more legitimacy for creators.

The Azuki ERC721A provided gas improvements to the original ERC721 standard. ERC721R provides trustless refunds.

How it works in practice

When you mint an NFT in an ERC721R collection the funds are held by the smart contract in escrow. The creators are unable to withdraw the funds till the waiting period has been completed. During this waiting period the buyer is able to return their NFT to the smart contract and receive their ETH back.

If the creators decide to rug, buyers will request their funds back before the waiting period has completed only losing gas costs for the transactions.

Usage

See the example smart contracts for usage.

Benefits

For buyers:

For sellers:

A benefit to both:

Another thread on the benefits of refunds can be found in Daniel Tenner's Twitter thread: https://twitter.com/swombat/status/1492484783036936192

How long should the refund period be?

There's no one answer to this question, but some things to consider:

A longer refund period means:

What some other projects have done:

Supporting ERC721R projects

We've created a list of high-quality buyers that have committed to purchase from the next 10 NFT projects to implement refunds. If you'd like to be added to the list you can fill in this form.

As long as the project has a mint price of 0.2ETH or less with at least a 14-day trustless refund period, everyone in the list commits to mint. Of course, there's no guarantee minters won't execute a refund.

Projects using ERC721R

Roadmap

In the future we may see more complex implementations of ERC721R that include:

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

Collaborators

License

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

Disclaimer

Exodia Labs is not liable for any outcomes as a result of using ERC721R. DYOR.

Contact