Reputation: 107
Someone sent me signed message (transfer). I want to broadcast it to Ethereum network on my behalf, and cover up the fees.
I also have my signed message (transfer), and want to combine them both into 1 transaction.
Is it possible to merge them?
Or somehow optimise this using other method?
The main goal is: combined transaction need to be 1 and unique. So this combined amount of tokens will be processed by contract without the risk that a 3rd party will infiltrate the association.
Upvotes: 1
Views: 514
Reputation: 1956
The short answer is no. The way ECC encryption works is that you can't predict the outcome of encryption. So you can't just take encrypted result 1 + encrypted result 2 and get encrypted result 3.
Depending on the reason you are trying to do this, I could suggest a feasible solution. For example if you are trying to transact on someone's behalf to save them the gas, perhaps you can look at Meta Transactions.
Alternatively if you are trying to do something requiring multiple parties to sign something you can look at multisig.
I think for an abstract question like this you should probably provide a bit more context, so those answering have a chance to help.
Upvotes: 2