Skip to content

base/eip-8130

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EIP-8130

Reference implementation for EIP-8130: Account Abstraction by Account Configuration.

Warning — This is an active work in progress. The spec is changing and the code has not been audited. Do not use in production.

Overview

EIP-8130 defines a new transaction type and onchain system contract that together provide account abstraction. Accounts configure authorized actors and authenticators in the system contract; the protocol validates transactions using onchain authenticator contracts that implement IAuthenticator.authenticate(hash, data).

Contracts

Contract Description
AccountConfiguration System contract for actor authorization, account creation, and change sequencing
DefaultAccount Default wallet implementation auto-delegated to EOAs
DefaultHighRateAccount Wallet variant that blocks ETH transfers when locked for higher mempool rate limits

Authenticators

The canonical EIP-8130 authenticator set. AlwaysValidAuthenticator is an example/test helper, not a canonical authenticator.

Contract Algorithm
K1Authenticator secp256k1 (ECDSA)
P256Authenticator secp256r1 / P-256 (raw)
WebAuthnAuthenticator secp256r1 / P-256 (WebAuthn)
DelegateAuthenticator Delegated validation (1-hop)
AlwaysValidAuthenticator Always valid — keyless relay (example/testing only)

Usage

Build

forge build

Test

forge test

License

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors