3

If I send multiple zero value transactions from address A, containing several messages to broker a deal, is it safe to (re)use that address later on for a payment (to settle the deal)?

7
  • In my opinion it should be, since the the zero value transaction don't get signed.
    – mike
    Sep 11, 2018 at 13:11
  • 1
    zero value transactions do not have a from
    – mihi
    Sep 11, 2018 at 19:58
  • @mihi They don't need a from. But at least in devnet it's posible to set a from address. The application I'm developing kind of relies on the fact that the entity messaging is also the one paying later on.
    – mike
    Sep 12, 2018 at 8:22
  • 1
    it depends on what libs you are using. When you are using devnet, can you post a transaction hash or link to devnet.thetangle.org? I'm curious where your library is hiding the "from" address and "to" address in a transaction that only has one address field :)
    – mihi
    Sep 12, 2018 at 18:52
  • 1
    The corresponding bundle shows it as an output address :)
    – mihi
    Sep 12, 2018 at 20:08

1 Answer 1

2

Zero value transactions don't need to be signed but you can sign them, either by mistake or by using a buggy library and in this case: it is unsafe to re-use the same address.

I can't find the reference right now, but I think that a bug like that was once reported with js library. (it was probably with the old js library)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.