-
Notifications
You must be signed in to change notification settings - Fork 358
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
Allow NFTs to include custom data #440
Comments
I am not sure if it is worth it for now waiting for #391 - I am doing some things around this after hours, but for now I don't put time on this unless we are agreed on this idea. Adding generic One thing I would change here - make |
Sounds good to use T. |
A first step on #391
A few people have tried to build on cw721-base but want to add extra metadata to the contract and cannot extend it. Basically, we would need:
(source)
The default implementation can simply leave
extension: None
. (Or useextension: Empty
, removing the Option).This can be done and then we make all query and execute methods accept this T. However, when thinking about it, it would be a great first example of using a struct to represent a contract, as described in #391
The text was updated successfully, but these errors were encountered: