Session keys are a common use case!
Also expiration means we maybe can clean up the keystore eventually using pseudo random periodic sweeps that delete old expired actor storage. We see potential for a lot of session keys to be made (subscriptions, apps etc).
Also can do something like an admin key in cold storage that only signs fresh operators (non-admin) yearly that expire automatically.
Should never have an expiration on your admin set (especially at account creation, so that’s not even an option)
Authenticators are separate code entirely. Typically stateless simple pure functions.
So no risk on intercepting receive.
But also can always sponsor a tx instead of sending eth to account to pay for itself. Or even you can relay signed account changes in EVM execution from a separate account
Fixing frames:
The frames account model is that the account itself should be the authority, an "internally owned account".
This model gives the protocol a black box that it can send data at and see if opcodes come out. Tracing and other mitigations are added to try and peek into the box.
8130 can express that model. It can also express externally owned accounts, and authorization more granular than full ownership. Use an external authenticator and the frame problems do not appear. Use the frame model inside 8130 and you get the same problems.
Frames force that broken account model onto the user and they try to enshrine it.
So how do we fix 8141?
We need to use the 8130 keystore to bring authority back out of the account. Internally owned accounts are still expressible via the keystore, so 8130 is strictly more general.
Once authority is correctly external, we can start cutting complexities and mitigations in 8141.
Signature list - no longer needed, authenticators are external and aggregation is simple
Opcodes - no longer needed, we are speaking to authenticators now that aren't coupled with wallet execution and authority code
Tracing infrastructure - optional! May be needed if the chain wants to support some specific use cases
So what's left is frames themselves, which we can cut as well. The remaining argument is that the arbitrary ordering means you can pay for a transaction at the end of execution. If a chain wants it then just add a payer mode. 8130 already has self and external, so add a tag for self-pay at end of transaction.
Fixing frames means dropping frames.
Yeah that’s one way to think of it. The wallet account code in 8141 is all in one place, execution, authentication and authority. A wallet could design an extensible authentication mechanism (ie 8130 accounts running on 8141) that allows to extend the wallet to new code but even if it does that its always driven through the 8141 account model which is that the account has the authority. This means the protocol can’t know what will happen and needs to add tracing etc.
The 8141 account model is expressible in 8130 as I mentioned, so 8130 is a more expressible system for account expression (where as frames has a more expressive tx envelope). Some see this (8130) model as taking wallet implementation details but I think it’s nice to see it as enabling a wallet to flexible with but in a way that has protocol visibility. Both can write a wallet with any code, 8130 just encourages you (but doesn’t force) to use the right buckets so that the protocol can do a good job.
Hey so this doesn’t actually work for us!
Default code is used for codeless accounts, so must start as an EOA and remain codeless. So what about the 65M existing smart accounts, or an account with only a passkey, or an account that wants custom code (like we do)?
What it does do is enable a frame chain to get the benefits of 8130, but only for EOA codeless accounts (which would be helpful for L1 but doesn’t fix underlying issues)
Always happy to chat/answer any questions about 8130/our views btw, can just ask
Note the gist does say keystore works for any tx type. So it is compatible with frames!
Ideally we would all use the same tx type itself, but that isn't as important as getting the EOA experience for smart accounts!
=== @Offchain’s stance on Native AA: EIP-8141 vs EIP-8130 ===
We are very happy that ACD is considering Native AA as a Hegota headliner, and think it is essential for L1 to adopt it.
For @Arbitrum, we evaluate Native AA designs based on throughput, DoS risk, DevEx, and wallet UX/security.
TLDR ->
• To support 8141 in Arbitrum Nitro, we need pure verification frames to become the default validation path. We are working with @ethereumfndn, @ethlabs_org, @base, & @WalletConnect on this direction.
• We also support an optional Guarantor mechanism, where another account can safely pay for the transaction. We will propose this separately.
• Offchain is reviewing the prospect of proposing that the Arbitrum DAO adopt 8130 first. It provides the guarantees needed today, covers the main user flows & does not prevent adding 8141 later.
• We think 8130 deserves genuine consideration in this headliner process, but we are not explicitly asking ACD to adopt it.
• If ACD converges on a modified 8141 for L1, we will support this effort and reconsider implementing it alongside 8130.
What matters most to us: Native AA standards designed with L2s in mind, in compatible ways, so wallets and infra can support them.
Full statement below 👇
The fundamental problem with previous AA attempts is the account model!
Coupling account execution, authentication and authority in one place means that the protocol loses visibility, dependencies must be discovered (via simulation/tracing), layers of mitigations are added.
8141 enshrines that.
The original account model that ethereum shipped with was a decoupled one! The authority was protocol managed and a single intrinsic mapping of secp256k1 to an account. 7702 let accounts set their execution code, which was a good addition.
Execution code in one place (wallet bytecode), authentication in another (secp256k1), authority in another (protocol managed mapping).
8130 just generalizes this mapping system so that its updatable to any contract defined authentication scheme and no longer singular.
Because the model stays decoupled, the transaction type can be declarative. Dependencies can be recognized in the transaction itself.
Mitigations fall away. Customizations can be added on cleanly. Every chain can build what it needs.
8130 enshrines exactly one thing, the authority mapping system, and all of AA falls out.