Skip to Content
Agent WalletPrivate BetaHardware Control
On this page

Hardware Control

A hardware-backed session uses a connected OneKey device for supported signing requests. The user reviews and confirms requests on the device. Device capabilities and transaction details available for review depend on the chain, firmware, and CLI version.

When To Escalate

FlowHardware expectation
High-value transferUser reviews recipient, amount, chain, and fee on the OneKey device.
Contract interactionAgent runs simulation first, then the device displays clear-signing details when supported.
Swap executionAgent quotes and builds first; device confirmation happens only after the user approves execution.
Hidden walletPassphrase mode is explicit so the agent does not guess whether a hidden wallet is active.
Device trust checkonekey device verify runs device verification. A successful check does not validate the safety of a transaction.

Connect and Login

List connected devices:

onekey device search

Authenticate with a hardware wallet:

onekey auth login --hardware

When multiple devices are connected, select one explicitly:

onekey auth login --hardware --device-id <uuid>

Choose one passphrase mode for the intended wallet. These are alternatives, not a sequence:

ModeWallet selection
noneStandard wallet, with no passphrase.
on-hostHidden wallet, with passphrase entry on the host. Keep the passphrase out of agent messages and logs.
on-deviceHidden wallet, with passphrase entry on a device that supports it.

Inspect the installed CLI schema before selecting a mode. After login, verify the active address; a different passphrase selects a different wallet.

Active Session

Hardware-backed sessions are reported by onekey auth status as:

FieldExpected value
loginMethodhardware
walletKindhw
deviceConnected OneKey device info
passphraseModenone, on_host, or on_device

After login, follow-up commands use the active session automatically.

Device Lifecycle

Run only the action the user requested, after inspecting the installed CLI schema and explaining any setting change:

ActionCommand family
Verify the connected deviceonekey device verify
Change the device PINonekey device change-pin
Change passphrase protectiononekey device toggle-passphrase
Inspect or change device settingsonekey device settings

If a command is absent from onekey schema --list, report the unsupported command instead of guessing its parameters.

Do not bypass physical confirmation. If the device is locked, disconnected, asks for PIN or passphrase, or rejects a request, report that state and stop.

Last updated on