Skip to content

Add EIP: ECRECOVER Native Key Awareness#11515

Open
prestwich wants to merge 1 commit intoethereum:masterfrom
prestwich:prestwich/eip-ecrecover-native-key
Open

Add EIP: ECRECOVER Native Key Awareness#11515
prestwich wants to merge 1 commit intoethereum:masterfrom
prestwich:prestwich/eip-ecrecover-native-key

Conversation

@prestwich
Copy link
Copy Markdown
Contributor

Summary

  • Companion to EIP-8164 (Native Key Delegation for EOAs)
  • Modifies the ECRECOVER precompile (address 0x01) to be native-key-aware
  • ECDSA guard: after successful recovery, returns empty if the recovered address has a native-key delegation (0xef01 + nonzero byte), preventing contracts from accepting signatures from dead ECDSA keys
  • Native-key verification mode: 0xff sentinel in the v position enables contract-level signature verification for native-key accounts (ML-DSA-44 defined, forward-compatible with future schemes)
  • Gas model accounts for EIP-2929 warm/cold access and scheme-specific verification costs

Notes

  • EIP number is XXXX (placeholder) — needs editor assignment
  • discussions-to URL is a placeholder — Ethereum Magicians thread TBD
  • Filename will need to be renamed to match assigned number

🤖 Generated with Claude Code

Companion to EIP-8164. Modifies the ECRECOVER precompile to support
native-key accounts: rejects dead ECDSA keys and adds a native-key
signature verification mode via a 0xff sentinel in the v position.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@prestwich prestwich requested a review from eth-bot as a code owner April 11, 2026 17:31
@github-actions github-actions Bot added c-new Creates a brand new proposal s-draft This EIP is a Draft t-core labels Apr 11, 2026
@eth-bot
Copy link
Copy Markdown
Collaborator

eth-bot commented Apr 11, 2026

File EIPS/eip-XXXX.md

Requires 1 more reviewers from @g11tech, @jochem-brouwer, @lightclient, @samwilsn

@github-actions
Copy link
Copy Markdown

The commit 7400424 (as a parent of e08aef1) contains errors.
Please inspect the Run Summary for details.

@github-actions github-actions Bot added the w-ci Waiting on CI to pass label Apr 11, 2026
@eth-bot eth-bot added e-consensus Waiting on editor consensus e-review Waiting on editor to review labels Apr 11, 2026
Comment thread EIPS/eip-XXXX.md
@@ -0,0 +1,196 @@
---
eip: XXXX
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
eip: XXXX
eip: 8225

Assigning next sequential EIP/ERC/RIP number.
Numbers are assigned by editors & associates.

Please also update the filename.

Comment thread EIPS/eip-XXXX.md
title: ECRECOVER Native Key Awareness
description: Extends ECRECOVER to verify native-key signatures and reject dead ECDSA keys
author: Gregory Markou (@GregTheGreek) <gregorymarkou@gmail.com>, James Prestwich (@prestwich) <james@prestwi.ch>
discussions-to: https://ethereum-magicians.org/t/eip-XXXX-ecrecover-native-key-awareness/XXXXX
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please create discussions topic on Eth Magicians using the template https://ethereum-magicians.org/c/eips/5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

c-new Creates a brand new proposal e-consensus Waiting on editor consensus e-review Waiting on editor to review s-draft This EIP is a Draft t-core w-ci Waiting on CI to pass

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants