EIPs Explained

EIP-7980 · Withdrawn · Core · 2025-06-25

EIP-7980: Ed25519 transaction support

A withdrawn proposal to let transactions be signed with Ed25519 keys by registering it as algorithm type 0x0 under the EIP-7932 secondary-signature framework.

What problem does it solve?

EIP-7932 proposes a framework for signing Ethereum transactions with algorithms other than secp256k1. A framework like that needs at least one concrete algorithm so client teams can build and test it.

EIP-7980 suggested Ed25519 for that role. It is one of the most widely used elliptic-curve schemes (for example, a common default for SSH keys), has mature tooling, and could be handy for server-side HSMs or TPM chips, such as those used by ERC-4337 bundlers.

How it works

It registers a new EIP-7932 algorithm with these parameters:

Constant Value
ALG_TYPE 0x0
GAS_PENALTY 1000
MAX_SIZE 96 bytes
  • The signature data is the 64-byte Ed25519 signature followed by the 32-byte public key. The public key is included because Ed25519 does not support recovering it from a signature.
  • Verification uses plain Ed25519 from RFC 8032 (not the ctx or ph variants) over the transaction's payload hash.
  • The sender address is the last 20 bytes of keccak256(public_key), the same derivation style as normal Ethereum addresses.
  • The extra 1000 gas covers Ed25519's extra hashing overhead and discourages moving existing accounts off secp256k1 for no reason.

Sample code

The verification function from the spec, in Python-style pseudocode:

def verify(signature_info: bytes, payload_hash: bytes) -> bytes:
    assert len(signature_info) == 96
    signature  = signature_info[:64]
    public_key = signature_info[64:]

    # RFC 8032 section 5.1.7, pure Ed25519
    assert ed25519_verify(signature, public_key, payload_hash)

    return keccak256(public_key)[-20:]   # sender address

Things to know

  • Status is Withdrawn. The stated reason: P-256 was chosen as the test algorithm for EIP-7932 instead, to reduce implementation burden.
  • The security considerations section was never completed ("Needs discussion").
  • The parent framework, EIP-7932, is itself still a Draft.
  • If you want hardware-key or passkey signatures on Ethereum today, the practical route is a smart account that calls the P-256 precompile from EIP-7951.

#signatures #ed25519 #transactions #cryptography #withdrawn

Details

Authors
James Kempton (@SirSpudlington)
Status
Withdrawn
Type
Standards Track / Core
Created
2025-06-25
Requires

Machine-readable: Markdown · JSON