gh0stlygh0sts.com

How to Add a Custom Subnet RPC to MetaMask Step by Step

To add a custom avalanche-chain/avalanche-subnet-consensus-mechanism/">Avalanche subnet RPC to MetaMask, you need the subnet's network details - RPC URL, chain ID, currency symbol, and explorer URL - and then enter them in MetaMask's manual network addition form. This process connects your wallet to a specific subnet so you can interact with its dApps and tokens.

Before You Start

Adding a custom subnet RPC is straightforward, but a few prerequisites prevent common errors. First, ensure MetaMask is installed and unlocked. You should have the subnet's network information ready - typically provided by the subnet's documentation or dApp interface. If you don't have the chain ID or RPC URL, check the subnet's official site or GitHub repository. Also, note that each subnet has its own chain ID; using the wrong one will fail.

MetaMask supports adding networks via two methods: manually entering details or using a one-click "Add to MetaMask" button if the dApp provides one. This guide covers manual entry, which works for any subnet.

Step-by-Step Instructions

Step 1: Open MetaMask and Access Network Settings

Click the MetaMask extension icon in your browser. At the top of the wallet interface, you'll see the current network name (e.g., "Ethereum Mainnet" or "Avalanche C-Chain"). Click that network selector dropdown. A list of previously added networks appears. Scroll to the bottom and click "Add Network". This opens the network addition form.

Step 2: enter subnet network details

The form requires five fields. Fill them in precisely:

Step 3: Save and Switch to the Subnet

After entering all details, click "Save". MetaMask may prompt you to confirm you trust this network. Confirm. The wallet will switch to the new subnet automatically. You should see the network name in the dropdown and the correct chain ID in the wallet interface.

Step 4: Verify the Connection

Send a small test transaction or check your balance to confirm the connection works. If you already hold tokens on this subnet, they should appear in your wallet. If not, you may need to add custom token contracts - use the "Import Tokens" feature with the token's contract address.

Troubleshooting Common Issues

Important Reminders

Adding a custom subnet RPC is a one-time setup per subnet. Once saved, you can switch between the C-Chain and any subnets you've added directly from MetaMask's network dropdown.

Not financial advice. gh0stlygh0sts.com publishes market data and general information about digital assets. Crypto assets are volatile and you can lose everything you put in. Nothing here is a recommendation to buy, sell or hold, and we make no price predictions.

Prices are sourced from third parties and may be delayed or wrong. Verify anything you intend to act on against a primary source.

Back to avalanche