Skip to content
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

use CIDv1 in NFT guide #709

Merged
merged 1 commit into from
Mar 23, 2021
Merged

use CIDv1 in NFT guide #709

merged 1 commit into from
Mar 23, 2021

Conversation

yusefnapora
Copy link
Contributor

@yusefnapora yusefnapora commented Mar 22, 2021

This changes the CIDs in the examples for the NFT minting guide to use CIDv1 instead of V0 (bafy... instead of Qm...), which plays nicer with web browsers and is generally what we want to recommend as "best practice".

@lidel made a PR to minty to make the switch there that I just merged in, so this just makes the guide consistent with the code.

closes #707

@johnnymatthews johnnymatthews changed the base branch from main to staging March 23, 2021 02:40
@johnnymatthews johnnymatthews merged commit 22394b5 into staging Mar 23, 2021
@johnnymatthews johnnymatthews deleted the feat/nft-cid-v1 branch March 23, 2021 02:40
@lidel
Copy link
Member

lidel commented Mar 24, 2021

I think we should take special care for EVERY URI used in docs to resolve, because if someone pastes it to Brave and gets error, the trust in IPFS is decreased.

Some URIs are broken (i think due to filename change), for example:

  • ipfs://bafybeihhii26gwp4w7b7w7d57nuuqeexau4pnnhrmckikaukjuei2dl3fq/my-nft.jpeg returns ipfs resolve -r /ipfs/bafybeihhii26gwp4w7b7w7d57nuuqeexau4pnnhrmckikaukjuei2dl3fq/my-nft.jpeg: no link named "my-nft.jpeg" under bafybeihhii26gwp4w7b7w7d57nuuqeexau4pnnhrmckikaukjuei2dl3fq

@yusefnapora are you still in the zone to make another pass and fix this? 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use CIDv1 in Minty example, not CIDv0.
3 participants