I tried to use sendSignedTransaction function, it signed and sent the transaction successfully(i think), but it's not transferring tokens as it ought to. It's basically not doing the intended task 😔

Please, i need some help. Below is a link to the gist on GitHub


  • Do you have the hash from a failed transaction we can inspect?
    – Ismael
    Nov 1, 2019 at 4:21
  • Yes, i do. But unfortunately, it's on my private blockchain (Ganache) Nov 1, 2019 at 9:37
  • In order to use transferFrom from a contract the token's owner must have called previously approve on the contract address. Your contract checks for allowance and revert, so that might be a possible place where to look for.
    – Ismael
    Nov 1, 2019 at 15:59


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.