filsnap icon indicating copy to clipboard operation
filsnap copied to clipboard

[feature]: Import a private key

Open eshon opened this issue 3 years ago • 1 comments

Summary

Add the ability to import a Filecoin private key into the FilSnap (as available in the MetaMask GUI) by using either:

  1. a private key string
  2. a JSON file upload

Expected behavior / User Story

Screen Shot 2022-04-28 at 12 17 08 PM Screen Shot 2022-04-28 at 12 17 14 PM

Completion

When I want to import a private key I am given the option of importing a private key string or uploading a JSON file containing the private key.

When I import the key using either method, the FilSnap loads my Filecoin account into the FilSnap UI as another account I can use.

(Optional) I can switch between recently imported and created accounts as in the MetaMask UI.

eshon avatar Apr 28 '22 10:04 eshon

Sounds like this is currently blocked by the MetaMask SNAP API and needs discussion with the MM team

eshon avatar Jun 23 '22 13:06 eshon