After reading documentation online, I can tell something isn't clicking for me when it comes to dealing with ERC20 tokens in Solidity.
At the very basic level, I need this contract to be able to transfer HEX, an ERC20 token, from user to user. I deploy the contract to the Pulsechain Testnet through Injected Web3.
This is how I implement ERC functionality
However, this is the error message I get
If there's an easier way to transfer ERC20 tokens please let me know, or if someone has any helpful learning resources I would seriously appreciate it. All the videos I've tried to watch just cover creating your own ERC20 token.