> 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="https://1528550342-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqaQp0E2p9WUSJko6TzUr%2Fuploads%2F4jTLOnMLSb1YAfAmuwkx%2F1.jpg?alt=media&amp;token=8fa4e9a2-7e2c-4020-9dd7-6a9a71ecab3d" alt="" width="375"><figcaption></figcaption></figure>

<figure><img src="https://1528550342-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqaQp0E2p9WUSJko6TzUr%2Fuploads%2FQiTVChkydGpeBtN1loJM%2F2.jpg?alt=media&amp;token=b8c32886-480e-46da-8d81-d6b1cacf5bbb" 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="https://1528550342-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqaQp0E2p9WUSJko6TzUr%2Fuploads%2FzhuypVQnPBFU6No966pU%2F3.jpg?alt=media&amp;token=ea2c6d5c-f0a6-49e7-bfd3-b45a7af479b2" 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="https://1528550342-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqaQp0E2p9WUSJko6TzUr%2Fuploads%2Fvb66CWNjNUF9Dmcl9NmX%2F5.jpg?alt=media&amp;token=07f6a45d-4390-4702-90e6-21cfd5bbcb1c" alt="" width="375"><figcaption></figcaption></figure>

<figure><img src="https://1528550342-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqaQp0E2p9WUSJko6TzUr%2Fuploads%2FZCTfovYE1Eo4ecB0i0WC%2F6.jpg?alt=media&amp;token=6003f92e-8aa0-4a60-beab-d857f8870268" 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>
