Note

note is stream cipher encrypted with symmetric key key, derived from shared key1. key = hash(sharedSecret, ephemeralKey) where publicKey is recipient public key. based off diffie-hellman shared secret.

Payment Note

Note = (sn, value, tokenId, spendHook, data, , , memo)

NoteDescription
snserial number sampled at random
valuepayment value
tokenIdtoken id
spendHookcoin related contract
datadata used by the coin contract
value commitment blinding term
token commitment blinding term
memoarbitrary data