> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tenderly.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Adding Virtual Environments to Wallets

> Add a Virtual Environment as a custom network in MetaMask to send transactions and interact with deployed contracts through the wallet UI.

Virtual Environments can be added as providers in wallets like Metamask. This allows you to interact with the Virtual Environment through a wallet to send and receive funds between accounts.

<Note>
  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`.
</Note>

## Adding a Virtual Environment as a provider in MetaMask

From the Virtual Environments dashboard,

1. Click **Add to MetaMask**. This will work if you configure your Virtual Environment with a [unique chain ID](/troubleshooting/virtual-environments#unique-chain-id).
2. Follow the instructions in Metamask and approve the network.

To manually add Virtual Environments to MetaMask's list of available networks, follow these steps:

1. [Create a Virtual Environment](/virtual-environments/quickstart) with a custom chain ID.
2. Copy the [Public RPC](/virtual-environments/overview#public-rpc) link.
3. Open MetaMask and click the network selector.
4. Click **Add network**, and in the next window click **Add a network manually**.
5. Select an arbitrary name (e.g. **Virtual Mainnet**).
6. Paste the RPC URL.
7. Paste the chain ID you chose.
8. Paste the block explorer URL.
9. Click **Save**.

[Watch on Loom →](https://www.loom.com/embed/4275dd13f6c8443ea851708ced61fd7e?sid=7007b253-7dfb-4ed8-9641-f54615b1354e)
