Critical Pre-Reading Note: CakeWallet is a non-custodial wallet, meaning you hold full control of your funds and seed phrase. This guide only references the official, open-source CakeWallet recovery script hosted on the CakeTech GitHub repository. Never use unvetted third-party recovery tools, as they may steal your crypto assets.
Introduction
CakeWallet is one of the most widely used open-source, non-custodial multi-chain crypto wallets, with native support for Monero (XMR), Bitcoin (BTC), Ethereum (ETH), and over 20 other digital assets. While its mobile and desktop apps include built-in seed phrase restore features, the official CakeWallet seed phrase recovery script offers a secure, offline alternative for edge cases including:
- Corrupted wallet data or broken app installations
- Lost or stolen devices with no recent backups
- Need to verify a seed phrase without importing it to a full wallet
- Recovery of funds when the standard app restore flow fails
This tutorial covers everything you need to use the recovery script safely, from pre-requisites and step-by-step setup to practical usage examples and troubleshooting.
Prerequisites Before You Start
Before running the recovery script, ensure you have the following:
- Your valid CakeWallet mnemonic seed phrase: 12, 15, 24, or 25 words (depending on the blockchain) in the exact order they were provided during wallet creation. If you set a custom passphrase (extra word) during setup, you will also need this.
- An air-gapped (offline) computer: For maximum security, use a device with no internet connection to eliminate the risk of seed theft via malware or keyloggers.
- The official CakeWallet recovery script: Downloaded only from the verified CakeTech GitHub repository, with a checksum verified against the official CakeWallet website to confirm no tampering.
- Basic computer literacy: No advanced coding skills are required, but familiarity with basic command-line interface (CLI) operations is helpful.
Step-by-Step Tutorial for the CakeWallet Recovery Script
Follow these steps exactly to ensure a safe and successful recovery.
Step 1: Download and Verify the Official Script
Never download the recovery script from random links or third-party websites. Use only the official source:
- Navigate to the official CakeTech GitHub repository (
github.com/cake-tech/cakewallet) using a trusted, secure device. - Go to the Releases section and find the latest version of the
cakewallet-recoveryscript package matching your operating system (Windows, macOS, Linux). - Download the script file and its corresponding SHA-256 checksum file.

- Verify the checksum of the downloaded script against the value in the checksum file. On macOS/Linux, use the
shasum -a 256 [script-filename]command; on Windows, useGet-FileHash [script-filename] -Algorithm SHA256in PowerShell. - Transfer the verified script file to your air-gapped offline computer via a secure USB drive (do not connect the USB to any internet-connected device after transferring the script).
Step 2: Prepare Your Seed Phrase
Retrieve your physical seed phrase backup (never use a digital copy or screenshot of your seed phrase):
- Lay out the seed words in the correct order, from word 1 to the final word.
- Double-check the spelling of each word against the BIP-39 (or Monero mnemonic) wordlist if you are unsure of spelling.
- Have a pen and paper ready to note down generated addresses or keys if needed (never store these digitally).
Step 3: Run the Recovery Script
The exact run command varies slightly by operating system:
- macOS/Linux: Open a terminal window, navigate to the folder containing the script, and run
chmod +x cakewallet-recovery.shto grant executable permissions. Then launch the script with./cakewallet-recovery.sh. - Windows: Double-click the
cakewallet-recovery.batfile to launch the script in a Command Prompt window.
Once the script launches, follow the on-screen prompts:
- Select the blockchain of the wallet you want to recover (e.g., Monero (XMR), Bitcoin (BTC)).
- Choose the Recover from seed phrase option when prompted.
- Type your seed phrase word by word when requested (never copy-paste your seed phrase, as clipboard malware can steal it).
- Enter your custom passphrase if you set one during wallet creation (leave blank if you did not use a passphrase).
- Select your desired recovery action:
- Option 1: Generate public wallet address and view key (for verification)
- Option 2: Export private spend key and full wallet keys
- Option 3: Generate an encrypted CakeWallet backup file for import to the mobile/desktop app
Step 4: Verify and Complete Recovery

After the script runs:
- If you chose verification, compare the generated public address to your known transaction history (e.g., via a block explorer for a transparent chain like Bitcoin) to confirm the seed phrase matches your wallet.
- If you generated a backup file, transfer the encrypted
.cakebackupfile to your device with the CakeWallet app via a secure offline method. Open CakeWallet, select Restore from Backup, and enter the backup password you set during script execution to complete the restore.
Practical Usage Examples
These real-world examples demonstrate common use cases for the recovery script.
Example 1: Offline Verification of a Monero Seed Phrase
Scenario: You found a handwritten seed phrase note and want to confirm it belongs to your CakeWallet XMR account without importing it to a connected app.
- Launch the script on your air-gapped machine and select Monero (XMR) from the chain selection menu.
- Enter your 25-word Monero mnemonic seed phrase one word at a time when prompted.
- Select Option 1: Generate public address and view key.
- The script will output your primary wallet address and private view key, as shown in the sample output below:
=== CakeWallet Recovery Script v1.3.0 ===
Selected chain: Monero (XMR)
Enter seed phrase word by word (type 'done' when finished):
Word 1: abandon
Word 2: ability
Word 3: able
...
Word 25: zoo
Seed phrase validated successfully.
Primary wallet address: 4At3X5rvVypTofgmueN9s9QtrzdRe5BueFrskAZYq3wsSj5qZmxQa7rQcR12aU4vKx9fXaM8cZ7Y6wX2xQZ9V7mK8t7b
Private view key: a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f4a5b6c7d8e9f0a1b2

- Cross-reference the primary address with your past transaction records to confirm the seed is correct.
Example 2: Restore a Bitcoin Wallet to CakeWallet Mobile
Scenario: Your phone was lost, and the standard seed import in CakeWallet mobile is failing due to a network glitch. You use the script to generate a backup file for offline import.
- Run the script on your offline computer and select Bitcoin (BTC) from the chain menu.
- Enter your 12-word BIP-39 seed phrase and your custom passphrase (if applicable).
- Select Option 3: Generate encrypted CakeWallet backup.
- Set a strong, unique password for the backup file when prompted. The script will save a file named
cakewallet-btc-backup.cakebackupto your current folder. - Transfer the backup file to your new phone via a USB cable (disable file sharing over the internet first). Open CakeWallet, tap Add Wallet > Restore from Backup, select the file, and enter your backup password to restore your full wallet history and funds.
Critical Safety Tips & Troubleshooting
Non-Negotiable Safety Rules
Break these rules only at the risk of losing all your funds:
- Never run the script on an internet-connected device: Air-gapped machines eliminate nearly all remote theft risks.
- Never share your seed phrase or private keys: Official CakeWallet support will never ask for your seed, passphrase, or private keys.
- Never copy-paste your seed phrase: Always type it manually to avoid clipboard malware.
- Never use third-party recovery tools: Only the official CakeWallet script is verified to be safe and open-source.
Common Issues & Fixes
- "Invalid seed phrase" error: Double-check the spelling of every word, confirm the word order is correct, and ensure you selected the right blockchain (e.g., a 25-word Monero seed will not work for Ethereum).
- Script won’t open on macOS: Go to System Settings > Privacy & Security and click Allow Anyway next to the script blocked notification, as macOS may flag unsigned CLI tools by default.
- Recovered wallet has zero funds: Confirm you entered the correct passphrase (if you set one), selected the right derivation path (the script uses CakeWallet’s default paths automatically), and chose the correct blockchain for your seed.
Final Thoughts
The official CakeWallet seed phrase recovery script is a powerful, secure tool for restoring wallet access when standard app-based recovery fails. By following the steps and safety rules in this guide, you can verify seed phrases, export keys, and restore your wallet without exposing your seed to online risks. We recommend testing the script with a small test wallet first to familiarize yourself with the flow before using it for a wallet with significant funds.