From 7439ecdb3917e1745c8be25c5a405568812c1bbe Mon Sep 17 00:00:00 2001 From: accumulator Date: Mon, 18 Sep 2023 18:52:38 +0200 Subject: [PATCH] bip39: add likely script vs derivation path mistakes for BIP49 and BIP84 paths (#8615) See e.g. https://bitcointalk.org/index.php?topic=5454270.0 --- electrum/bip39_wallet_formats.json | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/electrum/bip39_wallet_formats.json b/electrum/bip39_wallet_formats.json index 8fb92c17c..dc0d77af2 100644 --- a/electrum/bip39_wallet_formats.json +++ b/electrum/bip39_wallet_formats.json @@ -35,6 +35,30 @@ "script_type": "p2wpkh", "iterate_accounts": true }, + { + "description": "Non-standard legacy on BIP84 path", + "derivation_path": "m/84'/0'/0'", + "script_type": "p2pkh", + "iterate_accounts": true + }, + { + "description": "Non-standard compatibility segwit on BIP84 path", + "derivation_path": "m/84'/0'/0'", + "script_type": "p2wpkh-p2sh", + "iterate_accounts": true + }, + { + "description": "Non-standard legacy on BIP49 path", + "derivation_path": "m/49'/0'/0'", + "script_type": "p2pkh", + "iterate_accounts": true + }, + { + "description": "Non-standard native segwit on BIP49 path", + "derivation_path": "m/49'/0'/0'", + "script_type": "p2wpkh", + "iterate_accounts": true + }, { "description": "Copay native segwit", "derivation_path": "m/44'/0'/0'",