Try @helia/verified-fetch
for fetching NFT images from IPFS
#2356
Labels
enhancement
New feature or request
@helia/verified-fetch
for fetching NFT images from IPFS
#2356
Proposal
Try using
verified-fetch
for fetching NFT images from IPFS instead of relying on the links provided by the backend.https://github.com/ipfs/helia-verified-fetch/tree/main/packages/verified-fetch
Scope
/token/{hash}
/token/{hash}/instance/{id}
/address/{hash}?tab=tokens_nfts
Data source
It's better to use
metadata.image
andmetadata.animation_url
instead of the ones generated by backend.Note that there can be a number of possible URLs - with or without a predefined IPFS gateway.
CID only:
CID with a path:
Both
Qm...
andbafy...
CID variants are valid.I suggest stripping the HTTP gateway to use the CID itself for
verified-fetch
, as predefined gateways have proven to be unstable.The text was updated successfully, but these errors were encountered: