DNSSEC Onchain Import

Demonstrates on-chain DNSSEC import by fetching proofs from _ens.{domain} TXT records, resolving the record value, and visualizing the complete DNSSEC verification chain. Estimates gas costs and enables on-chain verification via our P-256 enabled oracle (EIP-7951), with side-by-side comparison against the current ENS implementation.

💡 Connect your wallet to Sepolia to estimate gas and verify on-chain.

Gas Comparison: ENS vs Our Oracle

Comparison based on verified on-chain transactions. ENS values from mainnet tx and our values from Sepolia tx.

OperationENS GasOur Oracle GasSavingsImprovement
P-256 Signature Verification1,318,18913,26799.0%99.4x cheaper
RSA Signature Verification146,890146,8900.0%1.0x (same)
Total Transaction3,443,914540,00784.3%6.4x cheaper

Key Findings

  • • P-256 verification: 99.4x cheaper via EIP-7951 precompile
  • • Total transaction: 84% savings (2.9M gas)
  • • RSA verification: Same as ENS (no optimization yet)

Technical Details

  • • ENS uses pure Solidity EllipticCurve.sol
  • • Our oracle uses EIP-7951 P-256 precompile
  • • Average P-256 gas: ~13,267 (vs 1,318,189 for ENS)

How This Works

1. Fetch Proofs

Queries _ens.{domain} TXT record via Cloudflare DoH

2. Estimate Gas

Simulates verifyRRSet() on Sepolia via eth_estimateGas

3. Verify On-Chain

Submit real transaction to prove the gas savings with EIP-7951