MetaMask / metamask-android-sdk

MetaMask SDK for Android
Other
37 stars 13 forks source link

Adding a new chain Network manually #128

Closed Rathore2696 closed 3 weeks ago

Rathore2696 commented 1 month ago

Help Needed

How to add any network manually apart from the list of predefined networks provided in Metamask mobile application using MetaMask SDK from an Android application ?

Why it is needed

I am trying to add testnet manually

elefantel commented 1 month ago

Hi @Rathore2696 from the dapp, you can add it using wallet_addethereumchain. You'll need to specify the rpcUrl for your testnet as shown in the documentation. Note all the fields that are required.

To add it manually, you can go to MetaMask wallet select the active network dropdown on the wallet tab, select the "Add Network" button, then select Custom networks and add it manually from there. Alternatively go to Settings -> Networks -> Add Network

elefantel commented 3 weeks ago

There has been no communication here for a few weeks, closing this issue.