# Setting up Metamask

{% hint style="info" %}
The RPC node must be running.
{% endhint %}

## Creating a custom RPC&#x20;

1. Select "Add Network".
2. Choose a name for the RPC.
3. Fill-in the url field with the url of the node.
4. Fill-in the chainId field with the chainId of your node.

{% hint style="info" %}
Hardhat default url is <http://127.0.0.1:8545/>
{% endhint %}

{% hint style="info" %}
Hardhat default chainId is 31337
{% endhint %}
