# 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
```


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.truebit.io/v1docs/getting-started/start-truebit-on-ethereum.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
