Skip to content

use a HEX private key and generate all its addresses? #259

@zilveer

Description

@zilveer

Hi,
I wonder if someone has actually written a function to generate addresses (and private/pubkeys) from a given HEX key?

for example I am using the verify page on my local and I write in the HEX key
0000000000000000000000000000000000000000000000000000000000000001

this gives me:

address: 1BgGZ9tcN4rm9KBzDn7KprQz87SZ26SAMH
pubkey: 0279be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798
private key: 0000000000000000000000000000000000000000000000000000000000000001

But I would like to generate all the bitcoin addresses, compressed, uncompressed, bech32 and segwit.

Any guidance here?

regards Zilveer

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions