-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Support ipfs://ipfs/ links #9772
Support ipfs://ipfs/ links #9772
Conversation
Generally we want to support old and new - however is the “general support chains” are only n new, having the t to clean it up. |
So you won't be against it if I switch the code to the new pallet? |
# Conflicts: # packages/page-nfts/src/AccountItems/useItemsInfos.ts # packages/page-nfts/src/useCollectionInfos.ts
Hey @jsidorenko if you can fix the merge conflict, I can do a review and we can get this in! |
# Conflicts: # packages/react-hooks/src/useIpfsFetch.ts
done |
Thank you, looks great! |
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
isIPFS package we use unfortunately can't detect links that start with
ipfs://ipfs/
.In this PR I've added a new helper method to clean the link and remove the unsupported prefix.
P. S. Shall we switch to the new nfts pallet? It already has more collections created compared to the old one.
Or we can support both pallets if needed.