libp2p / libp2p/specs

Tracking issue for peer IDs as CIDs

Open
#216 1 comment 3 reactions 0 assignees View on GitHub

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:

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.