Skip to content
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

Extend contribution with ERC721 metadata #4

Open
raucao opened this issue Jul 20, 2018 · 0 comments
Open

Extend contribution with ERC721 metadata #4

raucao opened this issue Jul 20, 2018 · 0 comments

Comments

@raucao
Copy link
Member

raucao commented Jul 20, 2018

Some properties, like e.g. "description" are already used in our schema, but we might want to change the meaning of the description, based on how ERC721 tokens would render in a client that implements the standard. In any case, we can also add a token name and image URL too.

Here's the metadata schema, according to EIP 721:

{
    "title": "Asset Metadata",
    "type": "object",
    "properties": {
        "name": {
            "type": "string",
            "description": "Identifies the asset to which this NFT represents",
        },
        "description": {
            "type": "string",
            "description": "Describes the asset to which this NFT represents",
        },
        "image": {
            "type": "string",
            "description": "A URI pointing to a resource with mime type image/* representing the asset to which this NFT represents. Consider making any images at a width between 320 and 1080 pixels and aspect ratio between 1.91:1 and 4:5 inclusive.",
        }
    }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant