With the ERC-20 standard, it is possible to approve a third-party relayer to spend the tokens on your behalf. This can be done by calling the approve
function and providing a high allowance value, which is then decreased as the relayer makes payments on behalf of the user.
Can this functionality be replicated with ETH?
Given that:
- ETH is a native asset, so it doesn't have an allowance system
- Users need to specify the
value
when submitting a transaction
I suspect that the answer is "no", but I'm not sure. Maybe there's some smart, hacky way to achieve this using cryptographic signatures?