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

Example for Binance Smart Chain #31

Open
NovytskyiD opened this issue Sep 3, 2021 · 5 comments
Open

Example for Binance Smart Chain #31

NovytskyiD opened this issue Sep 3, 2021 · 5 comments
Labels
altcoin recovery Anything altcoin related

Comments

@NovytskyiD
Copy link

Hi. I`m try to find few word of seed for Binance Smart Chain, but it does not work
I'm choose Missing Mnemonic with parametrs:
Phrase - original leader remove powder trumpet morning amazing trophy fee high * *
Wallet - 0x113EEE4418D83e319526473fe0785acc50D07E09
Path - m'/44'/60'/0'/0

Result - Invalid extra input or input type AddrComp.

What i`m doing wrong?

@Coding-Enthusiast
Copy link
Owner

FinderOuter does not yet support altcoins.

However I took a quick look at the "Binance Smart Chain" documentation and it seems like it is using the same method as bitcoin to produce "addresses" (HASH160 of compressed public key on same curve ie. secp256k1) it just doesn't encode them using Base58.

Generally speaking for any altcoin that is copying bitcoin you can find a way to use FinderOuter with some workarounds.
In this case if you convert your 160-bit hash to a Base58 address (ie. 12aBsmMJMdYWpEcu1d7YTASj9KdSYUzT5R) it should work.
Your derivation path should also be m/44'/714'/0'/0/0 if the address was the first address your wallet creacted, m/44'/714'/0'/0/1 if it was second and so on. See BIP-44 and SLIP-44 for more information.

PS. I hope the mnemonic you posted here is for testing and not your actual phrase, otherwise you should consider the entire wallet compromised.

@Coding-Enthusiast Coding-Enthusiast added the altcoin recovery Anything altcoin related label Sep 4, 2021
@NovytskyiD
Copy link
Author

Yeah, im tryed you input data, but it dont find the seed:(
image

@Coding-Enthusiast
Copy link
Owner

Some other variable must be wrong. Either some of the known 10 words or the derivation path or key index.

@NovytskyiD
Copy link
Author

Perhaps the problem is that I am using a multi-currency account in Trust Wallet?
Here is the full test seed - original leader remove powder trumpet morning amazing trophy fee high winter account
I`m tried to use real btc adress bc1qr4qdjux82x6vj4l8w804yt5lcqaj4ptx4m7ggc instead of converted 12aBsmMJMdYWpEcu1d7YTASj9KdSYUzT5R, but have same result

@Coding-Enthusiast
Copy link
Owner

The Bech32 address (bc1qr4...) is using m/84'/0'/0'/0/0 derivation path which means it is using an entirely different private and public key and consequently a hash than an altcoin's key at a different path such as m/44'/714'/0'/0/0. They can't be "converted".
What I did above was to simply change the encoding of your address from hexadecimal (0x113EEE...) to Base58 (12aBsm...).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
altcoin recovery Anything altcoin related
Projects
None yet
Development

No branches or pull requests

2 participants