I know that the deriving path for Bech32 is 84, but what about P2WSH addresses path is it the same?

I've been reading https://github.com/bitcoin/bips/blob/master/bip-0173.mediawiki but nothing on there.

For example, I'm using path 84 to derive P2WSH addresses, but electrum uses that path to derive P2WPKH addresses. I would like to know the correct path that I should use, so my mnemonic phrase becomes compatible with other platforms. Something like 44 and 49 paths.

  • For what purpose? P2WSH moves coins under control of a script; what do you want that script to be? Mar 10, 2018 at 15:27
  • I've made an edit showing usecase.
    – Tailer
    Mar 10, 2018 at 15:38
  • Perhaps my question wasn't clear: why do you need a P2WSH address? P2WSH encodes a script not a single public key. Without good rationale this question makes little sense. Mar 10, 2018 at 15:57
  • I read somewhere that P2WSH Address has a smaller size than P2WPKH; frankly, that's the main reason.
    – Tailer
    Mar 10, 2018 at 16:01
  • 1
    No, P2WSH is larger than P2WPKH, and it does not serve the same purpose. Your question makes no sense. A P2WSH output does not send to a public key. Mar 10, 2018 at 16:41

1 Answer 1


P2WSH addresses have no deriving path since a P2WSH output does not send to a public key and P2WSH encodes a script, not a single public key.

Thanks to @Pieter Wuille for clearing up things.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.