Wallet is a cryptographic certificate associated with a user. It allows user to sign datums for regular transaction actions.

This is a file in the folder <cellframe-node>var/lib/wallet with .dwallet extension. It can be not-secured or secured by users password or seed phrase with corresponding command - Node Command - WALLET CONVERT

Public key from wallet identifies specific wallet address (see addr structure) in specified network to accept or transfer funds from.

How it works

During datum (for example, transaction) creation, user signs it by certificate from wallet. Upon this user declares his ownership on this datum and usage of funds from transactions which have output on the address of this wallet.

Structure

Wallet address structure consists of an ID version of the public key and control sum.

Fields offsets (in bytes):

  • 0 - Version
  • 1-8 - Network ID
  • 9-12 - Signature ID
  • 13-44 - Public key hash
  • 45-76 - Hashsum of all previous data

Addresses of the same wallet are different in different networks.