---
eip: 7980
label: EIP-7980
title: Ed25519 transaction support
status: Withdrawn
type: Standards Track
category: Core
created: 2025-06-25
requires: 7932
official: https://eips.ethereum.org/EIPS/eip-7980
source: https://github.com/ethereum/EIPs/blob/master/EIPS/eip-7980.md
canonical: https://eips.huatuo.xyz/eip-7980/
lang: en
tldr: 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.
tags: [signatures, ed25519, transactions, cryptography, withdrawn]
---

# EIP-7980: Ed25519 transaction support

> Adds an EIP-7932 algorithm type for Ed25519 support of type `0x0`

**TL;DR:** 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](/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](/eip-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:

```python
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](/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](/eip-7951/).


---

This is an unofficial plain-language summary. Read the full specification: https://eips.ethereum.org/EIPS/eip-7980
