A new wallet was created and it's keystore in default_wallet.dat was
"keystore": {"seed": "dose thunder spider laugh group air warfare below rescue problem cover hockey",'"type": "bip32","xprv": "xpv4SNzEGGb47qsydqCf8Rj759HLhZuWYNQr3MBX3XjbDj6QDqE7V9YyWHGcDJQt9YEzgPTZ3vN8PJeHCL8kUbMj6HAi2VbDc8h6AyUwenkwvtx","xpub": "xq5hcBDoyNfWAQL7CQ2Wp2Xsy6Ghf2adD9yrQ98T5QoLGJpaarUYGFqo5Zki46Ag31Zu2Upz6pNLiTNVxawPNupedSk6LTJEvPnhf7m6DarNAbE"},
Restoring using the mnemonic works fine.
python /usr/local/bin/electrum-stratis restore -w SWallet.dat "dose thunder spider laugh group air warfare below rescue problem cover hockey"'
Restoring using the master public keys says "Seed or key not recognized"
python /usr/local/bin/electrum-stratis restore -w SWallet.dat "xq5hcBDoyNfWAQL7CQ2Wp2Xsy6Ghf2adD9yrQ98T5QoLGJpaarUYGFqo5Zki46Ag31Zu2Upz6pNLiTNVxawPNupedSk6LTJEvPnhf7m6DarNAbE"Error: Seed or key not recognized
Restoring using the master private keys (with --offline) says "Seed or key not recognized"
python /usr/local/bin/electrum-stratis restore -w SWallet.dat --offline "xpv4SNzEGGb47qsydqCf8Rj759HLhZuWYNQr3MBX3XjbDj6QDqE7V9YyWHGcDJQt9YEzgPTZ3vN8PJeHCL8kUbMj6HAi2VbDc8h6AyUwenkwvtx"Error: Seed or key not recognized
The problem may be in the keystore.py
def is_xpub(text):if text[0:4] not in ('xpub', 'xq5h'):return Falsetry:deserialize_xkey(text)return Trueexcept:return False
def is_xprv(text):if text[0:4] not in ('xpriv'):return Falsetry:deserialize_xkey(text)return Trueexcept:return False
A new wallet was created and it's keystore in default_wallet.dat was
"keystore": {
"seed": "dose thunder spider laugh group air warfare below rescue problem cover hockey",
'"type": "bip32",
"xprv": "xpv4SNzEGGb47qsydqCf8Rj759HLhZuWYNQr3MBX3XjbDj6QDqE7V9YyWHGcDJQt9YEzgPTZ3vN8PJeHCL8kUbMj6HAi2VbDc8h6AyUwenkwvtx",
"xpub": "xq5hcBDoyNfWAQL7CQ2Wp2Xsy6Ghf2adD9yrQ98T5QoLGJpaarUYGFqo5Zki46Ag31Zu2Upz6pNLiTNVxawPNupedSk6LTJEvPnhf7m6DarNAbE"
},
Restoring using the mnemonic works fine.
python /usr/local/bin/electrum-stratis restore -w SWallet.dat "dose thunder spider laugh group air warfare below rescue problem cover hockey"'
Restoring using the master public keys says "Seed or key not recognized"
python /usr/local/bin/electrum-stratis restore -w SWallet.dat "xq5hcBDoyNfWAQL7CQ2Wp2Xsy6Ghf2adD9yrQ98T5QoLGJpaarUYGFqo5Zki46Ag31Zu2Upz6pNLiTNVxawPNupedSk6LTJEvPnhf7m6DarNAbE"
Error: Seed or key not recognized
Restoring using the master private keys (with --offline) says "Seed or key not recognized"
python /usr/local/bin/electrum-stratis restore -w SWallet.dat --offline "xpv4SNzEGGb47qsydqCf8Rj759HLhZuWYNQr3MBX3XjbDj6QDqE7V9YyWHGcDJQt9YEzgPTZ3vN8PJeHCL8kUbMj6HAi2VbDc8h6AyUwenkwvtx"
Error: Seed or key not recognized
The problem may be in the keystore.py
def is_xpub(text):
if text[0:4] not in ('xpub', 'xq5h'):
return False
try:
deserialize_xkey(text)
return True
except:
return False
def is_xprv(text):
if text[0:4] not in ('xpriv'):
return False
try:
deserialize_xkey(text)
return True
except:
return False