Bỏ qua đến nội dung chính

Kết nối OneKey Pro với MetaMask qua mã QR (Air-Gapped)

Đã cập nhật hôm nay

This article provides a detailed guide on how you can effectively connect OneKey Pro (an airgapped hardware wallet) with app wallets like MetaMask and how to sign transactions via QR code.

To ensure a successful connection between your OneKey Pro hardware wallet and an app wallet, please make sure the software on your OneKey Pro is updated to the latest version.

Connecting to App Wallets via QR Code

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

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 the QR code will be displayed.

air gap on onekey pro.png

Step 3: Add Hardware Wallet in MetaMask

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

  • Tap on the 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" prompt 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 on MetaMask.

  • Select one or more accounts you wish to import into MetaMask.

  • After confirming, click "Unlock".

  • You will now see your OneKey Pro accounts labeled as "QR hardware" in 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 app wallets like MetaMask. This process ensures that your transaction data never leaves the secure environment of your hardware wallet, providing an additional layer of security. Let's explore how you can do this:

Step 1: Initiate Transaction from MetaMask

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

    Metamask 发起交易1.png
  • When you reach 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 data.

Step 2: Sign Transaction on OneKey Pro

  • Open your OneKey Pro and select "Scan".

  • A QR code scanner will open on 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 data and display it for your review.

  • If the transaction details are correct, press "Continue" and slide 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 data.

  • Tap the "Get Signature" button on your MetaMask, and a 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 any potential remote attacks that attempt to access your digital assets, while disabling Bluetooth, USB, and NFC transmission functions.

To enable AirGap Mode on 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" to enable AirGap Mode.

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

With AirGap Mode enabled, your OneKey Pro operates independently, ensuring that your digital assets are stored in the most secure environment possible.

Currently, only EVM and Bitcoin addresses are supported in AirGap Mode - please disable AirGap Mode and create a new connection via cable or Bluetooth when you are unable to generate non-EVM or BTC addresses (e.g. Solana).

Nội dung này có giải đáp được câu hỏi của bạn không?