General: Import account via Mnemonic
See original GitHub issueOverview
Right now you an import a private key, but you should have the option to import both by mnemonic and private key (and also display both when generating)
This applies to the ape-account
plugin.
Specification
Brownie does this currently. Also see here
Dependencies
No dependencies
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
How to use recovery mnemonic in metamask to import ...
Importing a mnemonic can only be done when you are not logged in. It's best to backup any existing accounts in the current...
Read more >goal account import - Algorand Developer Portal
Import an account key from a mnemonic generated by the export command or by algokey (NOT a mnemonic from the goal wallet command)....
Read more >Create/Import/Export Wallet
Create/Import/Export Wallet ... You can choose to create a wallet through the extension or import your existing wallet using a mnemonic phrase or...
Read more >Demo: Import a mnemonic seed phrase of another wallet
To get started select Import a wallet on the Choose your wallet screen and then select Mnemonic wallet. In the first step the...
Read more >Import a Ledger account
Enter your mnemonic/seed phrase in the appropriate slot, separating the words by space & taking care to check that they are spelled correctly....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
So, this was put on a blanket disclosure. I actually don’t think it’s that big of a deal.
Here’s why:
eth-account
implementation is audited that deals with signing. mnemonic is not a signing methodHonestly, could probably petition to remove the disclosure in
eth-account
, at the time I implemented it this was done as a cautionary measure, it’s been over 2 years without any issues, and people have used that implementation in Brownie since I did, so I think that combination of factors at least makes it safe to use in apeEdit: these two methods are the only ones I could think of that could potentially be problematic:
https://github.com/ethereum/eth-account/blob/cc2feca919474203b0b23450ce7f2deed3ce985c/eth_account/hdaccount/mnemonic.py#L122-L155
Yeah, probably a mutually exclusive option to import via private key (flag only, does not accept input this way only through secret input) or input via combo of mnemonic (also secret input only) and hdpath (which can be parameter, with sensible default), all to produce a singular account