Records - Private
A record is a fundamental data structure for encoding user assets and application state.
Each account record contains information that specifies the record owner, its stored value, and its application state. Records in Aleo are consumed and newly created from a transition function. A transaction will store multiple transitions, each of which is responsible for the consumption and creation of its individual records. Optionally, if the visibility
of the record is private
, it can be encrypted using the owner's address secret key.
Question: So a record can be stored with plaintext on chain ?
TODO:
1. Review current docs
2. External records used in transitions are not consumed/spent (missing from current docs)
3. More details on record consumption.
4. Explaining it as encrypted UTXO and a brief description of how that paradigm works.
5. Maybe a visual here.
Last updated