Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

191
Visualizações
Web3: How to pay transaction fee from another wallet?

I need help. I have a webpage, where user register and I create a new wallet address for him (I own private key). Then he receive erc20 tokens on that address and he can withdraw them to his own private wallet. Problem is that on that newly created wallet there is no native token (for example MATIC which is used to pay for transaction fee). How can I pay fee from another wallet for that transaction? Is that even possible? How else can this be solved?

Its kinda stupid that I need to send MATIC to that new wallet first, so I can pay for fees, isn't it? I will actually pay double fee for that.

What I want is kinda the same system as exchanges have. You can deposit tokens and withdraw them. But I am confused how they pay for transactions fees?

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

Paying gas fees for another address is not natively supported by EVM networks.

Exchanges usually withdraw tokens from their hot wallets that hold multiple tokens as well as the native token of the network.

When exactly they collect ERC-20 tokens from the deposit wallets, that's part of their business strategy. It might depend on:

  • Whether the user deposits native tokens as well
  • How much of them
  • What is the exchange's balance of that specific ERC20 token in the hot wallet. If it's low, the exchange might be willing to pay a premium by sending native tokens to some deposit wallets to be able to collect the ERC20 token quickly.
  • Regular cleanup schedule of all deposit wallets. E.g. once in a month they might send native tokens to all of their deposit wallets and transfer all ERC20 tokens to their hot wallet.
  • etc...
about 4 years ago · Juan Pablo Isaza Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda