Summary
Evaluate registering a RIP-7212 secp256r1 (P-256) precompile at 0x100 on Heima. It would cut on-chain P-256 verification from ~707k gas → ~3.4k gas (~200×). Not a blocker for #164 (707k is already ~0.018 HEI/verify at 25 gwei), but the single highest-value chain-side optimization for AgentKeys' passkey/UserOp path — and independent of Pectra (RIP-7212 has shipped on many L2s separately from any mainnet hardfork).
Evidence (measured on Heima mainnet, 2026-06-02)
Why it's feasible
Cheaper interim option (no chain work)
Swap our pure-Solidity verifier for the Daimo P256Verifier (~421k gas, ~40% cut) — usable in #164 E2 with zero chain changes.
Action
See also
Summary
Evaluate registering a RIP-7212 secp256r1 (P-256) precompile at
0x100on Heima. It would cut on-chain P-256 verification from ~707k gas → ~3.4k gas (~200×). Not a blocker for #164 (707k is already ~0.018 HEI/verify at 25 gwei), but the single highest-value chain-side optimization for AgentKeys' passkey/UserOp path — and independent of Pectra (RIP-7212 has shipped on many L2s separately from any mainnet hardfork).Evidence (measured on Heima mainnet, 2026-06-02)
P256Verifier(pure-Solidity,0xda5b772f9d6c09abe80414eea908612df9b54749) verifies correctly; oneverify(...)costs ~707k gas (measured).0x100/0x0btoday (Complete real browser-side wiring of the master plane (parent-control web app) #163).Why it's feasible
p256crate is already a Heima dependency (per Complete real browser-side wiring of the master plane (parent-control web app) #163). Needs a runtime upgrade.Cheaper interim option (no chain work)
Swap our pure-Solidity verifier for the Daimo P256Verifier (~421k gas, ~40% cut) — usable in #164 E2 with zero chain changes.
Action
See also
docs/plan/chain/erc4337-master-account.md§2 (constraint 5).