Contract Metadata

721J Metadata Standards

Contract Metadata

Every contract has a function for a contractURI, where metadata for the contract can go. This lets you set a profile image, banner image, and any other images, which can be grabbed by any dapp. Compare this to a contract like ape coin, which doesn't even have the ape coin logo available anywhere from the contract!

Contract metadata is something that needs to be added to the standard for all ERC-20 and ERC-721 tokens, in my opinion.

Please use this template below for inspiration when writing contract metadata.

// Contract Metadata Template
{
    "name": "",
    "description": "",
    "platform": "Contract Wizard",
    "image": "",
    "images": [
        "",
        "",
        ""
    ],
    "image_still": "",
    "image_small": "",
    "image_large": "",
    "image_banner": "",
    "image_banner_still": "",
    "external_url": "",
    "external_link": "",
    "website": "",
    "opensea": "",
    "discord": "",
    "twitter": "",
    "spotify": "",
    "soundcloud": "",
    "bandcamp": "",
    "tidal": "",
    "instagram": "",
    "fee_recipient": "",
    "seller_fee_basis_points": ""
}

Noteworthy Traits

Description

The description of the collection is important because we are naturally curious.

There are a lot of options for social media links in the template, and you can add any amount more that aren't in the template. It's meant to be customizable. The social media platforms in the template are:

  • X

  • Spotify

  • SoundCloud

  • Bandcamp

  • Tidal

  • Instagram

  • Discord

  • OpenSea

More info here.

More info here.

Last updated