-
Notifications
You must be signed in to change notification settings - Fork 397
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding a Royalties Function #20
Comments
Hi @GaiaEich, My own opinion on this EIP2981 is that, while I like it more compared to the OpenSea's proprietary solution discussed in #12, I still feel it a bit weak since we still have no warranty that any marketplaces is gonna use it. This is just to say thank you very much for sharing this stuff 🙏, I'm gonna keep an eye on it and I might also make a video about how to implement that in our contract, but I'm not sure we are gonna add this feature to our contract by default (at least for now). |
Hey @GaiaEich, I was wondering if you were able to get this function working? If so do you mind sharing some more details. Where exactly did you add this function and what steps do you need to take in order to set a royalty price? Thanks so much, |
Hey @granthughes1999, Unfortunately not yet. However, I'll let you know when we find a way! |
Hi @liarco, I understand your point of view but given this standard seems to be picking up attention (albeit from smaller marketplaces only) I think it is worthwhile starting to look into it to make it future proof. I even left a comment in the code so people understand that royalties are not enforceable ;) @GaiaEich and @granthughes1999 how did you go with this? Lastly, I didn't bother with OpenSea and Rarible "hacks" as it is much easier to go to those marketplaces and edit the collection to set those up. |
Hi @it-is-zods, sorry for the late reply. We got a developer to add a Royalty function for us. |
We just compared the nft-erc721-collection contract with the Crypto Coven contract [https://etherscan.io/address/0x5180db8f5c931aae63c74266b211f580155ecac8#code]. We noticed a few differences. They import more stuff, and especially the IERC2981 royalty standard is missing in Hashlips' one. Check also the function:
Is there a way to add this in the nft-erc721-collection contract?
The text was updated successfully, but these errors were encountered: