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.– mikeCommented Sep 11, 2018 at 13:11
-
1zero value transactions do not have a from– mihi ♦Commented 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.– mikeCommented Sep 12, 2018 at 8:22
-
1it 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 ♦Commented Sep 12, 2018 at 18:52
-
1The corresponding bundle shows it as an output address :)– mihi ♦Commented Sep 12, 2018 at 20:08
|
Show 2 more comments
1 Answer
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)