nft-storefront icon indicating copy to clipboard operation
nft-storefront copied to clipboard

[FEATURE] Improve the NFT related functions

Open LanfordCai opened this issue 2 years ago • 1 comments

  1. Currently, we have a borrowNFT() function for Listing. It would be great if we could also have a borrowNFTSafe() function.
  2. Please add a borrowViewResolver() function to Listing. This will allow us to fetch the metadata of the NFT in a more straightforward way.
  3. Could you provide a function like getProviderAddress()? This would allow users to get the provider's address and know the source of the assets.

LanfordCai avatar Jul 30 '23 13:07 LanfordCai

Regarding 3), this is tricky because the provider could lie. The less convenient route is the safer one here.

rheaplex avatar Jul 30 '23 17:07 rheaplex