Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fetch NFT metadata with storage iteration #165

Open
nvdtf opened this issue Mar 30, 2023 · 1 comment
Open

Fetch NFT metadata with storage iteration #165

nvdtf opened this issue Mar 30, 2023 · 1 comment
Labels
documentation Improvements or additions to documentation Feedback good first issue Good for newcomers SC-Eng Issues that we want to see surfaced in SC-Eng ZH Board

Comments

@nvdtf
Copy link
Member

nvdtf commented Mar 30, 2023

With the release of storage iteration, it should be possible to enumerate all NFTs an account owns and return the metadata without explicitly importing the specific NFT contract. Currently, this use case is handled by the NFT Catalog.

We need to add sample scripts that use storage iteration to return NFT information about assets an account owns.

@joshuahannan joshuahannan added SC-Eng Issues that we want to see surfaced in SC-Eng ZH Board good first issue Good for newcomers documentation Improvements or additions to documentation and removed Feature labels Mar 31, 2023
@joshuahannan
Copy link
Member

joshuahannan commented Mar 31, 2023

Flow View has scripts that do part of this in their repo: https://github.com/33-Labs/flowview/blob/main/flow/scripts.js

It would be nice if we could have those as examples here too with more metadata stuff included.

Any help would be appreciated from any open source contributors! This would just require copying some of the scripts over and writing some tests for them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation Feedback good first issue Good for newcomers SC-Eng Issues that we want to see surfaced in SC-Eng ZH Board
Projects
None yet
Development

No branches or pull requests

2 participants