> For the complete documentation index, see [llms.txt](https://docs.libertyswap.finance/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.libertyswap.finance/zkx-wallet/user-manual/connecting-zkx-wallet-to-keystone.md).

# Connecting ZKX Wallet to Keystone

ZKX Wallet supports QR-based hardware wallet connections, allowing users to securely import Keystone accounts and sign transactions or messages in both online and offline environments.

### Importing Keystone Accounts into ZKX Wallet

**Step 1:** Install the ZKX Wallet browser extension and select Import Existing Account.

If you already have ZKX Wallet installed:

* Open the wallet
* Navigate to Account → Add Account → Connect a Hardware Wallet

**Step 2:** Select More, or scroll down and choose the QR-based connection option.

**Step 3:** Allow the ZKX Wallet extension to access your device camera.

<figure><img src="/files/ckyDDkWn3T3J5rNPxA0s" alt="" width="375"><figcaption></figcaption></figure>

<figure><img src="/files/g8g20YpNimm2XzHoKncH" alt="" width="375"><figcaption></figcaption></figure>

**Step 4:** Unlock your Keystone device and select Connect Software Wallet.

**Step 5:** Choose the MetaMask option on your Keystone device to generate the QR code.

<figure><img src="/files/ZCWpCCRUsLuSg9SoS3NJ" alt="" width="375"><figcaption></figcaption></figure>

**Step 6:** Use ZKX Wallet to scan the QR code displayed on the Keystone device.

**Step 7:** ZKX Wallet will display the wallet addresses derived from the scanned QR code.\
Select the accounts you want to import, then click Continue.

**Step 8:** Optionally, assign custom names to the imported accounts or keep the default names.

<figure><img src="/files/tKlvQ2xpJPL6F2BSMKT5" alt="" width="375"><figcaption></figcaption></figure>

<figure><img src="/files/Go4DqQdsBilm6AUOvaNJ" alt="" width="375"><figcaption></figcaption></figure>

**Step 9:** Your Keystone accounts are now connected and ready to use within ZKX Wallet.

### Signing Transactions with a Keystone Account

**Step 1:** Prepare the transaction in the ZKX Wallet extension and click Proceed.

**Step 2:** Review the network fee and transaction details carefully.

**Step 3:** Scan the QR code displayed in ZKX Wallet using your Keystone device.

Important:\
Complex transactions or messages may generate dynamic QR codes. If this occurs, allow enough time for the Keystone device to scan the full QR sequence completely.

**Step 4:** Review the transaction details on your Keystone device and select Sign.\
The device will generate a QR-based signature.

**Step 5:** Confirm the signing process on the Keystone device.

**Step 6:** Return to ZKX Wallet, click Get Signature, and scan the QR signature displayed on your Keystone device.

**Step 7:** ZKX Wallet will process and confirm the transaction status.\
Once completed successfully, the transaction will appear in the wallet’s Activity section.

<br>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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.libertyswap.finance/zkx-wallet/user-manual/connecting-zkx-wallet-to-keystone.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.
