Created
August 2, 2021 05:56
-
-
Save enorms/343567b01ef69ec1f6d47f806fcae035 to your computer and use it in GitHub Desktop.
IPFS CID v2 > v1 for browser
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ipfs cid format -v 1 -b base32 [CID] |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Since a browser is not case sensitive, the old version of the CID must be used. For example,
QmPLXKUMMn8FnVVuBrJNefxiZr35UMvHLXex5NSvqGo4q7is indistinguishable fromqmplxkummn8fnvvubrjnefxizr35umvhlxex5nsvqgo4q7.% ipfs cid format -v 1 -b base32 QmPLXKUMMn8FnVVuBrJNefxiZr35UMvHLXex5NSvqGo4q7givesbafybeiao2nkkx5cvf6wp6lm2z6zgda4prmgpkk27k3h44ywddr4oxf2kgiwhich can then be used in the browser likehttps://bafybeiao2nkkx5cvf6wp6lm2z6zgda4prmgpkk27k3h44ywddr4oxf2kgi.ipfs.dweb.link/