Author

Topic: How to send a transaction at a specific time? (Read 239 times)

legendary
Activity: 3682
Merit: 1580
February 28, 2020, 11:28:25 PM
#7
use a cron job inconjunction with the electrum json rpc or command line interface.

see: http://docs.electrum.org/en/latest/cmdline.html
legendary
Activity: 3472
Merit: 10611
February 28, 2020, 11:19:53 PM
#6
You can set the locktime to the blockheight you want the transaction to be included on the block.

the locktime field is interpreted in two ways: as a block height and a date-time.
in other words you can also set it to a datetime. all you have to do in order to do that is to convert your datetime object to epoch:
for example Saturday, February 29, 2020 4:19:08 AM is 1582949948 then use that integer in your locktime field in little-endian order.
copper member
Activity: 2338
Merit: 4543
Join the world-leading crypto sportsbook NOW!
February 28, 2020, 08:24:15 PM
#5
I've thought about the OP's issue in the past and decided it's not a good idea.  If you want software to be able to do that, then it needs to be running all the time, or somehow communicate the transaction to the server to which you are connected.  That might pose security/privacy risks.

As for @FatFork''s suggestion, I think a script would have to be specific to broadcasting the transaction only.  I don't think writing a script that signs the transaction would be a good idea, again security risks.  This also would require the software to be running.  I wouldn't want to keep my Electrum running on an unattended computer, and that's seems to be the whole point of scheduling an automated transaction.

I would like to pay them a salary in Bitcoin using electrum and the function: send later.

You can sign and then save the transaction, and just broadcast it later.  You can also export the transaction after signing it, and have an employee broadcast it at some later time using an empty wallet.

To sign a transaction and save it for broadcasting you build the transaction, with multiple outputs if you like, but don't click "send."  Instead, click the "preview" button.  On the popup page, you'll be able to sign the transaction, and then save or export it.  If you save it, the transaction will be listed on your history page, but it won't be broadcast until you do so manually.

If you export the transaction, it'll be saved as a .txn file, which can be opened in Electrum at a later date.  You don't have to be logged into the same wallet from which the coins are being sent.  You can have a trusted employee import and broadcast the transaction at some designated time, using a completely different, empty wallet.
legendary
Activity: 1624
Merit: 2594
Top Crypto Casino
February 28, 2020, 03:58:11 PM
#4
For example in Mozilla Thunderbird there is a addon: send later
https://addons.thunderbird.net/pl/thunderbird/addon/send-later-3/

I know that is maybe not good example but it works how i want to.

I can prepare a few emails and save it in draft folder (with setting the exact time of sending)
It is very helpful if I want send some next next goals to complete (to my employees).

I would like to pay them a salary in Bitcoin using electrum and the function: send later.


Sending an email and sending Bitcoin are two completely different things. I don't think the electrum wallet has such functionality.

If you know how to program batch scripts, you can probably do something with the electrum command line.
https://electrum.readthedocs.io/en/latest/cmdline.html
member
Activity: 93
Merit: 12
February 28, 2020, 03:42:13 PM
#3
I never heard a tool that you can send bitcoin to a specific time but I tried to check some features from coinb.in.

You can find a tool called LockTime when making a transaction in advanced options. You can check it from here https://coinb.in/#newTransaction

According to this
Quote
A specified locktime indicates that the transaction is only valid at the given blockheight or later.

Since the locktime field indicated is 419382 and currently the latest blockheight as of 12th July 2016 1108 (AEST) is 420352 the transaction is now valid and can be included in a block by any miner that chooses to do so.
Source: https://bitcoin.stackexchange.com/questions/46495/what-does-lock-time-mean

You can set the locktime to the blockheight you want the transaction to be included on the block.
So if you can put the locktime higher than the current blockheight your transaction is lock until the blockheight reaches the specific locktime you set.

It looks like there is no exact time or the specific time when will the transaction is being sent.

For example in Mozilla Thunderbird there is a addon: send later
https://addons.thunderbird.net/pl/thunderbird/addon/send-later-3/

I know that is maybe not good example but it works how i want to.

I can prepare a few emails and save it in draft folder (with setting the exact time of sending)
It is very helpful if I want send some next next goals to complete (to my employees).

I would like to pay them a salary in Bitcoin using electrum and the function: send later.
legendary
Activity: 3374
Merit: 3095
Playbet.io - Crypto Casino and Sportsbook
February 28, 2020, 03:20:18 PM
#2
I never heard a tool that you can send bitcoin to a specific time but I tried to check some features from coinb.in.

You can find a tool called LockTime when making a transaction in advanced options. You can check it from here https://coinb.in/#newTransaction

According to this
Quote
A specified locktime indicates that the transaction is only valid at the given blockheight or later.

Since the locktime field indicated is 419382 and currently the latest blockheight as of 12th July 2016 1108 (AEST) is 420352 the transaction is now valid and can be included in a block by any miner that chooses to do so.
Source: https://bitcoin.stackexchange.com/questions/46495/what-does-lock-time-mean

You can set the locktime to the blockheight you want the transaction to be included on the block.
So if you can put the locktime higher than the current blockheight your transaction is lock until the blockheight reaches the specific locktime you set.

It looks like there is no exact time or the specific time when will the transaction is being sent.
member
Activity: 93
Merit: 12
February 28, 2020, 12:52:12 PM
#1
Hi

as i wrote above how to send transaction at the exact time set?

Of course after entering the password.

My goal: How to send Bitcoins automatically at specific time in this great wallet?
Jump to: