Home Foren Trezor Wallet Feature-Anfrage: Automatische Generierung von Timelock-Transaktionen mit allen Salden Antwort auf: Feature-Anfrage: Automatische Generierung von Timelock-Transaktionen mit allen Salden

#173683
User
Gast
Up
0
Down
::

Interesting tidbit: Trezor does not have a trusted time source!

So if you wanted to automatically create a timelock transaction, it would be super easy to subvert: just tell Trezor to create a tx 5 years “in the future”, except today is October 20, 2016 🙂

For this reason, this is never going to be a feature of Trezor itself. You’d have to confirm the transaction manually.

HOWEVER, it would not be difficult to build this feature yourself using Trezor Connect:

1. query current balance via [getAccountInfo](https://github.com/trezor/connect/blob/develop/docs/methods/getAccountInfo.md)
2. pre-compose transaction with `send-max` via [composeTransaction](https://github.com/trezor/connect/blob/develop/docs/methods/composeTransaction.md) using the result of previous call
3. append `locktime` field to the result and sign via [signTransaction](https://github.com/trezor/connect/blob/develop/docs/methods/signTransaction.md#params)
4. install this as a service that will e-mail you monthly and remind you to upgrade your timelock. Then you follow the link, confirm the transaction manually on your Trezor, and have the service e-mail the result wherever you like it.
5. make it add 0.005 % as a tip to yourself and make the service public 🙂