ERC-20 / BEP-20 utils
Using npm:
npm i @normalizex/ethut
Using yarn:
yarn add @normalizex/ethut
import { Ethut } from '@normalizex/ethut';
const web3 = new Web3('ProviderURL');
const ethut = new Ethut(web3 || 'Provider URL');
- Ethut.erc20:
- allowance
- balanceOf
- getDecimals
- getSymbol
- approve
Of course, the project was made not for any benefit, but for my personal convenience 😃
But I wanted to share this convenience with the Github community.
You can send me any amount of any coins in the ETH / BSC network as a donation to the address: 0x35552CF3Ce8Cc8a0f7fdC8Aa88a89b92e9Ab5FdB