Does anyone know what function we should use to automatically transfer ERC20 tokens from one wallet to another wallet?

Jun 10, 2021, 8:32 PM
you can’t do it fully automatically, you should do the transaction

suppose that token contract is T

A should call T.approve(B, amount)

then B can call T.transferFrom(A, C, amount)

so you should have access to this function of B contract
Jun 10, 2021, 8:39 PM
Thanks
Jun 10, 2021, 8:47 PM

© 2024 Draquery.com All rights reserved.