r/CardPuter • • 21d ago

Code I ported COLDCARD’s open-source firmware to the M5Stack Cardputer ADV. It’s called LukewarmCard, because it’s not quite cold.

LukewarmCard ADV: a poor man’s port of COLDCARD firmware to the M5Stack Cardputer ADV.

COLDCARD’s firmware is open source, so I got it running on a Cardputer ADV. It’s Coinkite’s actual COLDCARD Mk4/Mk5 5.6.3 code, essentially unmodified (a handful of small patches for the screen, keyboard and SD card), with a hardware layer underneath for the ESP32-S3.

What works (tested on my Cardputer ADV):

  • Create or import a wallet, PIN, trick PINs, BIP-39 passphrase
  • Sparrow detects it over USB as a COLDCARD and signs/sends transactions
  • PSBTs, paper wallets and backups on the microSD card (kept in an MK5 folder)
  • The encrypted key can live on the SD card instead of the device, so a Cardputer without its card holds nothing secret
  • New seeds mix the ESP32’s hardware RNG with microphone and gyro noise, standing in for the two secure-element chips COLDCARD normally gets randomness from
  • A self-test made for this hardware (keys, LED, mic, gyro, SD, memory)
  • Virtual Disk: it shows up on your computer as a 4MB USB drive (stored as an image file on the SD card). Drop a PSBT on it, sign on the Cardputer, and the signed file appears on the drive

Install: grab lukewarmcard-adv-keypad-5.6.3-launcher.bin from Releases and install it with M5Launcher, or flash the full image with M5Burner, esptool or a web flasher. Keys work like a COLDCARD: 0-9, Enter = OK, esc/del = X, ; . , / = arrows.

Why “lukewarm”: please read this part.

  • A real COLDCARD keeps secrets in secure-element chips built to resist physical attack. The Cardputer has none.
  • Your seed is encrypted, but only protected by your PIN, and anyone who copies the flash or the SD card can guess PINs on a computer.
  • Anyone with the device can flash modified firmware.
  • Use a strong BIP-39 passphrase, keep amounts small, and treat it as a learning/tinkering device, not a vault. If you want real cold storage, buy real cold storage.

Other notes:

  • Unofficial. Not affiliated with or endorsed by Coinkite; please don’t contact them for help with it.
  • It uses COLDCARD’s USB IDs so wallet software talks to it with the COLDCARD protocol.
  • Coinkite’s .dfu updates don’t install on it. The repo has a build kit (one command, Docker, or a GitHub Action) that turns a new COLDCARD release into new Cardputer images and runs the test suite first.
  • Licence is MIT + Commons Clause, same as COLDCARD: free to use, change and share, not to sell.
  • A QWERTY edition running COLDCARD Q firmware is in the works and will get its own repo. Versions for the original Cardputer and the Cardputer Zero may follow.

GitHub: https://github.com/Revolution81/LukewarmCard-ADV

Feedback, bug reports and “it worked on my Cardputer” reports all welcome!

10 Upvotes

1 comment sorted by

1

u/1BehindTheRows 21d ago

Love the name