<p>You can create a transaction that has a lock time set. If a transaction has a lock time, it cannot be confirmed until after the lock time has passed. This mostly meets the first constraint.</p>

<p>However the inputs that it spends from could be spent by another transaction before the lock time of the original has passed, thus meeting the second constraint.</p>

<p>The caveat is that the lock timed transaction will only be valid if the output that it spends from is not spent yet. Bitcoin does not use accounts so there is no balance.</p>

CC BY-SA 3.0
2018-01-22T03:29:19.523Z
I agree with you that the problem can be partially solved using a time lock. However, such solution does not 100% (or with high probability) guarantee that the transaction will be valid after the period. I am looking for a solution with no caveat.
Dukefleed
CC BY-SA 3.0
2018-01-22T04:37:05.167Z
Then there is no solution.
Ava Chow
CC BY-SA 3.0
2018-01-21T01:14:26.013Z
2018-01-21T01:14:26.013Z
Ava Chow
<p>How to create a transaction in Bitcoin that can be spend after a certain period (e.g. 1 month) such that:
1. It is guaranteed that the transaction will be valid after 1 month (the account has enough BTC in it).
2. The amount to be withdrawn is not locked for that period.</p>

<p>Lightning network will allow this to happen. However, the amount must be locked, which violates the second condition above.. </p>

CC BY-SA 3.0
2018-01-21T06:04:00.280Z
I don't see how it could even be possible to satisfy both conditions.  If the amount is not "locked", that implies that the owner is allowed to withdraw it before the month is up, perhaps paying it to some third party.  So now what should happen when the month is up?  Should the money be magically taken away from the third party and given to the original intended recipient?  That doesn't seem desirable.
Nate Eldredge
<transactions><futures>
can somone create guaranteed future transaction?
Dukefleed
# can somone create guaranteed future transaction?

(Asked by: username_0 on 2018-01-21)

How to create a transaction in Bitcoin that can be spend after a certain period (e.g. 1 month) such that:
1. It is guaranteed that the transaction will be valid after 1 month (the account has enough BTC in it).
2. The amount to be withdrawn is not locked for that period.

Lightning network will allow this to happen. However, the amount must be locked, which violates the second condition above..

**Tags:** transactions, futures

> **Comments:**
> **username_1**: I don't see how it could even be possible to satisfy both conditions.  If the amount is not "locked", that implies that the owner is allowed to withdraw it before the month is up, perhaps paying it to some third party.  So now what should happen when the month is up?  Should the money be magically taken away from the third party and given to the original intended recipient?  That doesn't seem desirable.  

---

## 1 answers

### Answer by username_2 on 2018-01-21. Score: 1

You can create a transaction that has a lock time set. If a transaction has a lock time, it cannot be confirmed until after the lock time has passed. This mostly meets the first constraint.

However the inputs that it spends from could be spent by another transaction before the lock time of the original has passed, thus meeting the second constraint.

The caveat is that the lock timed transaction will only be valid if the output that it spends from is not spent yet. Bitcoin does not use accounts so there is no balance.

> **Comments:**
> **username_0**: I agree with you that the problem can be partially solved using a time lock. However, such solution does not 100% (or with high probability) guarantee that the transaction will be valid after the period. I am looking for a solution with no caveat.  
> **username_2**: Then there is no solution.  

---

