-
-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
seed phrase recovery not working #524
Comments
tried again with same thing happened:
|
update: the seed phrases I used were generated by something else then cashu. tried again with a seedphrase generated by Got this error:
|
Thank you, this sounds serious, I will look into it. I have restored my balance multiple times without an issue so I'm hopiung that I will be able to reproduce your error. The error Set
in your |
this all works as expected:
but this fails:
|
Version: 0.15.3 running on Debian bookworm arm64, installed via pip UPDATE: also tested on amd64 just to rule it out. |
@Amperstrand I just pushed an update with fixes to the restoration. This issue was likely due to a mishandling of the counter. Would you mind trying again with the current main (3077ca4)? |
I wanted to test mnemonic words for cashu backups. Please provide feedback if this functionality is not ready yet or if my understanding of it is incorrect.
My understanding is that if you restore a wallet with a mnemonic, then all future cashu notes will become part of that wallet. This way once all cashu notes have been imported into secrets that can be derved from the seed phrase, it can also be recovered.
I installed cashu 0.15.3 via pip.
Then I ran
cashu restore
with the mnemonicamused head toy collect mango clutch range peace claw escape fetch give
cashu invoice 10
--> workedcashu balance
--> 10Then moved the .cashu folder somewhere else to simulate a situation where I need to recover from a backup.
then ran
cashu restore
again with the same mnemonic.The balance was 0 after restoring. Expected outcome was that the 10 sat balance would be there.
Then tried running
cashu invoice 10
again.*** pay 10 sat invoice ***
cashu balance
--> 0force check the invoice:
The text was updated successfully, but these errors were encountered: