EIP-7980 Ed25519 transaction signature support (Ed25519 transaction support)
No call decision · Security & privacy · EIP status Withdrawn · created 2025-06-25
A proposal to register Ed25519 (type 0x0) within the EIP-7932 signature algorithm framework so that Ethereum transactions could be signed with algorithms other than secp256k1. It was withdrawn after P256, which carries a lighter implementation burden, was chosen as the test algorithm instead.
Why it is needed
Until now, Ethereum transactions could only use one type of signature, based on the secp256k1 curve. EIP-7932 proposed a framework for extending support to multiple signature algorithms, but without a concrete algorithm plugged into that framework for actual testing, client teams would have had a hard time validating their implementations. This EIP sought to register Ed25519, already widely used for SSH keys and backed by rich tooling support, as the first test algorithm under EIP-7932, providing a reference implementation for the development stage. It also cites as motivation the fact that interoperability with Ed25519 could be useful in server environments, such as ERC-4337 bundlers, that sign using hardware security modules (HSMs) or TPM chips.
What changes
Today
- Transaction signatures use only one algorithm, secp256k1
- With no implementation registered in the EIP-7932 algorithm registry, there is no baseline to test against during development
- There is a lack of a standard alternative for ERC-4337 bundler signing in HSM-based server environments
After EIP-7980
- Register Ed25519 signatures as algorithm type 0x0 in EIP-7932 for use as the test algorithm
- Verify a 96-byte signature (64-byte signature plus 32-byte public key) and derive the address from the last 20 bytes of keccak256(public key)
- Impose a 1000 gas penalty relative to existing secp256k1 accounts to discourage switching
Who is affected
- Client teams: It would have provided a test algorithm to reference during the early stages of implementing EIP-7932.
- Wallet & app developers: The Ed25519 verification logic could have served as a reference case when supporting new signature algorithms.
- ERC-4337 bundler operators: Interoperability with HSM- or TPM-based signing infrastructure could have improved.
- Ordinary users: Since the proposal itself was withdrawn, it has no effect on actual transaction processing.
In depth
Relationship to EIP-7932
This EIP does not function on its own; it operates on top of the alternative signature algorithm registration framework defined by EIP-7932. EIP-7932 provides a structure for registering algorithm types so that transactions can use signature algorithms other than secp256k1, and this EIP is the concrete implementation that plugs Ed25519 into that framework as type 0x0. 7932 is listed in the requires field.
Algorithm parameters
Defines the three constants required by the EIP-7932 framework. ALG_TYPE is Bytes1(0x0), GAS_PENALTY is 1000, and MAX_SIZE is 96. The 96-byte MAX_SIZE is the combined length of the 64-byte Ed25519 signature and the 32-byte public key.
Verification logic
The verify function first checks that signature_info is 96 bytes long, then splits it into the first 64 bytes as signature and the last 32 bytes as public_key. It performs the Verify function defined in RFC 8032 Section 5.1.7 against payload_hash, and this must be handled strictly as pure Ed25519, not the Ed25519ctx or Ed25519ph variants. If verification succeeds, it returns the last 20 bytes of keccak256(public_key) as the sender address (ExecutionAddress).
Reason for the 1000 gas penalty
According to the Rationale, this penalty serves two purposes: discouraging people from unnecessarily moving away from existing secp256k1 accounts, and offsetting in gas the additional hashing overhead that the Ed25519 curve requires.
Why Ed25519 was chosen
Ed25519 was selected as a good 'dummy' algorithm for client teams implementing EIP-7932 to test against, since it has rich tooling support and is one of the standard methods used for SSH keys. It also notes that it could be useful when signing with a hardware security module (HSM) in a server environment acting as an ERC-4337 bundler, and could improve interoperability with other components such as TPM chips.
Reason for appending the public key to the signature
Unlike secp256k1's ecrecover, Ed25519 has no efficient way to recover the public key from just the signature and message. For this reason, this EIP constructs signature_info by appending the 32-byte public key directly to the signature, splitting it back out at verification time.
Security considerations not written, status withdrawn
The Security Considerations section contains only a 'Needs discussion' TODO, with no concrete security analysis written. This EIP's status is currently Withdrawn, and the withdrawal-reason explicitly states that P256 was chosen as the test algorithm instead to reduce implementation burden. In other words, once P256 was selected as EIP-7932's test algorithm instead of Ed25519, this proposal no longer moved forward.