ข้ามไปที่เนื้อหาหลัก

เชื่อมต่อ OneKey Pro กับ MetaMask ผ่านรหัส QR (Air-Gapped)

อัปเดตแล้วเมื่อวานนี้

This article provides a detailed guide on how you can effectively connect OneKey Pro (an air-gapped hardware wallet) with application wallets like MetaMask, and how you can sign transactions via QR code.

To ensure a successful connection between your OneKey Pro hardware wallet and the application wallet, please make sure the firmware on your OneKey Pro has been updated to the latest version.

Connecting with Application Wallets via QR Code

OneKey Pro offers a simple and secure method to connect with your favorite application wallets using QR codes. Here's how you can connect OneKey Pro with the MetaMask mobile application:

Step 1: Unlock OneKey Pro

  • Enter your PIN to unlock your OneKey Pro device.

  • Swipe up to display the apps.

Step 2: Get QR Code

  • Select "Connect App Wallet" from the screen.

  • Choose "MetaMask", and a QR code will appear.

air gap on onekey pro.png

Step 3: Add Hardware Wallet in MetaMask

  • Open the MetaMask mobile application and enter your PIN to unlock it.

  • Tap on your existing account name and select "Add hardware wallet".

Metamask add OneKey QR.png

Step 4: Scan QR Code to Connect with OneKey Pro

  • Select "QR-based".

  • Tap "Continue" when the "Connect a QR-based hardware wallet" message appears.

  • Scan the QR code displayed on your OneKey Pro.

Air gap scan to add to metamask .png

Step 5: Select Accounts to Import from OneKey Pro

  • After a successful scan, your OneKey Pro accounts will be displayed in MetaMask.

  • Select the single or multiple accounts you wish to import into MetaMask.

  • Once confirmed, click "Unlock".

  • You will now be able to see your OneKey Pro accounts, labeled as "QR hardware", within MetaMask.

Metamask unlock OneKey Pro accounts.png

Signing Transactions via QR Code

OneKey Pro allows you to sign transactions via QR code when connected to application wallets like MetaMask. This process ensures that your transaction data never leaves the secure environment of your hardware wallet, providing an extra layer of security. Let's walk through how you can do this:

Step 1: Initiate Transaction from MetaMask

  • Initiate a transaction from your OneKey Pro address on the MetaMask mobile application.

    Metamask 发起交易1.png
  • Once you navigate to the Confirm screen, review the transaction details and tap "Confirm".

    Metamask 发起交易2.png
  • A QR code will appear on your MetaMask screen. This QR code contains the transaction details.

Step 2: Sign Transaction on OneKey Pro

  • Open your OneKey Pro and select "Scan".

  • The QR code scanner will open on your OneKey Pro. Scan the QR code displayed on your MetaMask.

    Metamask and pro scan each other to sign #1.png
  • Your OneKey Pro will decode the transaction details and display them for your review.

  • If the transaction details are correct, tap "Continue" and swipe to sign the transaction on your OneKey Pro device.

pro-scan-signTX-step2.png

Step 3: Export Signature to MetaMask

  • A new QR code will be generated on your OneKey Pro. This QR code contains the signed transaction details.

  • Tap the "Get Signature" button on your MetaMask, and the QR code scanner will open.

  • Scan the QR code generated on your OneKey Pro to complete the transaction.

Metamask and pro scan each other to sign #2.png

AirGap Mode

AirGap Mode refers to a security measure where your OneKey Pro is completely isolated from other devices and networks. This isolation prevents potential remote attacks that may try to access your digital assets by disabling Bluetooth, USB, and NFC transfer functionalities.

To enable AirGap Mode on your OneKey Pro, follow these steps:

  1. Unlock your OneKey Pro device and navigate to the "Settings" menu.

  2. Select "AirGap Mode" from the menu.

  3. Toggle "Air Gap" on to enable AirGap Mode.

  4. You will be prompted to confirm your action. Tap "Enable" to activate AirGap Mode.

Once AirGap Mode is enabled, your OneKey Pro will operate independently, ensuring your digital assets are stored in the most secure environment possible.

Currently, only EVM and Bitcoin addresses are supported in AirGap Mode—disable AirGap Mode and re-establish a connection via cable or Bluetooth when you cannot generate non-EVM or BTC addresses (e.g., Solana).

นี่ไม่ใช่คำตอบที่ต้องการใช่ไหม