ben-razor / near-karts

Battle Kart NFTs on NEAR blockchain
https://near-karts.web.app/
Apache License 2.0
0 stars 0 forks source link

Add icon to contract metadata #11

Open ben-razor opened 2 years ago

ben-razor commented 2 years ago

Also pinata gateway: https://gateway.pinata.cloud/ipfs/

type NFTContractMetadata = { spec: string, // required, essentially a version like "nft-1.0.0" name: string, // required, ex. "Mochi Rising — Digital Edition" or "Metaverse 3" symbol: string, // required, ex. "MOCHI" icon: string|null, // Data URL base_uri: string|null, // Centralized gateway known to have reliable access to decentralized storage assets referenced by reference or media URLs reference: string|null, // URL to a JSON file with more info reference_hash: string|null, // Base64-encoded sha256 hash of JSON from reference field. Required if reference is included. }