Allow transaction fee being payed by another account

Ah okay, got you. Yes, that should work out. The SDKs could get a SignAndPost function, that would make wallet providers like baseapp and waellet sign and POST a tx to some API, which should - if the tx is accepted by the payer - return a TX receipt. Additional authentication info shouldn’t even be necessary, the backend should already be aware of the user’s (wallet)address/pubkey and could use ecverify to ensure the TX to be paid for is originated from a legitimate source.

The inner transaction is also signed, so it is also self contained, no need to keep track of user’s pubkey, etc. to verify it is legit. (Though keeping track of what accounts may get their TXs payed for is probably a good idea :slight_smile: )

1 Like

This is the first real case I see of a DDoS in the network. Because those transactions could overflow the mempool.

Now to add insult to injury, what if it allowed to exchange the token for ae, so someone could absorb the tokens for AE by paying the transaction fee? Sounds risky, and complicated, but I am pulling a James Ko / Whyarewehere42 and just throwing a silly idea against the wall. :stuck_out_tongue:

as @dincho mentioned these transactions would only be added to the mempool if fully signed by all participants beforehand. haven’t you read that in the thread history? :thinking:

I said DDoS as this can possibly saturate the mempool. Because those transactions won’t be written until after they all signed it. So, wouldn’t those stay in the mempool until either discarded or completely signed by everyone? hence… likely mempool saturation.

Perhaps you haven’t read my message completely in the history? :thinking:

Saturating the mempool is trivial, that can be done without a new transaction type…

Only fully signed transactions are normally allowed into the mempool, and that was what I intended the PayingForTx to be, so the mempool aspect of this is not very exciting I think.

Now this is a useful response. so you are saying the me pool can be saturated with no issues but it is also able to handle it? That’s good to know