> For the complete documentation index, see [llms.txt](https://docs.truebit.io/v1docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.truebit.io/v1docs/getting-started/synchronize-the-ethereum-node.md).

# Synchronize the Ethereum Node

## **Fork from Ethereum Mainnet using Hardhat**

Execute the Ethereum node shell script for your desired environment:

{% code overflow="wrap" %}

```bash
npx hardhat node --network hardhat
```

{% endcode %}

{% hint style="danger" %}
Do not close this terminal until the fork is complete.
{% endhint %}

<figure><img src="/files/EBkW2k3fmMBfzrRy7ICh" alt=""><figcaption><p>Hardhat local Fork</p></figcaption></figure>

## Use Ethereum Mainnet for production purposes.

**Open a new terminal and execute docker container**

```
docker exec -it truebit /bin/bash
```

**Start your forked Ethereum node.**

```bash
bash ./mainnet.sh
```

**Observe the state of your Ethereum node using the Ethereum console.**&#x20;

{% hint style="info" %}
Use `CTRL+B` move between windows in the Ethereum console
{% endhint %}

<figure><img src="/files/QdL9qrhY5A6G0dyRvkYG" alt=""><figcaption><p>Ethereum Console</p></figcaption></figure>
