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)?

  • In my opinion it should be, since the the zero value transaction don't get signed. – mike Sep 11 at 13:11
  • 1
    zero value transactions do not have a from – mihi Sep 11 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 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 at 18:52
  • 1
    The corresponding bundle shows it as an output address :) – mihi Sep 12 at 20:08
up vote 2 down vote accepted

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 acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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