DEV Community

Discussion on: Build a Web3 Dapp in React & Login with MetaMask

Collapse
 
mrinalasth profile image
Mrinal Asthana • Edited

Great tutorial, was fun to follow! Currently, one can connect to metamask and read/access eth amount in the wallet. Have you seen an example of how I could leverage this code with another package/application to also access assets on other chains such as Polygon(MATIC) and NFTs on other chains as well?

Collapse
 
jacobedawson profile image
Jacob E. Dawson

Hi Mrinal, thanks :)

Yes you could alter / add some variables like the chainId and RPC in order to interact with other EVM-compatible chains - here's another repo & accompanying tutorial that uses the same pattern to connect with the Moonriver network:

github.com/jacobedawson/moonriver-...
medium.com/truefieng/using-usedapp...