# Start Truebit on Ethereum

## **Connect Truebit-OS to Hardhat Local Fork**

On a new terminal, exec docker container with Truebit image, and then:

**1. Move to truebit-os folder.**

```bash
cd truebit-eth
```

**2. Start a demon required for local task execution.**

```bash
ipfs init &>/dev/null
tmux new -d 'ipfs daemon'
```

**3. Execute Truebit-OS connecting to Hardhat Local Fork**

```
./truebit-os -p ws://localhost:8545
```

<figure><img src="https://1705716299-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNIJ0ssLBn8FjVyBhsqsw%2Fuploads%2F6oFtSyVDtDsbwWeYvt4i%2Fimage.png?alt=media&#x26;token=3523b27d-0186-4230-b9ae-31261e20cf41" alt=""><figcaption></figcaption></figure>

{% hint style="success" %}
Truebit OS will display that has been initialized on main network, because hardhat is using a Mainnet Fork.
{% endhint %}

## Ethereum Mainnet

**1. Move to truebit-os folder**

```bash
cd truebit-eth
```

**2. Execute Truebit-OS connecting to Ethereum Mainnet**

```sh
./truebit-os
```
