Carte Bleue

Recover any smart wallet using real credit cards and a standard cheap card reader.

ETHGlobal Lisbon 2026Shipped July 24, 2026Prize winner Dormant#payments#privacy
Visit Repo
Carte Bleue banner

About

Carte Bleue lets users recover a smart contract wallet using a physical bank card instead of a seed phrase or other unsecure methods. A local Python server communicates with the card reader, extracts the card’s RSA public key, and asks the card to sign a random challenge. A smart contract on Base verifies that signature and changes the wallet owner to a new address. The private key never leaves the card, and sensitive payment details such as the card number or expiration date are never stored on-chain.

Please note that the project purposefully has no live demo as this is something you can only run on your own machine as you need a local Python server that will securely read your credit card. Instructions on how to run are on GitHub.

Fun fact: "Carte Bleue" was a credit card network competing with Mastercard/Visa developed in France, but got discontinued in 2010, the name is a small reference to it, repurposing it for secure wallet backups.

How it's made

Carte Bleue combines a local Python/FastAPI server, PC/SC card-reader access, an ethers.js frontend, MetaMask, and Solidity contracts on Base. The server sends raw EMV APDU commands to a CB bank card, reconstructs its 1408-bit RSA public key from the EMV certificate chain, and requests signatures through INTERNAL AUTHENTICATE. The frontend registers that public key for a SimpleWallet (smart contract wallet), then submits signed recovery challenges to Carte Bleue. The notable hack was implementing custom on-chain RSA verification with the EVM modexp precompile because standard libraries reject the card’s unusual 1408-bit key size.

Prizes

  • ETHGlobal · ETHGlobal · 🏆 ETHGlobal Lisbon 2026 Finalist

From the public ETHGlobal showcase page. Votes, swipes and the judge score are hackfeed's own.

AI judge

Not judged yet. A free model reads this page, compares it with similar projects and this event's winners, then scores it and says what would make it win.

Still being built?

DormantLast push 130 days ago

Swipe stats

0upvotes
0skips
0saves

Discussion 0

No comments yet. Ask the team something, or say what you'd use it for.

Posting as a guest. Plain text, 1,000 characters max.

Already built nearby

Closest projects by meaning and shared words. Similar isn't the same as copied: read them.

NotWallet

Turn any everyday contactless card into a $0 seedless hardware wallet with ENSv2 & World ID.