Skip to content

Added logic for token URIs#2

Merged
SuddenlyHazel merged 1 commit into
SuddenlyHazel:mainfrom
ALLiDoizCode:development
May 24, 2021
Merged

Added logic for token URIs#2
SuddenlyHazel merged 1 commit into
SuddenlyHazel:mainfrom
ALLiDoizCode:development

Conversation

@ALLiDoizCode

Copy link
Copy Markdown
Contributor

Added a new query method called tokenURI that takes in a token Id as an argument and returns a URI.
Modified the mint method to expect a URI argument.
Added a hashmap called tokenURIs

nft

@ALLiDoizCode ALLiDoizCode changed the title Added logic for toke URIs Added logic for token URIs May 24, 2021

@SuddenlyHazel SuddenlyHazel left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome - it seems right to keep this true to the original Ethereum Spec. Side note : My original thought was to implement the URI mechanism using canisters, but that now seems appropriate todo in a whole new spin-off DIP.

@SuddenlyHazel SuddenlyHazel merged commit 7576512 into SuddenlyHazel:main May 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants