An ERC721 extension that is designed with Network Spirituality in mind.
THIS IS EXPERIMENTAL CODE, PLEASE PROCEED WITH CAUTION!!!
Report Bug
·
Request Feature
Table of Contents
This is an abstract contract intended to align NFT collections with Remilia's vision for Network Spirituality by deepening NFT collection liquidity using mint fees. It is designed such that the developer (or other recipient) can receive up to 50% of the mint fees, while the remainder is dedicated to deepening an NFT's NFTX liquidity. All funds directed towards deepening NFTX liquidity for a particular NFT collection are locked forever. Yield generated by that liquidity can still be utilized. Liquidity rewards are locked and redirected towards deepening liquidity if the dev's cut is >20%. They are only withdrawable if dev takes <=20%.
ERC721M was designed using Foundry, so we recommend familiarizing yourself with that if required.
- Foundry
curl -L https://foundry.paradigm.xyz | bash foundryup
- Set up your NFT project using Foundry
forge init ProjectName
- Install ERC721M
forge install miyamaker/ERC721M --no-commit
- Import the ERC721M standard
Add the following above the beginning of your project's primary contractimport "ERC721M/ERC721M.sol";
- Inherit the module
Add the following to the contract declarationcontract ProjectName is ERC721M {}
- Utilize each function as required
A deeper understanding of Solady is required to continue beyond this point
TODO: Summarize all functions
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 AGPL-3.0 License. See LICENSE.txt
for more information.
Zodomo - @0xZodomo - [email protected] - Zodomo.eth
Miyagod - @miyamaker - [email protected] - miyagod.eth
Project Link: https://github.com/Zodomo/721M