The salary isn't fuel for your real life. It's the invoice for the one you traded away. Ten years in, I stopped waiting for the job to end before my life started. https://t.co/PrlCzmkI73
Last step is to just call the symbols() method on the contract to return the symbol. You can do this for any ERC-20 method like name(), totalSupply() etc.
We initialize the web3 provider using an Infura url. You can get it from https://t.co/2peKMpTl9i.
Then we create a contract instance using the contract address and contract ABI. You can Get the SHIB contract ABI at https://t.co/hbEtVrfeRi.
We first have to test that the amount sent is not greater than the senders balance. If so, we update the balances for the sender and receiver and emit a Transfer event so that any listeners react to the function completion.
Q: Describe what happens when a user sends an ERC-20 token from one account to another? What is the function name? What arguments does it take? What happens inside this function?