<p>Yes, you could for example create a cronjob that calls a shell or python script every minute. A corresponding script would e.g. use <code>electrum getbalance</code> and <code>electrum payto &lt;address&gt; &lt;amount&gt;</code> with some additional logic to forward the funds when enough has been accumulated.</p>
<p>I would suggest that you avoid address-reuse by using extended pubkeys instead of fixed addresses.</p>

CC BY-SA 4.0
2022-07-26T14:40:05.183Z
2022-07-26T14:40:05.183Z
Murch
<p>We would like to generate multiple addresses in Electrum, receive BTC to these addresses on a daily basis and auto-forward them to another address automatically.
So the flow would be this:</p>
<ol>
<li>BTC Sent to Electrum generated address</li>
<li>Electrum wallet balance is inquired on a timed basis (every 1 minute)</li>
<li>If Electrum wallet balance is over 0.05 BTC then it will create a new broadcast transaction to a predetermined and fixed wallet</li>
</ol>
<p>Is this possible?</p>

<wallet><electrum><development><python><sending>
How to "Autoforward" incoming BTC using Electrum
electrumhelp
# How to "Autoforward" incoming BTC using Electrum

(Asked by: username_0 on 2022-07-25)

We would like to generate multiple addresses in Electrum, receive BTC to these addresses on a daily basis and auto-forward them to another address automatically.
So the flow would be this:

1. BTC Sent to Electrum generated address
2. Electrum wallet balance is inquired on a timed basis (every 1 minute)
3. If Electrum wallet balance is over 0.05 BTC then it will create a new broadcast transaction to a predetermined and fixed wallet

Is this possible?

**Tags:** wallet, electrum, development, python, sending


---

## 1 answers

### Answer by username_1 on 2022-07-26. Score: 2

Yes, you could for example create a cronjob that calls a shell or python script every minute. A corresponding script would e.g. use `electrum getbalance` and `electrum payto <address> <amount>` with some additional logic to forward the funds when enough has been accumulated.

I would suggest that you avoid address-reuse by using extended pubkeys instead of fixed addresses.


---

