Closed terranmoccasin closed 11 months ago
Thanks Meep!
Hey @yugure-orca - Heads up that I'm going to merge this first and publish a beta version of the token-sdk
for use in my other patches. Let me know if you'd like any changes when you get a chance to review, and I'm happy to open another PR to address those!
Specifically, it would be great to see if the changes to MetadataProvider
in the SDK work when using in the frontend.
Updates for
token-sdk
Metaplex
bug where invalidfetch
method is being used for downloading offchain JSONOverrides
TokenRepository
loadImage
option forMetaplexProvider
. Metaplex data contains a reference to offchain JSON. The JSON loading is slow even when batched, and it is only used to populateimage
. Adding this flag allows usage without resolving the offchain JSON for speed improvements. This is useful for services that don't care about theimage
and only need decimals, symbol, etc.TokenRepository
updates - removingTokenFetcher
as a dependency and passing in as param for fetch methods. Get methods renamed to fetch.