Skip to Content
Connect to hardwarehardware-sdkOverview

Introduction

Developer‑focused documentation for integrating OneKey hardware in Web and Native apps. Start with Quick Start (Web), then pick your transport guide, wire events, and call chain APIs.

Quick Start

For Web developers getting started quickly: a compact path from init to first call, with copy‑pastable code snippets. See Getting Started.

Choose Your Transport

Platform (Stack)TransportSDK PackageGuide
Web (Browser)WebUSB@onekeyfe/hd-common-connect-sdk WebUSB Connection Guide
React NativeBLE@onekeyfe/hd-ble-sdk React Native BLE
Android (Native)BLE@onekeyfe/hd-common-connect-sdk Android BLE
iOS (Native)BLE@onekeyfe/hd-common-connect-sdk iOS BLE
FlutterBLE@onekeyfe/hd-common-connect-sdk Flutter BLE
  • Try in Playground: hardware-example.onekey.so  — Try WebUSB connection, call sample APIs, and test with the built‑in emulator device.
    • Live hardware wallet simulation
    • Real-time API testing
    • Multi-chain protocol support
    • No hardware device required for testing (you can use the emulator device)

API References

Device and transport compatibility

Support status for Bluetooth, USB, and Air-Gap connections

DeviceBluetoothUSBAir-Gap
OneKey Classic 1s
OneKey Classic 1s
OneKey Classic 1s
SupportedSupportedN/A
OneKey Classic 1s Pure
OneKey Classic 1s Pure
Battery-free edition
SupportedSupportedN/A
OneKey Mini
OneKey Mini
Compact USB-only wallet
N/ASupportedN/A
OneKey Touch
OneKey Touch
Full touchscreen experience
SupportedSupportedN/A
OneKey Pro
OneKey Pro
Premium with fingerprint security
SupportedSupportedSupported

Air-Gap Mode: OneKey Pro supports air-gapped signing via QR codes — no USB or Bluetooth connection required, providing the highest level of security. See Air-Gap Integration for details.

Core packages

PackagePurposeNPMVersion
@onekeyfe/hd-common-connect-sdkUnified SDK surface for Web/Native; recommended entry for transportsnpm npm
@onekeyfe/hd-ble-sdkPure React Native BLE stack (recommended for RN projects)npm npm
@onekeyfe/hd-transport-react-nativeReact Native transport side‑effects/bridgenpm npm
@onekeyfe/hd-transport-web-deviceWeb transport for device access in web contextsnpm npm
@onekeyfe/hd-transport-emulatorEmulator transport (develop and test without a physical device)npm npm
@onekeyfe/hd-transport-httpHTTP bridge transportnpm npm
@onekeyfe/hd-transport-lowlevelLow‑level host adapter contract (for native integrations)npm npm
@onekeyfe/hd-coreCore events, constants, message wiringnpm npm
@onekeyfe/hd-sharedShared utilities and typesnpm npm
@onekeyfe/hd-web-sdkWeb SDK wrapper (not recommended; prefer hd-common-connect-sdk)npm npm

Concepts and advanced topics

Support

For users: This documentation is primarily for developers. If you encounter issues while using our products, please consult our Help Center or submit a support ticket.

Last updated on