Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

erc20 Example #199

Closed
arsen3d opened this issue Mar 28, 2022 · 1 comment
Closed

erc20 Example #199

arsen3d opened this issue Mar 28, 2022 · 1 comment

Comments

@arsen3d
Copy link

arsen3d commented Mar 28, 2022

Would be nice if there was an example of getting balance and sending of ERC20 token.

@WissenIstNacht
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants