> For the complete documentation index, see [llms.txt](https://gibonnnnnnn.gitbook.io/gibonnnnnnn/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://gibonnnnnnn.gitbook.io/gibonnnnnnn/ojo.md).

# Ojo

### Installation Guide for Ojo Node

Setting up an Ojo node is a straightforward process that enables you to participate in the Ojo network, which is built on the Cosmos SDK. This guide will walk you through the installation steps with detailed explanations.

#### Prerequisites

Before you begin, ensure your system meets the following requirements:

| Requirement          | Minimum                |
| -------------------- | ---------------------- |
| **Operating System** | Ubuntu 20.04 or higher |
| **RAM**              | 8 GB                   |
| **CPU**              | 4 cores                |
| **Disk Space**       | 100 GB SSD             |
| **Network**          | Stable internet access |

#### Step 1: Update Your System

Open your terminal and run the following commands to update your package list and upgrade existing packages:

```bash
sudo apt update && sudo apt upgrade -y
```

#### Step 2: Install Required Dependencies

You will need to install Git and Go programming language. Execute the following commands:

```bash
sudo apt install git -y
wget https://golang.org/dl/go1.20.5.linux-amd64.tar.gz
sudo tar -C /usr/local -xzf go1.20.5.linux-amd64.tar.gz
echo "export PATH=\$PATH:/usr/local/go/bin" >> ~/.profile
source ~/.profile
```

#### Step 3: Clone the Ojo Repository

Clone the Ojo repository from GitHub to get the necessary files for installation:

```bash
git clone https://github.com/ojo-network/ojo.git
cd ojo
```

#### Step 4: Build the Ojo Node

Navigate to the Ojo directory and build the node:

```bash
make install
```

#### Step 5: Initialize the Node

After building the node, initialize it with a unique moniker (name):

```bash
ojod init <your_moniker>
```

#### Step 6: Configure the Node

Edit the configuration file to set your node parameters. Open the configuration file located in `~/.ojo/config/config.toml`:

```bash
nano ~/.ojo/config/config.toml
```

Make sure to set the following parameters:

* **chain\_id**: Set this to the appropriate chain ID for Ojo.
* **seeds**: Add seed nodes to help your node connect to the network.

#### Step 7: Download Genesis File

To synchronize your node with the network, download the genesis file:

```bash
curl -o ~/.ojo/config/genesis.json https://raw.githubusercontent.com/ojo-network/genesis/main/genesis.json
```

#### Step 8: Start the Node

Once everything is configured, you can start your Ojo node:

```bash
ojod start
```

#### Step 9: Monitor Node Activity

To monitor the logs and activity of your node, use the following command:

```bash
tail -f ~/.ojo/logs/ojod.log
```

#### Additional Configuration

1. **Set Up a Systemd Service**: To ensure your node runs continuously, you can set it up as a systemd service. Create a new service file:

```bash
sudo nano /etc/systemd/system/ojo.service
```

Add the following content:

```ini
[Unit]
Description=Ojo Node
After=network-online.target

[Service]
User=$USER
ExecStart=$(which ojod) start
Restart=on-failure
LimitNOFILE=4096

[Install]
WantedBy=multi-user.target
```

2. **Enable and Start the Service**:

```bash
sudo systemctl enable ojo
sudo systemctl start ojo
```

####
