(The PQ KING)
This project demonstrates a groundbreaking Ethereum Smart Account that offers Hybrid Cryptography protection for your assets. Leveraging the new EIP-7702 standard, we integrate both traditional ECDSA (Legacy) and cutting-edge Post-Quantum (PQ) FALCON signing capabilities.
Our unique demonstration at ETHPRAGUE turns everyday wristbands into secure Ethereum signers using their embedded ARX chips. While a secure screen is important, we believe the more imminent threat is the rapid advancement of Quantum Computing. Our solution ensures your account remains secure even against future quantum attacks by combining the best of both cryptographic worlds.
Attendees will witness:
- Wristband-as-Signer: How ETHPRAGUE wristbands, powered by ARX chips, function as direct Ethereum transaction signers.
- Post-Quantum Resilience: The signature is transmitted to the wallet, which hybridates the signature with a FALCON512 Post-Quantum signer within a 7702 Smart Account, showcasing practical quantum resistance.
- Hybrid Security: A practical implementation of a hybrid account protecting funds with both legacy (ECDSA) and post-quantum cryptography.
Our solution builds upon the new EIP-7702 standard to create a flexible smart account. When a transaction needs to be signed:
- Wristband Interaction: The wristband's ARX chip securely generates a signature using its embedded key.
- Post-Quantum Signing: The signature is then processed with the FALCON post-quantum algorithm (via JavaScript integration).
- Hybrid Verification (On-Chain): The
ZKNOX_hybrid.solsmart contract on Ethereum verifies both the traditional ECDSA signature (from the wristband) and the FALCON post-quantum signature. This dual-verification ensures the account is protected against both classical and quantum-era threats.
To interact with this demonstration and set up your environment:
The wristband communicates with your laptop via NFC.
- HALO Library: Install the necessary
HALOlibrary on your laptop. - NFC Application: Use
TagInfo(or similar NFC communication software) to establish communication with the wristband.
The JavaScript implementation of the FALCON algorithm, generated from NIST code using Emscripten, is crucial for off-chain post-quantum signing.
- Location:
solidity/falcon/deterministic_falcon_sign.js.
The core smart contracts are located in a fork of the ZKNOX/ETHFALCON repository.
- Repository: This repository was forked specifically for the ETHPRAGUE hackathon.
The JavaScript module for the FALCON algorithm provides the following key functions:
crypto_keypair(pkPtr, skPtr, seedPtr)- Input: A 32-byte seed.
- Output: Generates a
(publicKey, secretKey)pair for the NIST FALCON512 algorithm.
falcon._crypto_sign(signedMsgPtr, signedMsgLenPtr, msgPtr, BigInt(message.length), skPtr)- Input: Pointers to the message, its length, and the generated secret key.
- Output: The
signedMsgand itslength.
falcon._crypto_sign_open(recoveredMsgPtr, recoveredLenPtr, signedMsgPtr, BigInt(sigLen), pkPtr)- Input: Pointers to the message and signature.
- Output: Returns
0if the verification succeeded.
ZKNOX_hybrid.sol: This contract orchestrates the hybridation of the FALCON post-quantum signature verification with standard ECDSA verification, forming the core of the hybrid smart account logic.
High-Level Hybrid Architecture The system implements a dual-signature scheme where transactions require both traditional ECDSA signatures (generated by hardware) and post-quantum FALCON signatures (generated by software) for execution. This hybrid approach provides immediate quantum resistance while maintaining compatibility with existing Ethereum infrastructure.
The hardware layer consists of ETHPRAGUE wristbands containing ARX chips that generate ECDSA signatures. Communication occurs through NFC using the HALO library ecosystem.
The complete transaction flow demonstrates how hardware signatures, software signatures, and on-chain verification coordinate to create a quantum-resistant transaction system.


