rust-bitcoin / rust-bitcoin/rust-bitcoin

Missing support for zpub/ypub/... public key formats

Open
#2,190 18 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
2.7k
Forks
1k
Avg merge
4d 39m
Merged PRs (30d)
86

Description

Are there any plans to include support for pub/priv key formats other than xpub?

I tried to obtain zpub key via trezor-client (https://github.com/trezor/trezor-firmware/tree/main/rust/trezor-client) and received Bip32(UnknownVersion([4, 178, 71, 70])) which puzzled me for a while until I discovered that rust-bitcoin only supports xpubs...

Contributor guide

Open the contributing guide

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 by tracing the Bip32(UnknownVersion([4, 178, 71, 70])) error and the existing xpub parsing support in rust-bitcoin. Review the trezor-client zpub example, then define support for the requested pub/priv key formats and verify that those formats no longer produce UnknownVersion errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
blockchain, cryptography
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.