简体   繁体   中英

Is it possible to create an erc721 contract without using openzepplin library and render it on opensea?

I am building an erc721 contract (for practice) from scratch without using any external libraries such as openzepplin.

till yet the basic functions work.

now I want to list the tokens created from this contract to open sea, how do I do that or is inheriting the openzepplin contract necessary?

Yes, you definitely can (and should.) try implementing your own ERC721 contract, ERC721 is simply a token standard, and in order for your token to be considered ERC721, you must implement the interface described here . You can also refer back to the OpenZeppelin implementation for inspiration on how to handle security vulnerabilities, gas optimization, etc. Note that any NFT project that has some sort of special functionality (gamification, mutation, etc.) must have implemented their own version of an ERC721 token.

To list your NFT on OpenSea, check out this link

Good luck with your project!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM