Skip to content

extImageUrl is arbitrary and hard-coded. #63

@wyattbenno777

Description

@wyattbenno777

extImageUrl is arbitrary and hard-coded: DAB should accept a method for EXT tokens to reveal their URIs.

showURL(tokenIdentifier) Text {
  // returns the URL as a text. 
  // EXT does not define what is in the metadata, so it can be anything.
  // The easiest way to get the asset URI is not to hardcode, but to ask the canisters for it.
}

Just like there is a method for canisters to show their logo_url.

const extImageUrl = (canisterId, index, tokenIdentifier) =>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions