I have a stupid ethereum question.

Without using a smart contract, I am wondering if this is possible:

I have two addresses and two keys - wallet A and wallet B - one containing eth, the other containing erc20. Is it possible to pay to send the erc20 from wallet B with the eth for gas from Wallet A to third party (wallet c) in a single transaction.

Sep 21, 2020, 4:26 AM
You can have a look at something called meta transactions. In theory that is possible but it's a rather complicated topic and I'm unsure what kind of service providers are available currently for that
Sep 21, 2020, 4:36 AM
im actually trying to do it on layer 2
Sep 21, 2020, 4:36 AM
that won't help you, I'm afraid
as you'll need to first enter the L2 and then exit the L2 - that's at least two transactions
Sep 21, 2020, 4:37 AM
no for funds already on l2
omg network
Sep 21, 2020, 4:38 AM
aaaa. well on L2 anything is possible for free(?)
Sep 21, 2020, 4:38 AM
https://docs.omg.network/network/transfers
cheep but not free
Sep 21, 2020, 4:38 AM
depends totally on the architecture
Sep 21, 2020, 4:38 AM
basically a person wants to pay for tokens that exist on a vault, so they deposit funds to a web wallet, then i have both keys.
but the tokens are here and the funds are there
the dicey part is that someone else has the ability to withdraw from the web wallet containing the tokens (the person that put them there) so there is an impetus to do it all in one transaction
Sep 21, 2020, 4:42 AM

© 2024 Draquery.com All rights reserved.