> For the complete documentation index, see [llms.txt](https://docs.energyweb.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.energyweb.org/legacy-documentation/ew-dos-technology-components-2023/trust-layer-energy-web-chain/ewc-guides-and-tutorials/connect-to-energy-web-chain-main-network-with-metamash.md).

# Set up MetaMask to interact with Energy Web Chain

In this section, we'll walk through how to connect to the Energy Web blockchain, and the Volta testnet using the MetaMask browser extension.

{% hint style="info" %}
[Software cryptocurrency wallets](https://docs.energyweb.org/legacy-documentation/foundational-concepts/wallets-and-exchanges/software-cryptocurrency-wallets.md#metamask) is a browser extension and a mobile app that handles blockchain account management and helps users securely interact with a [Glossary](https://docs.energyweb.org/legacy-documentation/glossary-of-terms.md#dapp). 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[Software cryptocurrency wallets](https://docs.energyweb.org/legacy-documentation/foundational-concepts/wallets-and-exchanges/software-cryptocurrency-wallets.md#metamask) 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="/pages/9jR19sdP5aaCggOYmCuu" %}
[Software cryptocurrency wallets](https://docs.energyweb.org/legacy-documentation/foundational-concepts/wallets-and-exchanges/software-cryptocurrency-wallets.md)
{% endcontent-ref %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.energyweb.org/legacy-documentation/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>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
