Skip to content

ExtKey.Parse doesn't support zprv prefixes for private keys #1280

@AkulovOleg

Description

@AkulovOleg

I'm trying to use "zprv..." private keys on MainNet and the method ExtKey.Parse doesn't support it.

Need to add these prefixes for supporting these key versions

.AddBase58Prefix(Base58Type.EXT_SECRET_KEY, new byte[] { 0x04, 0xB2, 0x43, 0x0C }) // zprv .AddBase58Prefix(Base58Type.EXT_PUBLIC_KEY, new byte[] { 0x04, 0xB2, 0x47, 0x46 }) // zpub

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions