polkadot-js / apps

Basic Polkadot/Substrate UI for interacting with a Polkadot and Substrate node. This is the main user-facing application, allowing access to all features available on Substrate chains.
https://dotapps.io
Apache License 2.0
1.75k stars 1.54k forks source link

12 SEED WORD GENERATING WRONG ADDRESSES .POLKADOT.JS/APPS #3517

Closed wilderbeast19 closed 4 years ago

wilderbeast19 commented 4 years ago

Kindly assist in recovering my account, the 12 seed generates another address which is not even in polkastat, it also generates various addresses.

jacogr commented 4 years ago

The same mnemonic can generate different addresses based on the crypto type. Ensure you have the correct type (as initially use), set here in the add via seed -

image

wilderbeast19 commented 4 years ago

Your group of developers will have to look at this case, something is wrong , another person had the same issue, he mentioned it yesterday on the telegram page for Kasuma.but he had no funds in the address and just abandoned the address. Now this is the history of sequence of events.

1, created account on polkadot.js/apps

2, did not do json backup

3, move funds to account

4, wanted to move funds to external wallet, password was rejected

5, tried to recover account with 12 word seed. different address pops up, that are not on polkastat

6, checked my initial address funds are still there.

Please solving this issue is important for me.

Expect a solution reply from you.

thanks.

On Wed, Aug 26, 2020 at 7:01 AM Jaco Greeff notifications@github.com wrote:

The same mnemonic can generate different addresses based on the crypto type. Ensure you have the correct type (as initially use), set here in the add via seed -

[image: image] https://user-images.githubusercontent.com/1424473/91257359-f79c0100-e769-11ea-9160-8615bca48476.png

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/polkadot-js/apps/issues/3517#issuecomment-680632258, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQMIADNDRU3MVWWYYKF3L4LSCSJLTANCNFSM4QLEH2PQ .

jacogr commented 4 years ago

Like I mentioned above, check the crypto type. (Check against sr25519/ed25519, the address is different based on type, as expected) Also ensure that the network prefix is correct in your settings so the display of the address matches with the network you expect it for.

This is user-issue, not a coding issue, so trying to help you through it.

From the same mnemonic, different addresses can be derived here -

image

So when re-creating both the crypto type and the derivation path (if used) needs to be exactly the same as originally used.

wilderbeast19 commented 4 years ago

i don't think so , i have done all your suggestion, i am also communicating with the official telegram admin. this is my third year in blockchain, this have never happen to me, assuming i was in the same location as you, i will hand my seed words and the real address and tell you to recover my funds.

On Wed, Aug 26, 2020 at 10:30 AM Jaco Greeff notifications@github.com wrote:

Like I mentioned above, check the crypto type. Also ensure that the network prefix is correct in your settings. This is user-issue, so trying to help you through it.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/polkadot-js/apps/issues/3517#issuecomment-680738999, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQMIADLTF3AKS4L6NDVRLXTSCTB2LANCNFSM4QLEH2PQ .

jacogr commented 4 years ago

The only way the addresses are different -

As suggested the display (not underlying value) can be different if this UI setting uses a different prefix from what was originally used -

image

wilderbeast19 commented 4 years ago

ok, i will try all the suggestions, i really cannot remember the exact parameters, but i will try all the options.

thanks for your assistance and patience.

On Wed, Aug 26, 2020 at 10:56 AM Jaco Greeff notifications@github.com wrote:

The only way the addresses are different -

  • mnemonic is different
  • crypto type is different
  • different derivation path was used

As suggested the display (not underlying value) can be different if this UI setting uses a different prefix from what was originally used -

[image: image] https://user-images.githubusercontent.com/1424473/91283352-c849bc00-e78a-11ea-9ae9-7a9b7e6df58c.png

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/polkadot-js/apps/issues/3517#issuecomment-680751946, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQMIADOVOD4ACOWLP2O7RCDSCTE5NANCNFSM4QLEH2PQ .

wilderbeast19 commented 4 years ago

i have tried, please what is the policy concerning sending my 12 seed and address , so that my funds are safe, it may not be much for some, but its a lot to me .KSM 300.

On Wed, Aug 26, 2020 at 11:33 AM efe okezi nature4n@gmail.com wrote:

ok, i will try all the suggestions, i really cannot remember the exact parameters, but i will try all the options.

thanks for your assistance and patience.

On Wed, Aug 26, 2020 at 10:56 AM Jaco Greeff notifications@github.com wrote:

The only way the addresses are different -

  • mnemonic is different
  • crypto type is different
  • different derivation path was used

As suggested the display (not underlying value) can be different if this UI setting uses a different prefix from what was originally used -

[image: image] https://user-images.githubusercontent.com/1424473/91283352-c849bc00-e78a-11ea-9ae9-7a9b7e6df58c.png

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/polkadot-js/apps/issues/3517#issuecomment-680751946, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQMIADOVOD4ACOWLP2O7RCDSCTE5NANCNFSM4QLEH2PQ .

jacogr commented 4 years ago

I can't do anything different to what you are doing since there are no mnemonic loopholes, so providing mnemonic doesn't hep here for me or anybody else, it is no different from you having it and entering the details.

The steps that anybody would take would be -

jacogr commented 4 years ago

Still trying to help, this time I'm trying to understand your initial comments -

  1. "did not do json backup" - The create UI forces you to download the .json file. If you click cancel there, you are taken back to the create screen (so it cannot be bypassed). Please check your downloads folder.

  2. "password was rejected" - Do you have any transactions from this account? If you entered the password twice correctly to create, not sure how it can be forgotten unless it is a caps issue.

wilderbeast19 commented 4 years ago

1, it does not take you back to create screen. i did not backup json.you can do any experiment now.

2, Please read this very well,

  a, assuming i have the wrong 12 seed, the system will not accept it

  b, how come, the system accepts the 12 seed , then generate an

address or addresses that is not on polkastat, blockchain this is very fundamental.

  c, out of all the addresses generated by the 12 seed, the only one

visible in polkastat is the initial address with my funds, which i do not have access to.

 d, please do not brush this aside, this is why i am willing to take

the risk and send the 12 seed and the original address.

 e, there is an issue.

On Wed, Aug 26, 2020 at 1:03 PM Jaco Greeff notifications@github.com wrote:

Still trying to help, this time I'm trying to understand your initial comments -

1.

"did not do json backup" - The create UI forces you to download the .json file. If you click cancel there, you are taken back to the create screen (so it cannot be bypassed). Please check your downloads folder. 2.

"password was rejected" - Do you have any transactions from this account? If you entered the password twice correctly to create, not sure how it can be forgotten unless it is a caps issue.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/polkadot-js/apps/issues/3517#issuecomment-680811355, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQMIADO5OXV75VQRBCFC7MTSCTTXZANCNFSM4QLEH2PQ .

jacogr commented 4 years ago

Polkastats only shows addresses where transactions has already been done. The local generation creates a keypair with secrets can can sign. Once a tx is made, the explorers will show it.

Please see the creation flow where you it does not allow you to continue without backing up (cancel takes you to the create screen, no account created, "create and backup" download the JSON as created) -

screencast 2020-08-26 13-49-25

wilderbeast19 commented 4 years ago

below is the initial address with my funds.

Hpuv8pE1iabbfU4UC5kw7hnnArbFm2ECJTzvjpFGGagH7Nh

below is the current address the seed generates, which is not in polkastat

DTNZvMfdhZAiN6yBD69S6JX4pq17FGBd4VVisfmbkTJq694

And, if i make changes to derivation, different address pop up which are not in polkastat

i believe something happen a bug maybe, while i was creating the account.

On Wed, Aug 26, 2020 at 1:45 PM efe okezi nature4n@gmail.com wrote:

1, it does not take you back to create screen. i did not backup json.you can do any experiment now.

2, Please read this very well,

  a, assuming i have the wrong 12 seed, the system will not accept it

  b, how come, the system accepts the 12 seed , then generate an

address or addresses that is not on polkastat, blockchain this is very fundamental.

  c, out of all the addresses generated by the 12 seed, the only one

visible in polkastat is the initial address with my funds, which i do not have access to.

 d, please do not brush this aside, this is why i am willing to take

the risk and send the 12 seed and the original address.

 e, there is an issue.

On Wed, Aug 26, 2020 at 1:03 PM Jaco Greeff notifications@github.com wrote:

Still trying to help, this time I'm trying to understand your initial comments -

1.

"did not do json backup" - The create UI forces you to download the .json file. If you click cancel there, you are taken back to the create screen (so it cannot be bypassed). Please check your downloads folder. 2.

"password was rejected" - Do you have any transactions from this account? If you entered the password twice correctly to create, not sure how it can be forgotten unless it is a caps issue.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/polkadot-js/apps/issues/3517#issuecomment-680811355, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQMIADO5OXV75VQRBCFC7MTSCTTXZANCNFSM4QLEH2PQ .

wilderbeast19 commented 4 years ago

i clicked on create and back up, it takes you to your download , in your computer, 2 options appear, save or cancel, i clicked cancel, it will then take you to the main portal with your account created, try it again, click create and backup, it will take your to your folders and download, it will then request your save or cancel, cancel it, the account will be created with saving the json file'

On Wed, Aug 26, 2020 at 1:56 PM efe okezi nature4n@gmail.com wrote:

below is the initial address with my funds.

Hpuv8pE1iabbfU4UC5kw7hnnArbFm2ECJTzvjpFGGagH7Nh

below is the current address the seed generates, which is not in polkastat

DTNZvMfdhZAiN6yBD69S6JX4pq17FGBd4VVisfmbkTJq694

And, if i make changes to derivation, different address pop up which are not in polkastat

i believe something happen a bug maybe, while i was creating the account.

On Wed, Aug 26, 2020 at 1:45 PM efe okezi nature4n@gmail.com wrote:

1, it does not take you back to create screen. i did not backup json.you can do any experiment now.

2, Please read this very well,

  a, assuming i have the wrong 12 seed, the system will not accept it

  b, how come, the system accepts the 12 seed , then generate an

address or addresses that is not on polkastat, blockchain this is very fundamental.

  c, out of all the addresses generated by the 12 seed, the only one

visible in polkastat is the initial address with my funds, which i do not have access to.

 d, please do not brush this aside, this is why i am willing to take

the risk and send the 12 seed and the original address.

 e, there is an issue.

On Wed, Aug 26, 2020 at 1:03 PM Jaco Greeff notifications@github.com wrote:

Still trying to help, this time I'm trying to understand your initial comments -

1.

"did not do json backup" - The create UI forces you to download the .json file. If you click cancel there, you are taken back to the create screen (so it cannot be bypassed). Please check your downloads folder. 2.

"password was rejected" - Do you have any transactions from this account? If you entered the password twice correctly to create, not sure how it can be forgotten unless it is a caps issue.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/polkadot-js/apps/issues/3517#issuecomment-680811355, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQMIADO5OXV75VQRBCFC7MTSCTTXZANCNFSM4QLEH2PQ .

jacogr commented 4 years ago

Yes, as explained earlier is it 100% correct that changes in derivation would change the address - any hard or soft derivation modifies the keypair, so a new address is expected. (It allows you to use the same mnemonic with different derivation paths to have multiple accounts)

And yes, unless a keypair address has received funds, it won't show up in eg. Polkastats since it is not on-chain yet. (Only appears when it has balance)

An example of a seed with the same defaults generating the same address (changing the mnemonic, type or derivation will change the address, as explained earlier) -

screencast 2020-08-26 14-00-45

So sadly here, there is nothing I can or help you with further - the same address can only be retrieved from the same pair generated with the same mnemonic, same type and same derivation path, as it was set when the account was created.

wilderbeast19 commented 4 years ago

its like . i am on my own in this matter, but, i did not misplace my password or seed phase.

ihave the right seed phase and password and i cannot access my funds.

On Wed, Aug 26, 2020 at 1:52 PM Jaco Greeff notifications@github.com wrote:

Polkastats only shows addresses where transactions has already been done. The local generation creates a keypair with secrets can can sign. Once a tx is made, the explorers will show it.

Please see the creation flow where you it does not allow you to continue without backing up (cancel takes you to the create screen, no account created) -

[image: screencast 2020-08-26 13-49-25] https://user-images.githubusercontent.com/1424473/91300221-37cba580-e7a3-11ea-9ed5-dc4fb3ac489b.gif

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/polkadot-js/apps/issues/3517#issuecomment-680831769, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQMIADLVXCLFRREDOWF62NTSCTZOXANCNFSM4QLEH2PQ .

rryter commented 4 years ago

I have the same problem, although it's $KLP related, I'll try all the suggestions.

I created an account, saved the password in Bitwarden, created a backup file. But now I can not decrypt it anymore. And with the seed, another address is recovered.

wilderbeast19 commented 4 years ago

Another gentleman, had too, but was yet to fund the account.

On Aug 31, 2020 18:28, "Reto Ryter" notifications@github.com wrote:

I have the same problem, although it's $KLP related, I'll try all the suggestions.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/polkadot-js/apps/issues/3517#issuecomment-683919918, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQMIADJ6LFN6ESNWZ3FFKPTSDPMVPANCNFSM4QLEH2PQ .

rryter commented 4 years ago

Just to be clear, I assume I have lost a substantial amount of money here.

jacogr commented 4 years ago

Closing, nothing the UI can do here. It is up to the user to make sure he has the correct details as the account was created with.

polkadot-js-bot commented 3 years ago

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue if you think you have a related problem or query.