Hi,
Currently trying to understand the prefix of the CIDv1 I tried to change the encoding algorithm and the base encoding however there is no flag to precise it. We can choose the hash algorithm with the flag
--hash
But not the encoding and the base.
Any ideas ?
Thank you for your time
ipfs cid --help… ipfs cid format... allows you to swap bases etc.
ipfs cid --help
ipfs cid format...
ok so if I understand we can convert a existing CID to another base but we can’t create it directly with the wanted base encoding.
Yes… (but note that the CID is the same… changing the base is just changing the text representation of it).
thank you for your time
Also, you might want to check out https://cid.ipfs.io/ to see a visual deconstruction of a CID