NFT Metadata Contract
The ViewResolver
and MetadataViews
contracts implement a standard to attach on-chain metadata
to NFTs. This standard was originally proposed in FLIP-0636.
It is deployed at the same address as the NonFungibleToken
contract interface.
Source: ViewResolver.cdc
Source: MetadataViews.cdc
Network | Contract Address |
---|---|
Emulator | 0xf8d6e0586b0a20c7 |
Cadence Testing Framework | 0x0000000000000001 |
Testnet | 0x631e88ae7f1d7c20 |
Mainnet | 0x1d7e57aa55817448 |
There exists a tool, Flow NFT Catalog, which enables dapp developers the ability to unlock interoperability of your NFT collection across the Flow ecosystem. This will help make your NFT collection’s metadata more discoverable and interoperable.
To optimize your NFT collections for this catalog, you’ll need to:
- Update your NFT contract to support
ViewResolver
andMetadataViews
with implementation of the core NFT views. - Deploy the updated contract to both testnet and mainnet.
- Afterwards, onboard your NFT to the Flow NFT catalog at https://flow-nft-catalog.com.