MetaMask / MetaMask/metamask-extension
Enable import of private key via QR code
- Dominant language
- TypeScript
- Stars
- 13.2k
- Forks
- 5.6k
- Avg merge
- 2d 5h
- Merged PRs (30d)
- 451
Description
**Describe the bug**
Today we support scanning QR for the send flow, I would like to request an enhancement to add the QR scanning capability into the private key import field. This would help reduce user transcription errors and would bring extension client into parity with mobile.
**Steps to reproduce**
1. Tap accounts drop-down
2. Select `Import account`
3. Observe lack of ability to scan a QR
**Version**
10.34.5
**Build type**
None
**Browser**
Chrome, Firefox
**Operating system**
MacOS
**Additional context**
QR scanning in send flow:

Place where it would be nice to have QR scanning button in private key import:

Contributor guide
Research direction
Start from the Accounts > Import account flow and compare it with the existing QR scanning behavior in the send flow. Check the result in Chrome and Firefox; done means a user can scan a private key QR code during import instead of transcribing it, bringing the extension flow toward mobile parity.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend, security
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100