devrandom / pymultiwallet

Python wallet tool supporting multiple coins
MIT License
4 stars 4 forks source link

purpose should accept `p2sh` as well #7

Open ksedgwic opened 3 years ago

ksedgwic commented 3 years ago

It's a synonym for p2pkh, but maybe wants a different deriv path by default (frequently used for msig?)

devrandom commented 3 years ago

what do you recommend for the derivation path?

ksedgwic commented 3 years ago

It looks like the msig conventions are different than SLIP-132.

From https://hackmd.io/@ChristopherA/B1jW4ghOU

  • m/48’/0’/0’/0’ legacy
  • m/48’/0’/0’/1’ nested segwit
  • m/48’/0’/0’/2’ native segwit

If P2WSH implies multisig that I think it should use:

Does this make sense?