# Set up MetaMask to interact with Energy Web Chain

{% hint style="info" %}
[#metamask](https://energy-web-foundation.gitbook.io/energy-web-foundation/foundational-concepts/wallets-and-exchanges/software-cryptocurrency-wallets#metamask "mention") is a browser extension and a mobile app that handles blockchain account management and helps users securely interact with a [#dapp](https://energy-web-foundation.gitbook.io/energy-web-foundation/glossary-of-terms#dapp "mention"). It’s supported in Chrome, Brave, and Safari browsers, as well as it is available for Android and iOS devices. By default, you can connect to the Ethereum Mainnet or any of the Ethereum test network.
{% endhint %}

{% hint style="info" %}
If you don’t have MetaMask installed install the extension first. \
Learn about[#metamask](https://energy-web-foundation.gitbook.io/energy-web-foundation/foundational-concepts/wallets-and-exchanges/software-cryptocurrency-wallets#metamask "mention") here.
{% endhint %}

## Connect MetaMask to the Energy Web blockchain

Prerequisite: Metamask plugin is installed in the browser; this section explains how to add the Energy Web blockchain to it.

### Option1: Automatic configurator

To configure Metamask to connect to the Energy Web blockchain or to Volta, the fastest way to do that is using the [Energy Web MetaMask configuration toolbox](https://csb-qo27t.netlify.app/) or [Chainlist](https://chainlist.org/)&#x20;

### Option2: Manual configuration

{% tabs %}
{% tab title="Configure Energy Web mainnet" %}

### Manually configuring MetaMask to connect to the Energy Web mainnet

1\. Click on the "Networks" dropdown at the top of your MetaMask interface and select "Custom RPC"\
\
![](https://2400236058-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M_pXALj14Egb-5Bal_p%2Fuploads%2FcWeXcPECvxsQfv25mDeW%2Fimage.png?alt=media\&token=5e3bbbce-31f1-421a-ad3d-69302fcab667)

\
2\. Add the new network using the following settings

| Field              | Value                           |
| ------------------ | ------------------------------- |
| Network Name       | EWC                             |
| New RPC URL        | <https://rpc.energyweb.org>     |
| Chain ID           | 246                             |
| Currency Symbol    | EWT                             |
| Block Explorer URL | <http://explorer.energyweb.org> |

### ![](https://2400236058-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M_pXALj14Egb-5Bal_p%2Fuploads%2FsZe1fYqrDu81SW192ENf%2Fimage.png?alt=media\&token=85a862e3-21ec-4ded-be80-1f8cecb2cae4)

\
3\. Save the settings and switch to the newly added network 'EWC'
{% endtab %}

{% tab title="Configure Volta testnet" %}

### Manually configuring MetaMask to connect to the Volta testnet

\
1\. Click on the "Networks" dropdown at the top of your MetaMask interface and select "Custom RPC"\
\
![](https://2400236058-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M_pXALj14Egb-5Bal_p%2Fuploads%2FcWeXcPECvxsQfv25mDeW%2Fimage.png?alt=media\&token=5e3bbbce-31f1-421a-ad3d-69302fcab667)\
\
2\. Add the new network using the following settings

| Field              | Value                                 |
| ------------------ | ------------------------------------- |
| Network Name       | Volta                                 |
| New RPC URL        | <https://volta-rpc.energyweb.org>     |
| Chain ID           | 73799                                 |
| Currency Symbol    | VT                                    |
| Block Explorer URL | <http://volta-explorer.energyweb.org> |

![](https://2400236058-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M_pXALj14Egb-5Bal_p%2Fuploads%2F5c3Xhzj95RS0IwlSMzSq%2Fimage.png?alt=media\&token=1e06ddc2-6e53-42c4-b039-b29f93fea5fa)\
\
3\. Save the settings and switch to the newly added network 'Volta'
{% endtab %}

{% tab title="Configure Consortia RPC" %}

## Manually configuring MetaMask to connect to the Consortia RPC

The Consortia RPC is an alternative to using the Energy Web Mainnet RPC.&#x20;

1\. Click on the "Networks" dropdown at the top of your MetaMask interface and select "Custom RPC"

![](https://2400236058-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M_pXALj14Egb-5Bal_p%2Fuploads%2FcWeXcPECvxsQfv25mDeW%2Fimage.png?alt=media\&token=5e3bbbce-31f1-421a-ad3d-69302fcab667)

2\. Add the new network using the following settings

| Field              | Value                                |   |
| ------------------ | ------------------------------------ | - |
| Network Name       | EnergyWeb RPC                        |   |
| New RPC URL        | <http://consortia-rpc.energyweb.org> |   |
| Chain ID           | 246                                  |   |
| Currency Symbol    | EWT                                  |   |
| Block Explorer URL | <https://explorer.energyweb.org>     |   |
| {% endtab %}       |                                      |   |
| {% endtabs %}      |                                      |   |

{% hint style="info" %}
Depending on what network you connected to, and if you have Energy Web tokens or Volta Tokens in your account, you should see your balance.&#x20;
{% endhint %}

### Video Tutorial

{% embed url="<https://youtu.be/bggsw686Mfc>" %}
Tutrial how to connect Metamask to Energy Web Blockchain
{% endembed %}

{% content-ref url="../../../foundational-concepts/wallets-and-exchanges/software-cryptocurrency-wallets" %}
[software-cryptocurrency-wallets](https://energy-web-foundation.gitbook.io/energy-web-foundation/foundational-concepts/wallets-and-exchanges/software-cryptocurrency-wallets)
{% endcontent-ref %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://energy-web-foundation.gitbook.io/energy-web-foundation/ew-dos-technology-components-2023/trust-layer-energy-web-chain/ewc-guides-and-tutorials/connect-to-energy-web-chain-main-network-with-metamash.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
