Starknet Accounts
- Account abstraction. On Starknet every account is a contract: signature schemes and policies programmable per account.
- __validate__ and __execute__. Accounts implement validate and execute entry points: authorisation logic as code.
- Session and policies. Programmable accounts enable policies: spending limits and session keys as account logic.
Transactions
- Transaction lifecycle. A transaction validates, executes and lands in a proof: finality inherited from the L1 verification.
- Nonces and replay. Nonces order an account’s transactions: replay protection at the account layer.
- Multicall. Account execution batches calls: one signature, several operations, atomic together.
Fees and Execution
- Fee model. Fees price execution resources: steps and builtins metered toward the proof’s cost.
- Builtins. Builtins accelerate common operations: hashing and range checks priced as resources.
- L1 data costs. State changes pay data costs to L1: lean storage is fee engineering here too.
Before and after this level
- Before: Level 8: Components: Reusable Contract Components, Composition, Contract Architecture.
- Next: Level 10: Testing: Cairo Tests, Starknet Contract Tests, Failure and Edge Cases.
In the app each of these ideas is taught and then asked back, and the level ends with a checkpoint and flashcards. See Checkpoints and flashcards.
Frequently asked questions
What does Cairo Level 9: Accounts & Transactions cover?
Starknet Accounts, Transactions, Fees and Execution: 3 lessons and 9 ideas.
What should I know before this level?
The level before it, Level 8: Components, which covers Reusable Contract Components, Composition, Contract Architecture.