# Importing a Wallet to Keystore

If you have an existing wallet which isn't working/supported, need to recover a Keystore or would like to use Keystore in general (an encrypted version of your seed phrase) to connect addresses to THORSwap, please follow the following steps:

To generate a keystore wallet from existing seed phrase, click the **CONNECT** button on top right of THORSwap UI.

### **Click “Import Phrase”**

<figure><img src="/files/R92OSNXIOOecWVUaJUiI" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/O1LkjoyPzig0M7pmlA6i" alt=""><figcaption><p><strong>Remember:</strong> Seed Phrase + Password = <strong>A new file to be downloaded.</strong></p></figcaption></figure>

**Any BIP39 standard 12 seed phrases can be used to generate a Keystore wallet file.**&#x20;

Enter your Seed Phrase followed by a decryption password, then click 'Backup Keystore'. This process is local and private to your own device.

<mark style="color:$danger;">**The password you choose is the password you use to decrypt your encrypted Keystore file! Remember this well as THORSwap will not be able to recover it for you.**</mark>

<mark style="color:$warning;">**IMPORTANT:**</mark>\
\ <mark style="color:$warning;">**- You will need to enter your password to sign off transactions, to unlock your seed phrase, transfer between wallets, upgrade your $RUNE, enter and withdraw funds from LP, and when you initially connect to THORSwap.**</mark>\ <mark style="color:$warning;">**- Make sure it is a secure password.**</mark>\ <mark style="color:$warning;">**- Do not Forget it! As this may cause you to lose your funds!**</mark>\ <mark style="color:$warning;">**- The best place to store your password? In your brain. Or if you are forgetful then write it down, laminate it and then store it in a safe place. Preferably in a vault in a bank with a cute but vicious guard dog.**</mark>

After you click 'Backup Keystore', you will get your encrypted Keystore file:

<div align="left"><img src="/files/-MkNcQ39MA4DRPtHP1rk" alt="keystore file downloaded"></div>

Please **store** it **safely**! As your funds may be lost if you lose the file!

**DO NOT** share your Keystore file with anyone, and please don’t put it on the cloud unless it is an encrypted cloud storage service.

It is perfectly acceptable to use Keystore Wallet file for temporary use. Simply delete the file and import/generate a new Keystore wallet in the future. As long as you keep your seed phrase safe, you can generate a new Keystore file at any time.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.thorswap.finance/thorswap/thorswap/wallets/importing-a-wallet-to-keystore.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
