What is the best way to do the following actions on a DAAP developed with React.js?
Actions:
- connect/disconnect... on Metamask wallet
- get accounts
- get balance on MATIC from this account
- get ERC720 tokens from this account
Minimum requirements (objetives):
- built-in on react.js
- just need metamask integration
- need to run on the Polygon chain network
I am very confused becasue I have tried a lot of libraries like web3.js, ether.js, web3-react... and I did not find a proper solution. Anyone can ilustrate me and tell me the best approach?