> ## Documentation Index
> Fetch the complete documentation index at: https://docs.injective.network/llms.txt
> Use this file to discover all available pages before exploring further.

# Run a Testnet Node

> Set up and sync an Injective node on the public testnet.

Set up and sync an Injective node on Testnet (`injective-888`).

For public mainnet setup, see [Run a Mainnet Node](https://docs.injective.network/infra/run-node.md).

## Hardware Specification

Node operators should deploy bare metal servers to achieve optimal performance.
Additionally, validator nodes must meet the recommended hardware specifications and particularly the CPU requirements,
to ensure high uptime.

| *Minimum* | *Recommendation* |
| :-: | :-: |
| RAM Memory 128GB | RAM Memory 128GB |
| CPU 12 cores | CPU 16 cores |
| CPU base clock 3.7GHz | CPU base clock 4.2GHz |
| Storage 2TB NVMe | Storage 2TB NVMe |
| Network 1Gbps+ | Network 1Gbps+ |

## Install `injectived` and `peggo`

Check the running version on the [Testnet Chain Portal](https://chain.injective.network/testnet). Download the matching `-beta` release from [Injective Foundation Releases](https://github.com/InjectiveFoundation/injective-core/releases), then follow [Install injectived](https://docs.injective.network/developers/injectived/install.md) to verify and install it. The latest Testnet release is `v1.21.0-beta.2`. Validator operators also install `peggo` from that archive.

## Initialize a New Injective Chain Node

Before running Injective node, we need to initialize the chain as well as the node's genesis file:

```bash theme={null}
# The argument <moniker> is the custom username of your node, it should be human-readable.
export MONIKER=<moniker>
# Injective Testnet has a chain-id of "injective-888"
injectived init $MONIKER --chain-id injective-888
```

Running the `init` command will create `injectived` default configuration files at `~/.injectived`.

## Prepare Configuration to Join Testnet

You should now update the default configuration with the Testnet's genesis file and application config file,
as well as configure your persistent peers with seed nodes.

```bash theme={null}
git clone https://github.com/InjectiveLabs/testnet.git

# copy genesis file to config directory
aws s3 cp --no-sign-request s3://injective-snapshots/testnet/genesis.json .
mv genesis.json ~/.injectived/config/

# copy config file to config directory
cp testnet/corfu/70001/app.toml  ~/.injectived/config/app.toml
cp testnet/corfu/70001/config.toml ~/.injectived/config/config.toml
```

You can also run verify the checksum of the genesis checksum - a4abe4e1f5511d4c2f821c1c05ecb44b493eec185c0eec13b1dcd03d36e1a779

```bash theme={null}
sha256sum ~/.injectived/config/genesis.json
```

## Configure `systemd` Service for `injectived`

Edit the config at `/etc/systemd/system/injectived.service`:

```bash theme={null}
[Unit]
  Description=injectived

[Service]
  WorkingDirectory=/usr/bin
  ExecStart=/bin/bash -c '/usr/bin/injectived --log-level=error start'
  Type=simple
  Restart=always
  RestartSec=5
  User=root

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

Starting and restarting the systemd service

```bash theme={null}
sudo systemctl daemon-reload
sudo systemctl restart injectived
sudo systemctl status injectived

# enable start on system boot
sudo systemctl enable injectived

# To check Logs
journalctl -u injectived -f
```

## Sync with the network

Refer to the [Polkachu Injective Testnet Node Snapshot](https://polkachu.com/testnets/injective/snapshots)
to download a snapshot and sync with the network.

**Support**

For any further questions, you can always connect with the Injective Team via [Discord](https://discord.gg/injective),
[Telegram](https://t.me/joininjective), or [email](mailto:contact@injectivelabs.org).

For a local development chain, see [Run a Local Native Node](https://docs.injective.network/developers-native/developer-setup/local-network.md) or [Local EVM Development](https://docs.injective.network/developers-evm/local-development.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.