Account
An Aleo account is defined by its key hierarchy:
- Private key - Full control. Can sign transactions, spend records, deploy programs. Never share this.
- Compute key - Derived from the private key. Used during proof generation.
- View key - Derived from the compute key. Can decrypt records and view transaction history. Read-only access.
- Address - Derived from the view key. The public identifier (format:
aleo1...). Safe to share freely.
Each level grants strictly less capability than the one above it. For agent architectures, the view key is typically the right level of access for monitoring and indexing, while the private key should live in a secure enclave or HSM.