rust-bitcoin / rust-bitcoin/rust-bitcoin
Missing support for zpub/ypub/... public key formats
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
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 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