Bitcoin Forum
May 19, 2024, 11:46:12 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: BTC Wallet recovery from defunct Chrome app  (Read 148 times)
gritz (OP)
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
January 15, 2018, 06:39:57 PM
 #1

HI,
Made the mistake of downloading a new BTC wallet from the Chrome store called "SpareCoins" - it let me send all my BTC to my new wallet - awesome - then I tried to send BTC to an address and the app just SITS THERE SENDING...
I have about $300 in BTC sitting there and I am LOST.
It was a very simple setup - add a password, add funds, done.
Evidently, the company (or user) no longer makes/supports that app.
Now I have a wallet, in Chrome, with my BTC and I cannot do anything with it.
I have a wallet BU, text file, which has unecrypted private keys with the phrase "Encrypted Privated Keys (AES)
Use a SHA256 digest of your password as the encryption key" in it but I need to know how I can SEND or GET the funds OUT of there to a good wallet.
Please help if you can. I have the password, but no knowledge of what to do next.
FYI, nothing has been forgotten or lost - ANY THOUGHTS, PLEASE!!!
nitinkp47
Newbie
*
Offline Offline

Activity: 42
Merit: 0


View Profile
January 16, 2018, 02:43:18 AM
 #2

Hello,

So if you have backed up your private key and paraphrase, I think you can download an offline wallet and recover it using them.
Unless you have been cheated by that company.
I hope it goes well and if more experienced members can help on this.
dolfje
Newbie
*
Offline Offline

Activity: 10
Merit: 0


View Profile
January 16, 2018, 07:20:14 AM
Last edit: January 16, 2018, 08:42:06 AM by dolfje
 #3

You can recover you keys on the following way:

* Surf to chrome://extensions/
* On top you will see a checkbox 'developer mode', click that.
* Then scroll to the Sparecoins extension
* There you will see 'background page', click on that.
* Now a debug screen will open. There you will have to copy paste the following (change the xxx in your password and press enter):
Code:
var password = "xxx";

// Load library
var scr = document.createElement('script');
scr.setAttribute('src', 'lib/aes.js');
document.head.appendChild(scr)

// Opening wallet and read out the addresses
var Wallet = SpareCoins.Wallet( SpareCoins.ChromeStorage );
Wallet.loadData(function() {
  Wallet.getAddresses().forEach(function(address) {
    if(address.decrypt(Crypto.SHA256(password))) {
      console.log("public key: "+address.getAddress()+" private key: "+address.getPrivateKey())
    }
    else {
      console.log("password is wrong");
    }
  })
})

Now it will print all your public address with next to it the private addresses. The private addresses can be used in other Bitcoin wallets.

*Updated to make sure the script also decrypts the private keys

https://uwsoftware.be/index.php/bitcoin-recovery-service/
1PMxqTNHyQuZ73Gkg6xVUTggB7Gy5cqwYV
gritz (OP)
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
January 17, 2018, 08:38:16 PM
 #4

Thank you - a tremendous help - but I'm forced to ask another question.
This worked perfectly for me using the existing Chrome install BUT the wallet I want to recover was backed up - not currently in Chrome.
I screwed up, backed up the wallet, and reinstalled the program, thinking I could import it - the function is not there.
The app created a text backup file like so (I added the *):

Encrypted Privated Keys (AES)
Use a SHA256 digest of your password as the encryption key

U2FsdGVkX19Yt3WH593dpXMfttSC+qTsW**********at34a3+05bVkmPxV7d7ENcn7CGe4juUa4rI5Xa7Mh8PlgVvRZ79MWLaoDtiMpQI=

Is there ANY way for me to use this file and extract the private/public keys from it?

gritz (OP)
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
January 18, 2018, 08:04:11 PM
 #5

I got it - was able to use the developers tool and know public secrets, by adding to the wallet data and then using the function you provided to get the private keys! Took a lot of guesswork and elimination, but since I had all the data it worked!
Anyone who has a similar issue can contact me and I can explain the steps.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!