This document explains how to connect a custom network to Metamask manually.
Step 1
In your KrypC application, create a new wallet in Wallet Studio
Copy your wallet address from Wallet Studio.
Login --> DApp Studio --> Build it(Project card) --> Easy Builder --> Launch Wallet Studio --> Create new wallet -->Copy Wallet address.
Copy Wallet address
Step 2
Open Metamask.
Metamask
Click on the Network button as highlighted in the image.
Add Network
Click on the Add Network button. This action redirects to a new web page.
Step 3
Metamask webpage
Click on the Add a Network manually button at the bottom of the page.
Step 4
Network details
Fill out the network details form. To add a custom network you need the following details:
Here is an example.
const network = {
chainId: '80001', // Chain ID of the network
chainName: 'Polygon Mumbai KrypC', // Name of the network
rpcUrls: ['https://rpc.example.com'], // RPC URLs of the network
blockExplorerUrls: ['https://mumbai.polygonscan.com/'], // Block Explorer URLs of the network
nativeCurrency: {
name: 'Matic',
symbol: 'MATIC',
decimals: 18,
},
};
Once all the details are added, please click on the Save button to add your custom network.
Added successfully
Click Got It in this modal pop up and you will be switched to the custom network that you created.