# ✨Kiichain

## Installation Node

* Network Type: Testnet
* Chain-id: oro\_1336-1
* Current Node version: v2.0.0

#### Hardware requirements <a href="#hardware-requirements" id="hardware-requirements"></a>

The following requirements are recommended for running :

* 16 or more VCPU cores
* At least 1 TB of SSD disk storage
* At least 64 GB of memory (RAM)
* At least 100mbps network bandwidth

#### Install dependencies Required <a href="#install-dependencies-required" id="install-dependencies-required"></a>

```plaintext
sudo apt update && sudo apt upgrade -y && sudo apt install curl tar wget clang pkg-config libssl-dev jq build-essential bsdmainutils git make ncdu gcc git jq chrony liblz4-tool -y
```

#### Install go <a href="#install-go" id="install-go"></a>

```plaintext
ver="1.22.2"
cd $HOME
wget "https://golang.org/dl/go$ver.linux-amd64.tar.gz"
sudo rm -rf /usr/local/go
sudo tar -C /usr/local -xzf "go$ver.linux-amd64.tar.gz"
rm "go$ver.linux-amd64.tar.gz"
echo "export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin" >> ~/.bash_profile
source ~/.bash_profile
go version
```

#### Install Binary <a href="#install-binary" id="install-binary"></a>

```plaintext
cd $HOME
rm -rf kiichain
git clone https://github.com/KiiChain/kiichain.git
cd kiichain
git checkout v2.0.0
make install
```

#### Initialize Node <a href="#initialize-node" id="initialize-node"></a>

Please change `<MONIKER>` To your own Moniker.

```plaintext
kiichaind init <MONIKER> --chain-id oro_1336-1
```

#### Download Genesis file <a href="#download-genesis-file" id="download-genesis-file"></a>

```plaintext
curl -L https://snapshot-t.vinjan.xyz/kiichain/genesis.json > $HOME/.kiichain/config/genesis.json
```

#### Download Addrbook <a href="#download-addrbook" id="download-addrbook"></a>

```plaintext
curl -L https://snapshot-t.vinjan.xyz/kiichain/addrbook.json > $HOME/.kiichain/config/addrbook.json
```

#### Configure Seed & Gas <a href="#configure-seed--gas" id="configure-seed--gas"></a>

```plaintext
sed -i -e "s/^minimum-gas-prices *=.*/minimum-gas-prices = \"1000000000akii\"/" $HOME/.kiichain/config/app.toml
```

#### Custom Port <a href="#custom-port" id="custom-port"></a>

```plaintext
sed -i -e "s%:26657%:19657%" $HOME/.kiichain/config/client.toml
sed -i -e "s%:26658%:19658%; s%:26657%:19657%; s%:6060%:19060%; s%:26656%:19656%; s%:26660%:19660%" $HOME/.kiichain/config/config.toml
sed -i -e "s%:1317%:19317%; s%:9090%:19090%" $HOME/.kiichain/config/app.toml
```

#### Indexer Off <a href="#indexer-off" id="indexer-off"></a>

```plaintext
sed -i 's|^indexer *=.*|indexer = "null"|' $HOME/.kiichain/config/config.toml
```

#### Create service file <a href="#create-service-file" id="create-service-file"></a>

```plaintext
sudo tee /etc/systemd/system/kiichaind.service > /dev/null << EOF
[Unit]
Description=kiichain
After=network-online.target
[Service]
User=$USER
ExecStart=$(which kiichaind) start
Restart=always
RestartSec=3
LimitNOFILE=65535

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

#### Enable Service and Start Node <a href="#enable-service-and-start-node" id="enable-service-and-start-node"></a>

```plaintext
sudo systemctl daemon-reload
sudo systemctl enable kiichaind
sudo systemctl restart kiichaind
sudo journalctl -u kiichaind -f -o cat
```


---

# 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://jackieluong.gitbook.io/untitled/kiichain.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.
