Overview

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 Quick Start.

Choose Your Transport

  • Try in Playground: hardware-example.onekey.so โ€” Try WebUSB connection, call sample APIs, and test with the builtโ€‘in emulator device.

    • Features:

      • 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

The support status for Bluetooth and USB on different devices.

Device
Bluetooth
USB

OneKey Classic

โœ…

โœ…

OneKey Classic 1s

โœ…

โœ…

OneKey Classic 1s Pure

โœ…

โœ…

OneKey Mini

โŒ

โœ…

OneKey Touch

โœ…

โœ…

OneKey Pro

โœ…

โœ…

Core packages

Package
Purpose
NPM
Version

@onekeyfe/hd-common-connect-sdk

Unified SDK surface for Web/Native; recommended entry for transports

npm

@onekeyfe/hd-ble-sdk

Pure React Native BLE stack (recommended for RN projects)

npm

@onekeyfe/hd-transport-react-native

React Native transport sideโ€‘effects/bridge

npm

@onekeyfe/hd-transport-web-device

Web transport for device access in web contexts

npm

@onekeyfe/hd-transport-emulator

Emulator transport (develop and test without a physical device)

npm

@onekeyfe/hd-transport-http

HTTP bridge transport

npm

@onekeyfe/hd-transport-lowlevel

Lowโ€‘level host adapter contract (for native integrations)

npm

@onekeyfe/hd-core

Core events, constants, message wiring

npm

@onekeyfe/hd-shared

Shared utilities and types

npm

@onekeyfe/hd-web-sdk

Web SDK wrapper (not recommended; prefer hd-common-connect-sdk)

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

Was this helpful?