Tap2ETH

Turns your existing bank card into an Ethereum hardware wallet, compatible with POS terminals

Tap2ETH

Created At

ETHGlobal Mumbai

Winner of

Uniswap

Uniswap Foundation - Build with Uniswap 4th place

Whitechain

Whitechain - Operate · Stablecoin Payments for Business 2nd place

Project Description

Hardware wallets have a supply-chain problem. In October 2026, tampered Ledger devices sold through one reseller led to an estimated $86M+ in losses. A similar hidden implant was then found in a Trezor device from the same reseller, built to steal recovery phrases. Seed phrases remain a single point of failure, and flaws in how they are generated have exposed more wallets.

Tap2ETH avoids both problems by using a secure chip people already own. Every contactless EMV bank card that supports Dynamic Data Authentication holds an RSA private key that was loaded by the bank and can’t be extracted. The card signs a reader-chosen challenge, and its public key is certified from the card network to the bank to the card. There is no new device to buy, no reseller to trust and no seed phrase to steal.

We make that card one signer of a self-custodial smart-contract wallet. The second signer is a fingerprint-locked key in your phone’s secure hardware. The card is used only as a key: no card payment is processed and your bank account is never charged.

You can use it in two ways:

Pay a merchant: the merchant enters an amount, you tap your card on the terminal, and you approve on your phone with your fingerprint. Send to any address: enter the address and amount in the app, tap your card on the phone, and confirm with your fingerprint.

In both cases, the wallet checks both signatures and its limits on-chain before sending stablecoins. A card has no screen and signs only 4 bytes, so your phone shows what you’re approving and signs the full payment hash. Neither a stolen card, a stolen phone nor the bank that created the card key can move funds alone.

The wallet also supports several cards and phones with a t-of-n threshold, per-payment and daily limits, instant freeze from the phone, and time-locked recovery.

We also built a DIY hardware merchant POS device, so the whole flow works with a physical terminal. This gives merchant tap 2 pay functionality requiring powered by secure multisig

How it's Made

How it’s made Getting a real card to sign. We started on day one with an M5StickS3, an M5Stack RFID 2 reader and a real Indian-issued Mastercard. Our firmware runs the EMV sequence: SELECT PPSE, SELECT AID, GET PROCESSING OPTIONS with a zero amount, READ RECORD and INTERNAL AUTHENTICATE. It never asks for a PIN or a payment. A Python tool then verified the full chain offline: Mastercard CA key, bank key, card key, then the signature over our challenge.

Paying a merchant:

The merchant enters the amount on our POS terminal. The card is tapped and signs the first 4 bytes of the payment hash. The payment request goes to the user’s phone. The user approves with their fingerprint, and the phone signs the full 32-byte hash. The signatures are sent on-chain by a relayer that pays gas but can’t move funds. The smart wallet checks both signatures and its limits, then sends the stablecoins to the merchant. Sending on-chain. The phone does the terminal’s job. The user enters an address and amount, taps the card on the phone over NFC, and approves with a fingerprint. Both signatures then go to the wallet, which runs the same checks and pays any address.

Multiple signers and recovery. A wallet can have several cards and phones with a t-of-n threshold, and every normal approval needs at least one phone. If a phone is lost, two enrolled cards start recovery. After a time-lock delay, the new phone replaces the old one, and any signer can cancel during that delay. This two-card recovery is demo-strength today. A stronger version is written and tested but not deployed.

Smart contracts. These are Solidity 0.8.28 with Hardhat and OpenZeppelin. We recover the card’s ISO/IEC 9796-2 signature block through the modexp precompile, check its structure, and recompute the SHA-1 hash in Solidity because the EVM has no SHA-1 precompile. SHA-1 turned out to be the main gas cost, at about 38k gas per block, while RSA with exponent 3 is cheap. The phone is verified as a WebAuthn P-256 assertion. Wallets are minimal clones, and a registry maps a hash of the card’s public key to its wallet.

Android app. It uses React Native and Expo, with react-native-nfc-manager for card reads. A custom Kotlin Expo module generates a secp256r1 key in Android Keystore and requires a strong biometric for every signature.

DIY POS device. It’s a Raspberry Pi with a 3.5″ touchscreen, a Python service and a Chromium kiosk UI, with the RFID reader wired directly over I2C. The terminal checks the payment on-chain itself and doesn’t rely only on the backend.

Relayer. A Node and Express server built on ethers and viem connects the terminal and phone, collects signatures, simulates and submits transactions, and pays gas. It has backup RPC fallback and rate limits.

background image mobile

Join the mailing list

Get the latest news and updates

Tap2ETH | ETHGlobal