Hybrid signatures · ECDSA + zkFUND-512

Ethereum accounts that survive a quantum adversary.

secp256k1 ECDSA falls to Shor's algorithm. zkFUND pairs every ECDSA signature with a zkFUND-512 lattice signature. A transaction is valid only if both verify.

schemehybrid/v1
classicalECDSA · secp256k1
post-quantumzkFUND-512 · NTRU lattice
ringZq[x]/(x512+1), q = 12289
securityNIST level I
policyvalid ⇔ ECDSA ∧ zkFUND
01

Architecture

A key is only as safe as the weakest layer that touches it. The hybrid policy is enforced at each one.

USER END

Hardware signer

Clear signing: the device decodes and displays what the transaction executes before either key signs.

  • descriptor-based decoding
  • dual-key confirmation
BACK END

Key management

zkFUND-512 signing in constrained memory, streamed through authenticated buffers.

  • FFT sampler, constant-time
  • 32 KB working set
ON-CHAIN

Hybrid accounts

The account contract checks both signatures. Breaking one scheme is not enough to move funds.

  • zkFUND key registry
  • attestation log
02

Parameters

Sizes in bytes. Quantum resistance assumes a cryptographically relevant quantum computer.

SchemePublic keySignatureHard problemQuantum-safe
ECDSA secp256k13365Discrete logno
zkFUND-512897666NTRU-SISyes
zkFUND-102417931280NTRU-SISyes
Hybrid (zkFUND)930731bothyes
03

Hybrid signer

Sign a message under the hybrid policy, then replay it against an adversary that has broken ECDSA.

Simulation. Hashes are computed locally; no keys are generated and nothing leaves the browser.

$ zkfund-signer --policy hybrid/v1
ready
04

Contracts

Uniswap v4 hook, no owner. The zkFUND verifier is a commitment stub in v0.1.

interface IZkFundHybridHook {
    function registerKey(bytes32 pkHash) external;
    function attest(bytes32 msgHash, bytes32 zkfundSig) external;
    function zkfundKey(address account) external view returns (bytes32);
    function attestations(address account) external view returns (uint256);
    function totalAttestations() external view returns (uint256);
    // afterSwap: counts swaps of the attached pool (PoolManager only)
}
poolUniswap v4 · ETH
fee1% buy / 1% sell, in ETH
distributionpro rata, 5-min epochs
supply1,000,000,000 fixed
chainEthereum mainnet (1)
PoolManager0x0000…8A90
hook flagsafterSwap
adminnone