A cryptocurrency wallet is software or hardware that manages the cryptographic keys controlling blockchain assets and constructs, signs and broadcasts transactions on a user’s behalf. It does not store coins, which exist only as ledger entries, but rather safeguards the private keys that authorise spending and prove ownership. Wallets range from custodial services that hold keys for users to non-custodial and hardware wallets that give users sole control.

Overview

  • Coins and tokens are not files held in a wallet; they are entries on a Blockchain ledger. Ownership is the ability to produce a valid signature with the corresponding private key, so the wallet’s true job is to protect and use keys.
  • A wallet derives addresses from public keys, tracks balances by reading the ledger, builds transactions, signs them with the private key and broadcasts them to the network.
  • Custodial wallets hold keys on the user’s behalf, trading control for convenience and recovery, while non-custodial wallets place sole responsibility and sole control with the user.
  • Hierarchical deterministic wallets generate a tree of keys from a single seed phrase, enabling backup and recovery from a short mnemonic.

Mechanisms

  • Key generation produces a private key and derives the public key and address through asymmetric cryptography.
  • Transaction signing applies the private key to a transaction hash, producing a Digital Signature the network can verify against the public key.
  • Seed phrases encode the master key as human-readable words for backup and restoration.
  • Hardware wallets keep keys in a secure element and sign offline, isolating secrets from internet-connected devices.

Applications

Key aspects

  • Loss or compromise of the private key or seed phrase results in irreversible loss of the assets.
  • The custody choice fundamentally shapes the security and recovery model.
  • Account abstraction and smart-contract wallets add programmable recovery and policy controls.

Provenance