Feature-Anfrage: Automatische Generierung von Timelock-Transaktionen mit allen Salden

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

Ansicht von 1 Antwort-Thema
  • Autor
    Beiträge
    • #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 🙂

    • #173684
      User
      Gast
      Up
      0
      Down
      ::

      I don’t think you understand the purpose of a trezor. It forces you to manually sign/confirm every transaction. you want to automate that by requesting a feature defeating the purpose of the device?

      The only solution that comes to my mind is to create a smart contract that does that. Since you offered to develop some part of your feature request yourself, that should not be an issue for you. maybe you could open source it, so others can use it too, that would be great 😉

Ansicht von 1 Antwort-Thema
  • Du musst angemeldet sein, um auf dieses Thema antworten zu können.