Skip to content
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

wallet recovery not working #350

Open
umk0m1qk opened this issue Jun 7, 2024 · 2 comments
Open

wallet recovery not working #350

umk0m1qk opened this issue Jun 7, 2024 · 2 comments
Labels
completed 🌟 Changes are already available and have to be merged

Comments

@umk0m1qk
Copy link

umk0m1qk commented Jun 7, 2024

Describe the bug
wallet recovery not working

To Reproduce
Steps to reproduce the behavior:

  1. back up eNuts using "secure wallet" on another phone, note mint and confirm 12 seed words
  2. move to new phone: security>seed backup>wallet recovery
  3. add mint.minibits.cash/Bitcoin
  4. enter 12 seed words separated by single space
  5. error "found no proofs to restore wallet"

Expected behavior
a successful wallet recovery

Smartphone (please complete the following information):
-old phone: stock One Ui 6.0 (android 14) on galaxy a23
-new phone: GrapheneOs on pixel 8a build 2024051600

Additional context
all ecash balance is on a single mint: mint.minibits.cash/Bitcoin

@KKA11010
Copy link
Collaborator

Hello @umk0m1qk,

Thank you for the report!

There are a few important things to know and to check for a successful recovery.

  1. Is the mint still online?

In your case, it is.

  1. Was there a balance in the wallet prior to generating the seed phrase?

In simple terms, if you had a balance in the mint prior to generating the seed, you will have to create a Cashu token from the total balance of the mint and claim it yourself. Only the funds that were generated after the seed can be recovered.

  1. Did the mint rotate its keyset-ID?

The wallet is currently unable to restore funds from multiple keyset-IDs. Meanwhile, until I fix this, you can restore using a better implementation with more restore options from this web wallet: https://v2alpha.nutstash.app

  • You can check if the mint has rotated its keyset in the mint-details screen under "proofs". There is a list of amounts with a corresponding keyset-ID, and if the amounts have different keyset-IDs, it means that the mint has rotated its keyset-ID.

I am working on a fully functional implementation and a much clearer UI for the restore process where these things are handled in a much more user-friendly way to avoid such situations.

I apologize for the inconvenience and for any issues that might have occurred.

@umk0m1qk
Copy link
Author

umk0m1qk commented Jun 21, 2024 via email

@KKA11010 KKA11010 added the completed 🌟 Changes are already available and have to be merged label Jul 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
completed 🌟 Changes are already available and have to be merged
Projects
None yet
Development

No branches or pull requests

2 participants