Polkadot-JS UI: How to Import a Private Key From Another Wallet Print
Modified on: Tue, 7 Feb, 2023 at 11:00 AM
Restoring an account in any wallet is fundamental to the user's control over their own assets. Whether directly as a private key or as a mnemonic phrase, the necessary steps must be clear, and the user must know how to perform them securely.
Most third-party wallets (e.g., Polkawallet, Trust Wallet, etc.) use a 12-word or 24-word mnemonic phrase to back up your account. Here is how you can restore your account with its mnemonic phrase:
How to restore your account in the Polkadot extension
However, if you created your Polkadot account in an older wallet version or a wallet that isn't supported anymore, your private key may be in the form of a raw seed instead of a mnemonic phrase. To import this type of account into Polkadot-JS, you'll need to use the Polkadot-JS UI web wallet instead of the Polkadot browser extension.
⛔ READ THIS FIRST!
Exposing your private key online poses a security risk. You should only do this if you have no other options and if you are planning to send your funds to a new account with a new mnemonic phrase.
How to import your private key on Polkadot-JS UI
1. Export your private key from your original wallet. You may have to check with the Customer Support of your wallet provider on how to do that.
2. Once you have your private key, go to Polkadot-JS UI and navigate to the Settings tab. In the account options, allow local in-browser account storage and click Save:
3. Navigate to the Accounts page and click on the "+ Account" button:
4. Click on the word "Mnemonic" and select "Raw seed" from the drop-down menu that appears.
Delete the shown private key and enter yours instead.
‼️ IMPORTANT
If your key doesn't start with 0x, add it manually in front of it.
5. This should generate your account address on top of the window. Check the box "I have saved my mnemonic seed safely" and click Next.
6. Give your account a descriptive name and a good password. Click Next, review the details, and click Save.
And that's it, your account has now successfully been imported, and you will see it listed on your Accounts page.
Did you find it helpful? Yes No
Send feedbackDisclaimer: We always strive to provide you with the best support we can and we take all care to ensure that our instructions are accurate and concise. However, following these instructions properly, as well as the general management of your accounts and funds, is ultimately your responsibility. Web3 Foundation cannot be held liable for any accidental loss of funds or any other damage you might incur.