# Full Node Instructions

After successfully creating the binaries, you can proceed to run the full node.

### **Steps to run a successful TAN-chain on the local system -**

* Generate data directories for each of the 4 nodes
* Prepare multiaddr string for bootnode
* Copy and paste the [*genesis file*](https://devnet-taral.tarality.com/)
* Running all servers and node.

Let’s see the steps one by one -

To do so, navigate to your root directory and create a new folder. For consistency, let's name this folder "run", though you're free to choose any name you prefer.

```
cd Tan-chain-network
mkdir run
```

This will navigate you to the "TAN-chain-network" directory and create a new folder named "run" within it. This folder will serve as the directory for running your full node.

```
cd run
```

Once you're inside the "run" folder, you can proceed with initializing the data directories for your TAN-chain node.

#### Initialize the data directory with

```
../tan-chain secrets init --insecure --data-dir test-chain-1
```

This will generate the data directory for node one with name “test-chain-1”.

**test-chain-1** *here acts as a prefix for node directory.* You can name it as per your convenience.

Example 🎉-<br>

<figure><img src="/files/qRsfCOUKH6jq5kC9F6yW" alt=""><figcaption></figcaption></figure>

After initializing the data directory, it's time to create the genesis file.

To create the `genesis.json` file and populate it with the contents provided, follow these steps:-

* In your terminal, ensure you are still within the "run" directory.
* Create a new JSON file named `genesis.json` using your preferred text editor or terminal command. For example-

```
touch genesis.json
```

* Open the `genesis.json` file in your text editor or using a command-line text editor like `nano` or `vim`.
* Copy the contents of the genesis file from the [provided link](https://devnet-taral.tarality.com/).
* Paste the copied contents into the `genesis.json` file.
* Save and close the file. If you're using a text editor, follow its specific instructions for saving and closing files.

Once you've completed these steps, your `genesis.json` file should be created and populated with the appropriate content.


---

# 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.tan.live/getting-started/developer-guide/nodes-and-validators/full-node-instructions.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.
