-
Notifications
You must be signed in to change notification settings - Fork 26
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
Interoperability with other tools #28
Comments
Hi, The problem is that SLIP-39 and BIP-39 use different method for generating their master seeds. Though, you can make them compatible by using BIP39 entropy as SLIP39's masterkey. |
Thanks for that, @ilap So I'm still failing while attempting to do the roundtrip with different tools:
When I try to recover with iancoleman.io/slip39 or python-slip39 tools, both fail:
slip39-recovery --using-bip39 -m "adult scandal acrobat romp afraid pulse promise diminish elevator scatter devote quiet regular crazy fishing device shaft percent false society buyer adequate decorate jerky that example dough python switch syndrome briefing wealthy emperor" -m "adult scandal beard romp alpha guest moment orbit elder justice moisture equation should random legs ugly likely spend prevent steady glad fortune discuss shrimp scout random response goat graduate flexible both chest domain"
glimpse perfect mirror silent near order mimic egg cube boost eternal shoe near book system great curtain rifle off second industry odor network only |
Oooh, I see. They're compatible and interoperable, but it seems that the issue is with the iancoleman's website. |
Shouldn't I be able to recover the entropy I generate with slip39-js using python-slip39, then? |
You should use As SLIP39's 20-length mnemonic means 128-bit entropy, while 33-length mnemonic is 256-bit entropy. |
So then what would be the input to I could not translate your code snippet to make it work within main.js Please bear with me and pardon my ignorance. |
This one would do I think: |
YES! That worked. Thank you, @ilap Maybe interoperability with other tools could be addressed in the docs. |
I created a PR for iancoelman's website to resolve the issue caused by my slip39-js v0.1.7. |
Great, thank you, @ilap iancoleman does not seem to be active, there are PRs sitting unmerged from 2022. I saw you forked his repo. Would you be willing to host it somewhere for easy access? Referencing your PR iancoleman/slip39#35 |
Hosted here -> https://3rditeration.github.io/slip39/src/ |
I tried and failed to recover the BIP39 seed from SLIP39 shards generated by https://github.com/pjkundert/python-slip39 with this tool.
I also failed to recover the BIP39 seed from the SLIP39 shards generated by current tool with https://github.com/pjkundert/python-slip39.
Are the two supposed to be compatible / interoperable.
My goal is to have a number of tools that can recover SLIP39 shards I generate to store my BIP39 seed phrase in a distributed way.
The text was updated successfully, but these errors were encountered: