OpenSea

Build your own marketplace in minutes

OpenSea provides a one-stop shop for creating your own customizable marketplace for your non-fungible token (NFT) project. Allow users to smoothly buy and sell your items, get custom stats and analytics, and earn revenue when your items get traded.

Guides

2. Adding metadata

Once you've deployed your contract, you'll need a way for each individual item to show up properly on OpenSea (as well as other websites that support non-fungible tokens). This is where off-chain metadata comes in to play! Each token identifier in your ERC721 contract will have corresponding metadata URI that returns additional important information about the item, such as the item's name, image, description, etc. To find this URI, we use the tokenURI method in ERC721 and the uri method in ERC1155. A simple example of this metadata is:

{
  "name": "Herbie Starbelly",
  "description": "Friendly OpenSea Creature that enjoys long swims in the ocean."
  "image": "https://storage.googleapis.com/opensea-prod.appspot.com/creature/50.png",
  "attributes": [...]
}

There's quite a lot you can do with metadata -- including adding rankings, boosts, animations, dates, and much more! We think you'll definitely want to explore it in full, so please see our dedicated metadata standards documentation for this piece of the tutorial.


2. Adding metadata


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.