question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Handle seed phrase error when account is created

See original GitHub issue

Overview

Users sometimes encounter an error when creating an account with a seed phrase via linkdrop, even though the transaction is succeeding. We should only show the user an error at this step if it is the actual account creation transaction that is failing, otherwise they will be mislead into thinking their account wasn’t successfully created.

A simple solution is to retry the TX after the linkdrop claim TX, as this should eventually succeed. If it doesn’t after ~5 retries, we should check if the account has been created, and if it has, log the user in.

https://github.com/near/near-wallet/pull/905#issuecomment-692793925

Acceptance Criteria

When creating an account using linkdrop

  • At the /verify step, users only encounter an error if the linkdrop claim step is failing
  • If the second “addKey” TX fails, the TX is retried
  • If the account is created successfully, the user is redirected to the /profile page

Screen Shot 2020-09-15 at 1 16 51 PM

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:12 (12 by maintainers)

github_iconTop GitHub Comments

1reaction
vgrichinacommented, Sep 18, 2020

@kcole16 @marcinbodnar I think we have to test with artificially introduced errors, e.g. like here https://github.com/near/near-wallet/pull/892

0reactions
marcinbodnarcommented, Oct 28, 2020

@kcole16 PR not merge yet, I linked this issue to PR

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to fix "Invalid Seed Phrase" error ... - MetaMask Support
Make sure your Secret Recovery Phrase is written in the exact same order it was provided, with one space between each word, and...
Read more >
Can't recover account with 12 word phrase #2904 - GitHub
Hi, i made my account back in 2018 and now I am accessing my account with seed phrase it shows invalid seed phrase,...
Read more >
Seed phrases - Coinbase Help
A seed phrase is a sequence of 12 words that gives you, and only you, access to the cryptocurrency you've received. When you...
Read more >
Recovery phrase is invalid - Ledger Support
If your device still tells you that the recovery phrase is invalid, this means that you have not correctly written down your recovery...
Read more >
Wrong Address, Missing Funds, Empty Accounts ... - YouTube
(Common Seed, Passphrase and Wallet Issues) ... Whether they restored their recovery seed and get a bunch of empty accounts, get error ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found