This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const erc20Abi= [ | |
'function transfer(address to, uint256 amount)', | |
'function balanceOf(address owner) view returns (uint256)', | |
'function decimals() view returns (uint8)', | |
'function symbol() view returns (string)', | |
'function name() view returns (string)', | |
] | |
const provider = new ethers.providers.AlchemyProvider( | |
'goerli', |