Skip to content
This repository has been archived by the owner on Jun 19, 2022. It is now read-only.

A tool to export seeds and private keys from Android Bitcoin Wallet back-ups.

License

Notifications You must be signed in to change notification settings

c1rrus/bitcoin-wallet-decode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Android Bitcoin Wallet Decoder

A tool to export seeds and private keys from Android Bitcoin Wallet back-ups.

This is useful if you want to import or sweep those keys into other Bitcoin wallets, as the Android Bitcoin Wallet app does not offer a facility to export the private keys.

Likewise, if you had Bitcoin before blockchain forks like Bitcoin Cash (BCH) and/or Bitcoing Gold (BTG), then those same private keys can be used to claim your BCH or BTG balances in suitable wallet apps.

Table of Contents

⚠️ Safety warning

☠️ This tool exposes your wallet's private key(s) and mnemonic seed(s) as plain text. Use this tool at your own risk!! ☠️

You are responsible for the keeping your keys safe.

This tool is provided as is under the ISC open-source license with no warranty.

Pre-requisites

You need to have Docker installed on your system.

(FWIW, this tool was developed and tested using Docker Community Edition version 17.11.0-ce on Ubuntu Linux.)

Setup

You need to perform this setup step only once. After that, you can run the tool as often as you like.

  1. Git clone this repo
  2. Navigate into the cloned repo
  3. Pull or build the Docker image
    • EITHER pull the pre-built Docker image: docker pull c1rrus/bitcoin-wallet-decode
    • OR Build the Docker image yourself by running ./build.sh
      • Note: On Linux systems you may need to do sudo ./build.sh as Docker commands typically need to be run as sudo.

Running the tool

First you need to copy the Android Bitcoin Wallet's backup file to your computer. If you're unsure how to do this, refer to their instructions on locating the back-up files.

Then...

  1. Navigate into the cloned repo (if you're not already there)
  2. Run ./bitcoin-wallet-decode.sh path/to/your/wallet-backup
    • Note: This tool runs entirely on your computer, so you can use it offline if you wish
  3. You will be prompted for a password. This is the "backup password" you set in the Android Bitcoin Wallet app.

That's it! Once the process has completed, you should find 2 new files in the same directory as your wallet-backup file:

  • wallet-backup-seed.txt: Contains the mnemonic seed of your wallet
  • wallet-backup-private-keys.txt: Contains your wallet's WIF private keys

Acknowledgements and more info

A big thank you to:

This tool more or less performs the same steps the people above documented. The main differences are:

  • Use of a Docker container with all the necessary tools (OpenSSL, git, BitcoinJ, etc.) so that you don't need to install them on your computer or muck about with heavy virtual machines
  • Some shell scripts to automate the steps

Comments and contributions are welcome!

About

A tool to export seeds and private keys from Android Bitcoin Wallet back-ups.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages