loading...
HTML

ColdPunk: DIY Monero hardware wallet

A Monero (XMR) cold wallet you build yourself from a cheap ESP32-S3 touch board. Open source and air-gapped: the keys stay offline, the device signs the whole transaction, and the PC runs a watch-only wallet (Feather, Monero GUI or CLI).

Terminal version

The device: a DIY Monero hardware wallet

COLDPUNK

ColdPunk Monero hardware wallet: an ESP32-S3 touch board with the wallet on screen

A Monero cold wallet you build yourself from a cheap ESP32-S3 touch board. Open source.

  • Seed and spend key never leave the device.
  • Signs the WHOLE Monero transaction on board.
  • No soldering: flash the firmware and go.

Experimental, not audited yet.

THE BOARD

ColdPunk Monero hardware wallet: an ESP32-S3 touch board with the wallet on screen

ESP32-S3: 16 MB flash, 8 MB PSRAM display and touch on one board.

Reference:

  • ES3C28P 2.8" 320x240 touch microSD slot

Also works:

  • Waveshare ESP32-S3 Touch-LCD-2, 2" touch microSD slot

Wi-Fi and Bluetooth are never compiled in.

WHY COLD

An online PC with a watch-only Monero wallet next to the offline cold wallet

A hot wallet keeps its keys on a computer that is online.

ColdPunk splits the job:

  • PC: WATCH-ONLY wallet. Sees the balance, builds and sends transactions.
  • Device: keeps the keys and signs. Never online.

Malware on the PC can show you a wrong address - check every address on the DEVICE screen.

DISGUISE

The Minesweeper game the device shows at power-on

Optional disguise: at power-on the device is a Minesweeper game. Off by default - Settings.

  • The wallet opens after a secret gesture and the password.
  • Autolock: keys wiped, back to the start.
  • Wrong passwords: delays up to 8 hours; 50 in a row erase the device.

A disguise. The password protects.

Build your Monero cold wallet

WHAT YOU NEED

The touch board, a USB-C cable, paper and a pen

  • An ESP32-S3 touch board (ES3C28P or Touch-LCD-2).
  • A USB-C data cable.
  • Paper and pen for the seed.
  • A PC: Windows 10/11, Linux or macOS. Nothing to install - the build script downloads it all.
  • MoneroPunkSigner, Feather or the Monero GUI / CLI on the PC.

Use a board that held nothing else.

BUILD AND FLASH

The PC running the build script, flashing the board over USB

github.com/decolorized/ColdPunk

  1. Pick your board in board_config.h.
  2. Build - downloads all it needs:
    build.bat
    ./build.sh
  3. Flash from the firmware folder:
    flash.bat COM5
    ./flash.sh /dev/ttyUSB0

Updates do not touch the wallets.

FIRST POWER-ON

  1. Hardware key. A random key is burned into the chip's eFuse. Once. Nobody can read it.
  2. Account password, 8+ chars. Asked on every unlock.
  3. Next time: just the password. Want a disguise? Settings - Minesweeper at start.

The device is ready. Next: USE - set up a wallet.

Use it with Feather, the Monero GUI and CLI

HOW IT WORKS

PC with the watch-only wallet and the device exchanging files over USB or a microSD card

PC: view-only wallet

USB cable: MoneroPunkSigner (Feather fork).

microSD card: ANY wallet - Feather, Monero GUI or CLI.

Between them only files.

The device keeps the keys and signs. Every result needs a YES on the device screen.

YOUR WALLET

  1. Create a wallet or restore one from its seed.
  2. Write the seed on PAPER.
  3. On the PC, MoneroPunkSigner: New wallet - Restore from keys - View only - ColdPunk button. Confirm on the device. No cable: the device writes <wallet>_viewonly.txt to the SD card for any wallet.
  4. Sync key images (next pages), then send and receive.

SEEDS

The seed words on paper, a pencil and a die

  • 25-word Monero seed or 16-word Polyseed.
  • Optional passphrase: a hidden 2nd wallet; every wallet can be asked.
  • Dice can be the entropy if you do not trust the chip's RNG.
  • Restores Feather and Cake / Cupcake passphrase seeds.

The seed on paper is the only backup. Lose it, lose the money.

SEE YOUR BALANCE

Monero outputs go to the device, key images come back

A watch-only wallet sees incoming money, but not what you spent. For that it needs KEY IMAGES.

  1. The PC wallet exports outputs.
  2. The device asks: "Generate key images for N outputs?"
  3. Yes - key images go back, the balance is right.

The device keeps a cache of them and refuses to sign twice with the same outputs.

SIGN

The cold wallet showing a Monero transaction to sign

On the device screen:

  • amount and fee
  • every full address
  • change: back to you?

Then SIGN. The device computes ALL of it:

  • CLSAG ring signatures
  • Bulletproofs+ range proof

With Ledger and Trezor the PC drives signing step by step.

SD CARD

A microSD card carrying files to and from the device

No cable? A microSD card (FAT32) works with ANY Monero wallet: Feather, monero-wallet-gui or -cli.

  • View-only wallet: the device writes <wallet>_viewonly.txt.
  • Outputs file in the card root -> key images.
  • Unsigned tx -> signed tx next to it, after YES.
  • Wallet menu - SD card files. Newest first, done ones marked.

MONERO CLI AND SD

A terminal with monero-wallet-cli and an SD card

A view-only monero-wallet-cli works too. Create it with --generate-from-view-key and _viewonly.txt.

Files go to and from the card root.

Sync:

export_outputs w_outputs
import_key_images w_keyImages

Send:

transfer ADDRESS AMOUNT
- writes unsigned_monero_tx
submit_transfer
- reads signed_monero_tx

ON THE DEVICE

  • Balance: an estimate from the synced outputs and what the device signed. Can be off.
  • Transactions: all received, newest first; * signed here, ? what the device can't know.
  • Check seed: type the phrase, the device says if it matches.
  • Every wallet has its own network: mainnet, stagenet or testnet.
  • Sync: "All saved key images" also sends the ones given out before.

Security of the Monero keys

WHERE KEYS LIVE

The ESP32-S3 chip with its eFuse key

Every seed is encrypted with a key made from:

  • the eFuse key in the chip
  • your account password

A flash dump is useless on a PC. A copy on another chip is useless too.

The password key lives in RAM only while the device is open.

WHAT LEAVES

Key images and signed transactions leave the device; the keys never do

Leaves the device:

  • key images, signed transactions
  • address and private view key - only after YES on the device

Never leaves:

  • seed and passphrase
  • private spend key

There is no code path for them to the USB link or the card.

HONEST LIMITS

  • Experimental. Not audited. Not tested with real funds.
  • Without secure boot, someone with the device can flash own firmware and guess passwords. Use a long password, or turn on secure boot (page 04).
  • The password opens wallets without a passphrase. The passphrase is the 2nd factor: nothing shows which has one.

Start with small amounts.

UNDER PRESSURE

Identical account slots, one of them open

  • 16-24 accounts, each with its own password and wallets. Show one, keep the rest.
  • Nothing lists them. A flash dump shows 24 slots of the same size.
  • 50 wrong passwords in a row erase the device.
  • A reset phrase typed as the password wipes it on purpose.

SECURE BOOT

Signed firmware, a shield over the chip and your key

Optional, for real value:

  • make-keys: your signing and flash encryption keys, once.
  • build-secure: signed firmware, encrypted flash. The chip runs only YOUR firmware.
  • Updates only with your keys. Lose them - no more updates.
  • Or just lock JTAG and USB flashing in eFuse (Settings).

Both are forever. Seeds on paper first.

Monero cold wallet FAQ

MONERO WALLET FAQ

What is a Monero cold wallet?

A Monero (XMR) wallet whose keys live on a device that is never online. ColdPunk is one you build yourself: a hardware wallet made from a cheap ESP32-S3 touch board.

Which PC wallets work with it?

MoneroPunkSigner over USB. With a microSD card: Feather, the Monero GUI and monero-wallet-cli, as a watch-only (view-only) wallet.

What does it cost?

The firmware is free and open source (MIT). You pay for the board.

LEDGER, TREZOR, BACKUP

ColdPunk or Ledger / Trezor?

They are audited products. ColdPunk is experimental, but open from the firmware up and signs the whole transaction itself (CLSAG, BP+).

Is it safe for my XMR?

Not audited yet. Start small; turn on secure boot for real value.

What if I lose the device?

Restore the seed in another wallet: Feather or Cake; a 25-word seed also in the Monero GUI and CLI.

Testnet and stagenet?

Yes: each wallet picks mainnet, stagenet or testnet.

About ColdPunk

A hardware wallet should not need a factory, an account or trust in a company. A cheap board, open code and your own hands are enough.

  • No account • No cloud • No Wi-Fi