Account Abstraction
When to Use
- Reviewing account contract validation and execution paths.
- Designing session-key policy boundaries.
- Validating nonce and signature semantics.
When NOT to Use
- General contract authoring not involving account semantics.
Quick Start
- Confirm
__validate__enforces lightweight, bounded checks. - Confirm
__execute__enforces policy and selector boundaries. - Verify replay protections (nonce/domain separation) for all signature paths.
- Add regression tests for each fixed session-key or policy finding.
- Run
cairo-auditorfor final AA/security pass before merge.
Core Focus
__validate__constraints and DoS resistance.__execute__policy enforcement correctness.- Replay protection and domain separation.
- Privileged selector and self-call protection.
Workflow
- Main account-abstraction workflow: default workflow
References
- Module index: references index