Zcash cold storage with Cupcake and LeekWallet
TL;DR
- Use a dedicated offline phone with Cupcake and a second device with Cake Wallet for a QR-only setup.
- Build LeekWallet Zcash as a testnet project. The Android companion pairs by USB or Bluetooth and offers experimental QR signing.
- Back up recovery words offline and rehearse a restore before relying on either setup.
Cold storage keeps the keys that can spend your ZEC on a separate device. An online wallet checks your balance and prepares transactions. You review and approve each spend on the signer before the online wallet can broadcast it.
| Signer | Online companion | Which setup to use |
|---|
| Cupcake on a dedicated Android phone or iPhone | Cake Wallet on Android, iPhone or iPad | A QR-only setup with a spare phone. Requires Cupcake 1.2.0 and Cake Wallet 6.5.4 or newer. Supported versions |
| LeekWallet Zcash on an ESP32-S3 CAM board | The project's LeekWallet Zcash Android fork | An experimental build for learning and testnet. Its documented setup pairs over USB or Bluetooth before trying QR signing. |
The companion gets a viewing key so it can find your transactions and generate receive addresses. Anyone who obtains that key can learn about your wallet activity. Share a receive address with a payer. Keep the pairing QR and viewing key private. Zcash unified viewing keys
Set up Cupcake#
Create the wallet on the offline phone
- Install Cupcake from the official site on a dedicated phone with a working camera and a supported operating system. Install Cake Wallet on a different device. Once Cupcake is installed, remove the signer's SIM if it has one, turn on airplane mode and verify that Wi-Fi and Bluetooth are off. Keep the phone offline from this point. Cupcake downloads · Cake Wallet releases
- In Cupcake, select Zcash (ZEC) and choose Create new wallet. Set a PIN or password and write down the displayed 12 recovery words in order. Complete the app's backup check. Keep the words offline in a secure place. A photo, cloud note or chat copy puts your spending keys on an online system. Cupcake setup
- Keep the seed passphrase setting off unless you have a plan to back it up and recover it. If you enable it, recovery requires the exact passphrase, including capitalization, as well as the words. The device PIN unlocks the app. Write down the approximate creation date alongside the recovery information so you can set a useful scan date later. Cupcake Zcash options
Link Cake Wallet and receive ZEC
- In Cupcake's menu, open Link to Cake Wallet. On the online device, go to Wallets → Restore Wallet → Cupcake App and scan the pairing QR directly from the offline phone. This imports the viewing key. Enter recovery words only on the offline signer. Cupcake pairing steps
- Set the restore date a few days before you created the wallet. If you restored an existing wallet on Cupcake, use a date before its first transaction. A date set too late can skip older funds. Leaving the height at zero takes much longer. Let Cake Wallet sync. Cupcake scan date
- Open Receive in the paired Cupcake account on Cake Wallet. Use Shielded for an Ironwood-capable sender. Use Unified if the sender needs the compatible shielded option, and confirm their wallet can send to it. Public is a transparent address. Check the full destination in the sending app against the address from the paired account before sending. Start with a small deposit you can afford to spend on a test, and wait for confirmation. Cupcake address types
Send a test amount
- Once Cake Wallet finishes syncing, prepare a small send to an address you control. Check the address, amount and network fee. The send confirmation on Cake Wallet opens an animated QR for Cupcake to scan.
- Use Cupcake's scanner to read the full animation. On Cupcake's confirmation screen, compare the destination to the address you intended to pay. Review the amount and fee before signing. Cancel if anything differs.
- In Cake Wallet use Scan QR Code to read the signed animation from Cupcake. Cake Wallet broadcasts when it finishes scanning. Check for the confirmation in Cake Wallet and verify the funds arrived in the receiving wallet. Cupcake send walkthrough
If you receive at a public address, Cake Wallet shows those funds separately. Open the unshielded funds notice and start shielding. Review the self-transfer and fee on Cupcake, sign it, then scan the response into Cake Wallet. Wait for confirmation before spending from the shielded balance. Cupcake shielding walkthrough
Build a LeekWallet for testnet#
LeekWallet is a DIY signer with no independent audit. Firmware v0.1.0 leaves flash encryption and secure boot disabled. Physical access to the board can expose its flash, and its PIN provides limited protection in that scenario. Use a fresh test seed and keep savings off this build. The October companion builds predate the NU7 network upgrade. Check the compatibility notes for an updated companion before attempting an on-chain test. Start with the simulator if you only have the October companion. Project status · NU7 compatibility notes
Assemble, verify and initialize the signer
- For the original OLED build, use the ESP32-S3-N16R8 CAM board with its OV5640 camera and a 1.5-inch SH1107 128 × 128 I²C OLED, EC11 rotary encoder and Cancel button. Follow the pin table for the exact board and power its modules at 3.3 V. Unplug the board before changing wiring. OLED build wiring
- Verify the firmware for that board and display. Check the signature on the release checksum list, then compare your download to its signed hash. Connect the empty board by USB and follow the project's flasher instructions. The provisioning image erases saved wallets. For an existing board, confirm your recovery backup and follow the update instructions for that exact board. Release verification guide · Provision and update images
- Disconnect the board from the computer after flashing. Power it from a standalone source when using QR. Select New Wallet on the board, generate a fresh seed and record it offline. Set a PIN if you use the stored wallet option. Keep the board and companion on testnet throughout this exercise. Firmware overview
Pair the testnet companion and review a send
- Use the 64-bit Android LeekWallet Zcash (testnet) app from the project's ZODL fork. The
3.17.0-leek.2 prerelease fixes a pairing problem in leek.1. Verify the app against the companion's signed release information. Android releases · App verification guide
- Add LeekWallet as a hardware wallet in the companion. Choose a USB On-The-Go cable or Bluetooth for setup, check that the six digits match on both screens, then approve on the board. The companion imports a watch-only account with its scan start height. Android pairing instructions
- In the linked wallet's Receive screen, use Verify on device while connected and compare the address displayed on the board with the one on the phone. For a test with a network-compatible build, use testnet coins (TAZ). Wait for the companion to finish syncing. LeekWallet receive verification
- For experimental QR signing, disconnect USB data and leave Bluetooth off. From the paired LeekWallet account, prepare a test send and choose QR on the signing screen. Hold the phone steady for the board's camera to read the animated unsigned transaction. Review each output on the board before accepting. Scan the board's return QR into the phone. The companion applies the signatures, proves the transaction and broadcasts it. Check the receiving testnet wallet before trying another send. ·
If the releases available to you cannot send on testnet, explore the flow using the project's simulated board with its public test keys. Keep real recovery words out of simulators, companion apps and browsers. LeekWallet simulator
Check recovery before relying on cold storage#
Record which signer and network you used, the wallet creation date or block height, and the account if the signer uses several. On a spare offline signer, practice restoring from the words and optional passphrase. Confirm that it reproduces the same account before putting more funds on it. If you lose only the online device, recreate the companion by pairing it with the signer again and rescanning from the wallet's original date. Avoid wiping the only working signer to test recovery.
The procedures in this guide are based on release notes, project documentation and source review.
Related pages#