# How to Configure Hedera Local Node

1. [Step By Step Process](#step-by-step-process)
2. [Demo Video](#demo-video)

### Step By Step Process

1. Install a Hedera Local Network following the [official documentation](https://github.com/hashgraph/hedera-local-node#docker)
2. Configure Guardian's configuration files `.env/.env.docker` accordingly:

```
OPERATOR_ID=""
OPERATOR_KEY=""
LOCALNODE_ADDRESS="11.11.11.11"
LOCALNODE_PROTOCOL="http"
HEDERA_NET="localnode"
```

{% hint style="info" %}
Note:

1. Set **LOCALNODE\_ADDRESS** to the IP address of your local node instance. The value above is given as example.

2. Set **HEDERA\_NET** to **localnode**. If not specified, the default value is **testnet.**

3. Configure **OPERATOR\_ID** *and* **OPERATOR\_KEY** accordingly with your local node configuration.

4. Remove **INITIALISATION\_TOPIC\_ID** as the topic will be created automatically.

5. Set **LOCALNODE\_PROTOCOL** to **http** or **https** accordingly with your local node configuration (It uses HTTP by default).
   {% endhint %}

6. OPERATOR\_ID: The ID of the operation

7. OPERATOR\_Key: Private key of the operator\_

8. LOCALNODE\_ADDRESS : The address of the localnode server. This can be its IP address or a domain name

9. LOCALNODE\_PROTOCOL : Communication protocol for interactions with the local node, can be http or https.

10. HEDERA\_NET : Type of the Hedera node to transact.

### Demo Video

[Youtube](https://www.youtube.com/watch?v=EpCOI31iMoI\&list=PLnld0e1pwLhqdR0F9dusqILDww6uZywwR\&index=1)
