Post
Topic
Board Bitcoin Technical Support
Merits 6 from 6 users
Re: I don´t have acces to my bitcoin wallet
by
LoyceV
on 05/03/2024, 17:23:16 UTC
⭐ Merited by apogio (1) ,_act_ (1) ,ABCbits (1) ,BitMaxz (1) ,vapourminer (1) ,DdmrDdmr (1)
Is this what you're looking for?
For P2SH-P2WPKH addresses (Addresses starting with "3")
Just add p2wpkh-p2sh: directly in front of your  private key.
For example
Code:
p2wpkh-p2sh:5BitcoinPrivateKey
This should generate the corresponding p2wpkh-p2sh bitcoin address.

For P2WPKH addresses (Bech32, starting with 'bc1')
This time we'll add p2wpkh: in front of the private key.
For example
Code:
p2wpkh:5PrivateKey
This should generate the corresponding Bech32 address