Hardware Chain Integration

Implement or review hardware-wallet chain support, address derivation, signing methods, derivation paths, transaction serialization, message signing, or device capability checks.

onekeyhq 3918d83 2 files · 1.4 KB Updated

File contents

Hardware Chain Integration

  1. Read the chain overview, the relevant chain document, and the device capability matrix.
  2. Find the closest existing chain method and its fixtures/tests.
  3. Separate host-side validation and serialization from device-owned key use and confirmation.
  4. Preserve exact derivation-path, numeric, byte-order, canonical-encoding, and signature semantics.
  5. Never log or persist seed material, private keys, passphrases, raw sensitive payloads, or wallet sessions.
  6. Do not bypass device confirmation or silently downgrade an unsupported device/firmware path.
  7. Test deterministic public vectors, malformed input, unsupported firmware/device capability, cancellation/failure, and public API compatibility.

When shared method infrastructure changes, verify at least one existing chain in addition to the new or modified chain.

onekeyhq/hardware-js-sdk/tree/main/.skillshare/skills/hardware-chain-integration commit 3918d83b92

Frequently asked questions

npx skillmds@latest add onekeyhq/hardware-chain-integration