What is the difference between Account identifier, Principal identifier and Public-Key

  • public-key is your main public-key,
  • principal-identifier is a principal-id which is either a hash of your public key with the 0x02-byte, or a “derived-id” which is a hash of your main-principal and a nonce.

Im not sure how the account identifier is generate, i havent seen it in the spec yet, but it says this on the keysmith readme:

Among these identifiers includes an account identifier, which indicates the source or destination of an ICP token transfer.

1 Like