CupCake
Here's a comprehensive overview of Cake Wallet's Cupcake feature:
What is Cupcake?
Cupcake is a companion app in the Cake Wallet family that turns an old phone into an air-gapped hardware wallet — no need to buy a $200+ dedicated hardware device or wait weeks for shipping. You install it on a spare phone (or tablet), and it acts as a dedicated offline signer that keeps your private keys completely isolated from the internet [1].
How It Works
The architecture splits responsibilities between two devices:
- Cupcake (offline device): Holds the private keys and signs transactions. It has all network permissions disabled at the OS level, so it physically cannot connect to the internet [2].
- Cake Wallet (online device): Holds only view keys / public keys, letting you see balances, transaction history, and initiate new transactions [1:1].
Transaction Flow via Animated QR Codes
Since Cupcake is air-gapped, transactions are signed using animated QR codes:
- You initiate a transaction in Cake Wallet (enter address, amount, etc.).
- Instead of a "send" button, Cake Wallet displays an animated QR code containing the unsigned transaction.
- You scan that QR code with the Cupcake device, which displays the full transaction details for you to review and approve.
- Cupcake signs the transaction and displays its own animated QR code containing only the signed transaction — no private keys are ever shared.
- You scan that back into Cake Wallet, which broadcasts the signed transaction to the network.
Security Model
Cupcake leverages the best security features of the device it runs on:
- Secure Enclave storage: On devices like Google Pixels and iPhones, private keys are stored in the secure enclave, preventing other apps from accessing them [2:2].
- PIN brute-force protection: The secure enclave enforces PIN limits, so an attacker with physical access to the phone can't easily brute-force the PIN. Breaking this would require breaking the phone's entire security model [2:3].
- Encrypted wallet file: The wallet file is encrypted with a key derived from both your PIN/password and a component generated by the secure enclave — so even if the phone's storage is captured, the wallet remains protected [2:4].
- Proof-of-work fallback: For older devices without a secure enclave, Cupcake implements a novel proof-of-work mechanism that makes each failed PIN attempt progressively harder, defending against evil-maid and opportunistic attacks [2:5].
- App signing security: OS-level app signing ensures that even if tricked into installing a malicious version, it cannot overwrite the legitimate app [2:6].
Supported Cryptocurrencies
| Currency | Notes |
|---|---|
| Monero (XMR) | |
| Bitcoin (BTC) | |
| Litecoin (LTC) | Including MWEB (MimbleWimble) privacy features |
Platform Availability
Cupcake is available on both iOS and Android [1:3][3].
Getting Started (5 Steps, ~5 Minutes)
- Download Cupcake on a spare device
- Turn off internet on that device for best security
- Create your wallet and write down your seed phrase
- Set up view-only access in your main Cake Wallet
- Start using hardware-level security immediately
Handling Updates
Since the device is kept offline, updates can be handled two ways:
- Standard approach: Briefly allow the device online for official OS and app updates (Cupcake's lack of network permissions keeps keys safe) [2:7].
- Paranoid approach: Keep the device permanently offline and manually transfer update files (e.g., APKs via flash drive). This works mainly on Android due to Apple's side-loading restrictions [2:8].
In summary, Cupcake democratizes hardware-wallet-grade security by repurposing an old phone as an air-gapped, offline transaction signer that pairs with Cake Wallet through QR codes — giving you the security benefits of a dedicated hardware wallet without the cost or wait.
References