-
Notifications
You must be signed in to change notification settings - Fork 55
Open
Description
- I know this is probably not the right repository
- When crawling zora contracts at neume.network, I'm finding that many URIs are in the format of
ipfs://and so naively I've assumed that this is an IANA-official format. I even remember @jbenet talking about it years ago - But I looked into the IPFS code briefly and I couldn't find any indication that indeed the IANA
ipfs://scheme is supported: returns false for a valid ipfs url/path! ipfs-shipyard/is-ipfs#48 (comment) - The is-ipfs readme further confirms this: https://github.com/ipfs-shipyard/is-ipfs#usage
- but IANA has a definition: https://www.iana.org/assignments/uri-schemes/uri-schemes.xhtml
- But I saw in your code that you're replacing it with the gateway location:
nft-hooks/src/fetcher/UriUtils.ts
Line 5 in 6f0b963
return url.replace('ipfs://', ZORA_IPFS_GATEWAY); - So are you doing this because the official ipfs https client doesn't support the
ipfs://IANA scheme?
Metadata
Metadata
Assignees
Labels
No labels