cid-utils-website
cid-utils-website copied to clipboard
Add tool to convert human-readable to encoded CID format
Add a CID builder that lets you create a CID from drop downs for each multiformat, or let's you paste in a human CID to get the encoded version out.
@olizilla Is there still value in this ask? I feel like the human CID -> encoded version is solved already.
For the CID builder, it would be cool if each of the inputs for a CID were supported:
<base>base(<cid-version><multicodec><multihash-algorithm><multihash-length><multihash-hash>)
Where inputs in the builder would be:
- CID version to use (V0 would pre-select required values as mentioned at https://proto.school/anatomy-of-a-cid/06#converting-cid-versions)
- Base (disabled and set to
base58btcwhen CID version is 0) - codec to use (disabled and set to
dag-pbwhen CID version 0 is used) - hashing algorithm to use (disabled and set to
sha2-256when CID version 0 is used) - hash length (disabled and set to
32when CID version 0 is used) - file/content (file or string input)