When creating a Virtual Environment, it’s recommended to set a different chain ID from the parent chain ID.
For example, if you’re creating a Virtual Environment that uses Mainnet as the base network (chainID
1), specify a different chainID: 73571.Adding a Virtual Environment as a provider in MetaMask
From the Virtual Environments dashboard,- Click Add to MetaMask. This will work if you configure your Virtual Environment with a unique chain ID.
- Follow the instructions in Metamask and approve the network.
- Create a Virtual Environment with a custom chain ID.
- Copy the Public RPC link.
- Open MetaMask and click the network selector.
- Click Add network, and in the next window click Add a network manually.
- Select an arbitrary name (e.g. Virtual Mainnet).
- Paste the RPC URL.
- Paste the chain ID you chose.
- Paste the block explorer URL.
- Click Save.