multiformats / multiformats/rust-multihash

How to get the code of a format?

Open
#389 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
166
Forks
63
PR merge metrics
No merged PRs in 30d

Description

From the docs I cannot find a getter for the code of any multihash code format (as in Multihash::code()).

The docs define a const for Sha3_256 but that's it.

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 documented Sha3_256 constant and the public Multihash API, checking how format codes are currently exposed. Confirm the intended getter behavior for each multihash format and update the relevant API documentation; done means a newcomer can find the code getter for every supported format.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
backend-api-design
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.