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

Add tool for HEX-ENCODED binary multiformats? #63

Open
bumblefudge opened this issue Sep 19, 2024 · 0 comments
Open

Add tool for HEX-ENCODED binary multiformats? #63

bumblefudge opened this issue Sep 19, 2024 · 0 comments

Comments

@bumblefudge
Copy link

bumblefudge commented Sep 19, 2024

As @willscott pointed out on discuss.ipfs.tech, in some contexts (e.g. filecoin block explorers, but also UCAN systems using vanilla CBOR and perhaps also some bsky contexts) binary CIDs (or other multiformats) get wrapped in the 42 tag to masquerade as CBOR data, and thus get printed as HEXADECIMAL (rather than multibased) when spit out of CBOR parsers. This results in "multiformats" that look like this:

42(h'000181E2039220200C7C257C5EA6BBA17053362...')

would it make sense to add second page for "CBOR CIDs" (https://cborcid.ipfs.tech? https://tag42.ipfs.tech?), even if all it does is transcode them and base58btc them, bouncing back to the https://cid.ipfs.tech/#{that-transcoded-cid} from there?

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

No branches or pull requests

1 participant