erc20 Example
arsen3d opened this issue · comments
arsen3d commented
Would be nice if there was an example of getting balance and sending of ERC20 token.
Valentin Racine commented
Hey there, thanks for the suggestion!
However, getting balances or sending tokens (or more broadly, contract interactions) is not something useWallet
is designed to do. useWallet
is merely an interface between your react application and wallet provider. This is why we don't have requested examples and won't be adding them in the future, either. If you are interested in this type of functionality you will have to check out libraries like ethers.js
or web3
.