I have created a new contract on Polygon based on ERC20 with a couple of extra public functions. And am having trouble with communicating what the user is doing to MetaMask. When I perform a normal ERC20 transfer() transaction, the signature popup correctly showing the value, in myNewToken, of the transaction plus MATIC gas. BUT if I use my new
Tag: erc20
How to send an ERC20 token with web3js
I’m currently using the 0.2x.x version of the Web3 JavaScript API. I deployed my custom ERC20 token by creating smart contract in solidity (on REMIX IDE). I installed the MetaMask and had a test on https://wallet.ethereum.org/ to send some custom ERC token to another my account. It worked well. I want to add the ‘send custom ERC20 Token’ function in