Bitcoin Forum

Other => Beginners & Help => Topic started by: ehmdjii on April 09, 2014, 07:05:34 PM



Title: Immediately sweep keys upon incoming transaction.
Post by: ehmdjii on April 09, 2014, 07:05:34 PM
Hello, I do own some address which I am afraid of are compromised.
Of course I have already removed any remaining balances of it, but still it could happen that they will receive a transaction in the future.

Now is it somehow possible to automatically watch these addresses and forward any incoming transactions to another address immediately?

thanks!


Title: Re: Immediately sweep keys upon incoming transaction.
Post by: BitCoinDream on April 09, 2014, 07:14:57 PM
Hello, I do own some address which I am afraid of are compromised.
Of course I have already removed any remaining balances of it, but still it could happen that they will receive a transaction in the future.

Now is it somehow possible to automatically watch these addresses and forward any incoming transactions to another address immediately?

thanks!

If u r using blockchain.info wallet, i guess it is possible by using their API. Even if u dont, then also it can be done using cron... just a little difficult


Title: Re: Immediately sweep keys upon incoming transaction.
Post by: pbj sammich on April 09, 2014, 08:09:25 PM
Do you have the private keys? If so you could sweep them into a new wallet


Title: Re: Immediately sweep keys upon incoming transaction.
Post by: matt4054 on April 09, 2014, 08:16:26 PM
Even if you import the compromised (private) keys, they will remain compromised so your funds will NOT be secured until you send them to another Bitcoin address.

At any rate, you will need scripting.  If using a 3rd party service, you would need to give the compromised private keys to them (I guess that's not a big deal in that case), and the new address (= new public key). Unfortunately I am not aware of any software and/or service that would do this right now.

Edit: oh, and obviously your script should be faster than the attacker's script, if any. In other words, it's quite problematic and you should avoid receiving funds on the compromised addresses as much as possible.