# What is keystore

The Keystore file is a file format used for storing private keys (usually in JSON format). It is encrypted with a user-defined password to provide a certain level of security, but the strength of encryption primarily depends on the complexity of the password chosen by the user.

Please pay attention to the following two important points to ensure the safe use of the Keystore:

1. Please use an uncommon and as complex as possible password to encrypt the Keystore file. This will enhance the security of your wallet.
2. Always remember the password used to encrypt the Keystore file. If you forget the password, you will not be able to access the Keystore file again.
3. TokenPocket cannot assist you in recovering the password. Therefore, it is crucial to securely store the Keystore file and password.

By following these recommendations, you can manage your Keystore file and wallet in a more secure manner.

### <mark style="color:orange;">How to export a keystore:</mark>

Open TokenPocket, click on the upper-right corner of the blue card labeled "Details," select "Export Keystore" on the wallet details page, and enter the correct password to view the keystore data.

Data viewing supports two types: one is through keystore file, and the other is through QR code. Both require the password that is currently set for this address in the wallet. Please be sure to remember it, as failing to do so will prevent you from importing your wallet and managing your on-chain assets.

<figure><img src="https://2516903027-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MMJyYRLFVRsMrfcXuRV%2Fuploads%2FH80n08Ivijx1glMJX2xW%2F2.png?alt=media&#x26;token=68f08e3f-bf09-4a45-a294-f40b169e11e8" alt=""><figcaption></figcaption></figure>


---

# 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://help.tokenpocket.pro/en/blockchain-basics/what-is-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.
