<p>You could make one using bitcoinj which listens for txns, then triggers a spend.
Perhaps you would use rpc to control bitcoind to make the spend, and only use bitcoinj for the listening side ?
That should (I haven't done it but hope to soon) not require any private keys to listen to the wallet.
See this: <a href="https://bitcoin.stackexchange.com/questions/8132/listening-to-all-transactions-of-the-bitcoin-network/8133#8133">Listening to all transactions of the Bitcoin network</a> </p>

<p>bitcoind appears to be pull oriented, while bitcoinj can be set up to be push related, sort of.</p>

CC BY-SA 3.0
2013-04-29T06:30:17.687Z
2013-04-29T06:30:17.687Z
2017-04-13T12:47:32.940Z
bobjandal
<p>There's the <code><a href="https://en.bitcoin.it/wiki/Sweepprivkey_proposal" rel="nofollow noreferrer">sweepprivkey</a></code> proposal from 2011 which was not accepted, that would have allowed one to instruct her bitcoind client to listen to transactions and sweep funds whenever they are transferred from one address to another.  </p>

<p>There is also this <a href="https://bitcoin.stackexchange.com/questions/1495/is-there-a-way-to-automatically-send-bitcoins-from-one-wallet-to-another">question</a>, "Is there a way to automatically send bitcoins from one wallet to another?", but it does not specifically ask about a service that would do that.</p>

<p>I was wondering whether someone developed, or is considering the development, of such a service. 
There would be security implications, as the service would have to know the private key of the address to sweep - is there any secure way to implement this otherwise?</p>

<transactions><private-key><services><merchant-services>
Is there a service that automatically "sweeps" funds to another address whenever they are sent?
nivs
# Is there a service that automatically "sweeps" funds to another address whenever they are sent?

(Asked by: username_0 on 2013-04-14)

There's the `sweepprivkey` proposal from 2011 which was not accepted, that would have allowed one to instruct her bitcoind client to listen to transactions and sweep funds whenever they are transferred from one address to another.

There is also this [question](https://bitcoin.stackexchange.com/questions/1495/is-there-a-way-to-automatically-send-bitcoins-from-one-wallet-to-another), "Is there a way to automatically send bitcoins from one wallet to another?", but it does not specifically ask about a service that would do that.

I was wondering whether someone developed, or is considering the development, of such a service.
There would be security implications, as the service would have to know the private key of the address to sweep - is there any secure way to implement this otherwise?

**Tags:** transactions, private-key, services, merchant-services


---

## 1 answers

### Answer by username_1 on 2013-04-29. Score: 1

You could make one using bitcoinj which listens for txns, then triggers a spend.
Perhaps you would use rpc to control bitcoind to make the spend, and only use bitcoinj for the listening side ?
That should (I haven't done it but hope to soon) not require any private keys to listen to the wallet.
See this: [Listening to all transactions of the Bitcoin network](https://bitcoin.stackexchange.com/questions/8132/listening-to-all-transactions-of-the-bitcoin-network/8133#8133)

bitcoind appears to be pull oriented, while bitcoinj can be set up to be push related, sort of.


---

