Tracking issue for peer IDs as CIDs
Nobody has claimed this yet.
- Dominant language
- No language data
- Stars
- 1.8k
- Forks
- 320
- Avg merge
- 11d 15h
- Merged PRs (30d)
- 1
Description
RFC: https://github.com/libp2p/specs/pull/209
This RFC outlines the process for moving from formatting peer IDs as base58 multihashes to formatting them as CIDs with a special libp2p-key multicodec (0x72).
This RFC does not change the in-memory and/or network representation of peer IDs, just the textual format.
This process has two stages that must be completed in order:
- Stage 1: Parse CIDs as peer IDs.
- Stage 2: Format peer IDs as CIDs by default.
Tracking status of all libp2p implementations:
- go-libp2p
- Support the libp2p-key multicodec.
- Support parsing CIDs as peer IDs.
- PRs:
- IPFS PRs (for discoverability):
- go-ipfs support of CIDs in /ipns/ content paths (https://github.com/ipfs/go-ipfs/issues/5287)
- Output peer IDs as CIDs by default
- js-libp2p
- Support the libp2p-key multicodec.
- PR https://github.com/multiformats/js-multicodec/pull/45, released in
multicodecv0.5.2
- PR https://github.com/multiformats/js-multicodec/pull/45, released in
- Support parsing CIDs as peer IDs.
- PRs:
- IPFS PRs (for discoverability):
- Output peer IDs as CIDs by default
- Support the libp2p-key multicodec.
- rust-libp2p
- Support the libp2p-key multicodec.
- Support parsing CIDs as peer IDs.
- Output peer IDs as CIDs by default
- java-libp2p
- Support the libp2p-key multicodec.
- Support parsing CIDs as peer IDs.
- Output peer IDs as CIDs by default
- python-libp2p
- Support the libp2p-key multicodec.
- Support parsing CIDs as peer IDs.
- Output peer IDs as CIDs by default
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked RFC in libp2p/specs#209, then review the checklist for go-libp2p, js-libp2p, rust-libp2p, java-libp2p, and python-libp2p. Check which implementations still lack the libp2p-key multicodec, CID parsing, or CID formatting; the tracking issue is done when the listed stages are completed across the implementations.
Written by the indexing model from the issue text.
Assessment
- Domain
- networking
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100