Skip to content

Content addressing and CIDs #1492

@SgtPooki

Description

@SgtPooki

Description

it would be nice if the https://docs.ipfs.tech/concepts/content-addressing/#cid-conversion page had instructions on how to parse a CID.

Problem statement

I have a CID, bafyreihnpl7ami7esahkfdnemm6idx4r2n6u3apmtcrxlqwuapgjsciihy, and I am able to determine it's codec, multibase, multihash, etc, but I want to access the raw content stored within this CID. How do I do that?

Other resources

https://proto.school/anatomy-of-a-cid/04 has some information about the structure of a CID, and how you can "unwrap" a CID, but doesn't give explicit instructions and most steps in the process have to be deduced.

Metadata

Metadata

Assignees

No one assigned

    Labels

    need/triageNeeds initial labeling and prioritization

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions