Getting Error for transfering tokens from wallet address to a smart contract #323
-
this function transfers tokens from wallet to the contract
But, on the call of this function, this is the error it is showing, the wallet has enough tokens to transfer
|
Beta Was this translation helpful? Give feedback.
Answered by
PatrickAlphaC
Jun 17, 2022
Replies: 2 comments 2 replies
-
did you check your wallet balance? |
Beta Was this translation helpful? Give feedback.
1 reply
-
The transfer function looks like this:
This only transfers tokens from itself. You're looking for
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
PatrickAlphaC
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The transfer function looks like this:
This only transfers tokens from itself. You're looking for
transferFrom