🎭ERC1155

ERC1155 is an optional module that can be included in your dapp if you need to conform to the ERC1155 standard.

Installation

libs:
  ...
  yours:
    registry: https://github.com/megayours/yours-protocol.git
    path: src/lib/yours
    tagOrBranch: main
    rid: x"---"
    insecure: false
  erc1155:
    registry: https://github.com/megayours/yours-protocol.git
    path: src/lib/erc1155
    tagOrBranch: main
    rid: x"---"
    insecure: false

It's important to note that ERC1155 is an extension of Yours Protocol and cannot be used as a standalone module.

Usage

ERC1155 needs to be attached to the tokens that you want to implement it.

Now the metadata can be fetched according to ERC1155 standard externally by querying:

Last updated

Was this helpful?