Files
seedsigner/docs/recovery.md

1.9 KiB

SeedSigner Recovery Information

SeedSigner creates extended public keys for the coordinator following slip-0132 to encode the extended public key. SeedSigner supports native and nested segwit for single sig and multisig.

Derivation paths for standard script types for mainnet:

  • Single Sig
    • Native Segwit
      • Derivation Path: m/84'/0'/0'
      • Script Type: P2WPKH
      • Public Key Encoding: 0x04b24746 - zpub
    • Nested Segwit
      • Derivation Path: m/49'/0'/0'
      • Script Type: P2WPKH in P2SH
      • Public Key Encoding: 0x049d7cb2 - ypub
  • Multisig
    • Native Segwit
      • Derivation Path: m/48'/0'/0'/2'
      • Script Type: P2WSH
      • Public Key Encoding: 0x02aa7ed3 - Zpub
    • Nested Segwit
      • Derivation Path: m/48'/0'/0'/1'
      • Script Type: P2WSH in P2SH
      • Public Key Encoding: 0x0295b43f - Ypub

Custom derivation paths are also optional when generating an xpub from SeedSigner. The Public Key Encodings is detected based on the derivation path configured. Embit bitcoin library does the detection and is documented here. For a video explination of these standards see a presentation by Stepan of Embit/Specter on this topic: https://youtube.com/watch?v=JCaC5DG2HTM

Changing the network settings from main to test in SeedSigner will change the public key encoding and derivation path following slip-0132 standards.

Related Standards: