Technology7 min read

How a hardware wallet signs a transaction

Signing is the moment a wallet turns intent into an irreversible network message. Understanding the steps is the best defence against approving something you did not read.

Glowing amber cubes connected by fine lines floating in dark space, illustrating a distributed network

Step one: the app builds a draft

Your companion app assembles a transaction: which coins, how much, which recipient address, and a network fee. At this stage nothing is signed and nothing is final. The draft is just data.

Because the app runs on a general-purpose computer, assume it could be compromised. The draft is untrusted input until the device has verified it.

Step two: the device decodes and displays

The transaction is sent to the hardware wallet, which parses it independently and shows the important fields on its own screen: amount, destination, fee.

This is the point of the screen. You are not confirming what your laptop claims, you are confirming what the secure element decoded from the raw bytes.

Step three: you approve, the key signs

A physical confirmation unlocks the signing operation. The private key is used inside the secure element to produce a signature, then the signature is returned to the app.

The key itself never leaves the chip. The app receives a signature that is valid for exactly one transaction, which is useless for anything else.

Step four: the network verifies

The signed transaction is broadcast. Nodes check the signature against your public key, confirm you have the balance, and include it in a block.

From that point the transfer is public and irreversible. That is why the address check matters more than any other habit: read the first and last characters on the device screen, not on your monitor.

  • Confirm the destination on the device, character by character.
  • Send a small test amount the first time you use a new address.
  • Be sceptical of any request to "speed up" a transaction with a new signature.

Why air-gapped matters

A device that never connects to a network has no remote attack surface. Some wallets use a USB or Bluetooth channel to carry the draft and the signature; others use a QR code or SD card so even that channel is removed.

Either design keeps the key offline. The difference is how much of the transport you are willing to trust.

Keep your keys offline

A device you understand is worth more than one you fear.

Explore the wallet →