rmrk-team/rmrk-spec

RIP-0016 Add optional metadata field to BASE

Closed this issue · 1 comments

RIP Summary

Add metadata field to BASE body

RIP Details

Allow to add a metadata field to BASE body to be able to give name and thumbnail to your BASE, this is useful when visualising all the created BASEs to user on the client

Examples

{
    "symbol": "kanaria_superbird",
    "metadata": "ipfs://ipfs/XXX",
    "type": "svg",
    "parts": [
      {
          "id": "bg",
          "src": "ipfs://ipfs/hash",
          "thumb": "ipfs://ipfs/hash",
          "type": "slot",
          "equippable": ["collection_1", "collection_2"],
          "z": 3
      },
      {
          "id": "gem_1",
          "src": "ipfs://ipfs/hash",
          "type": "fixed",
          "z": 4
      },
      {
          "id": "wing_1_back",
          "src": "ipfs://ipfs/hash",
          "metadata": "ipfs://ipfs/hash"
      },
      {
          "id": "wing_1_front",
          "metadata": "ipfs://ipfs/hash2"
      }
    ]
}

Open Questions

N/A

Lgtm