I'm able to generate P2PKH from bash but I don't find the steps to generate P2WPKH (not wrap) I saw this link and I understand that I have to do base58 of Public key hash and prepend 00, but I don't understand where and when. I tried even to read BIP0141.

  • For native P2WPKH addresses you'll want to look at BIP 173. BIP 141 only describes the consensus rules, not the human-readable form for addresses for it. – Pieter Wuille Mar 16 at 22:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.