> 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/start-truebit-on-ethereum.md).

# 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="/files/QEzcs3y3rjfF7gzLeV3J" 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
```
