Setup Guides

Complete documentation for running nodes on supported networks

Republic AI

Republic AI TESTNET

AI Compute Blockchain

Quick Start

1. Prerequisites

  • Ubuntu 24.04 LTS
  • 4+ CPU cores
  • 16GB+ RAM
  • 500GB+ SSD
  • curl, jq

2. Install Binary

bash
VERSION="v0.1.0"
curl -L "https://media.githubusercontent.com/media/RepublicAI/networks/main/testnet/releases/${VERSION}/republicd-linux-amd64" -o /tmp/republicd
chmod +x /tmp/republicd
sudo mv /tmp/republicd /usr/local/bin/republicd

3. Initialize Node

bash
REPUBLIC_HOME="$HOME/.republicd"
republicd init <your-moniker> --chain-id raitestnet_77701-1 --home "$REPUBLIC_HOME"

# Download genesis
curl -s https://raw.githubusercontent.com/RepublicAI/networks/main/testnet/genesis.json > "$REPUBLIC_HOME/config/genesis.json"

# Configure state sync
SNAP_RPC="https://statesync.republicai.io"
LATEST_HEIGHT=$(curl -s $SNAP_RPC/block | jq -r .result.block.header.height)
BLOCK_HEIGHT=$((LATEST_HEIGHT - 1000))
TRUST_HASH=$(curl -s "$SNAP_RPC/block?height=$BLOCK_HEIGHT" | jq -r .result.block_id.hash)

sed -i.bak -E "s|^(enable[[:space:]]+=[[:space:]]+).*$|\1true| ; \
s|^(rpc_servers[[:space:]]+=[[:space:]]+).*$|\1\"$SNAP_RPC,$SNAP_RPC\"| ; \
s|^(trust_height[[:space:]]+=[[:space:]]+).*$|\1$BLOCK_HEIGHT| ; \
s|^(trust_hash[[:space:]]+=[[:space:]]+).*$|\1\"$TRUST_HASH\"|" "$REPUBLIC_HOME/config/config.toml"

# Set peers
PEERS="e281dc6e4ebf5e32fb7e6c4a111c06f02a1d4d62@3.92.139.74:26656,cfb2cb90a241f7e1c076a43954f0ee6d42794d04@54.173.6.183:26656,dc254b98cebd6383ed8cf2e766557e3d240100a9@54.227.57.160:26656"
sed -i.bak -e "s/^persistent_peers *=.*/persistent_peers = \"$PEERS\"/" "$REPUBLIC_HOME/config/config.toml"

4. Start Node

bash
republicd start --home "$REPUBLIC_HOME" --chain-id raitestnet_77701-1

Become Validator

bash
# Create key
republicd keys add <key-name>

# Get testnet tokens from faucet (contact team)

# Create validator (min 1 RAI)
republicd tx staking create-validator \\
  --amount=1000000000000000000000arai \\
  --pubkey=$(republicd comet show-validator) \\
  --moniker="<your-moniker>" \\
  --chain-id=raitestnet_77701-1 \\
  --commission-rate="0.10" \\
  --commission-max-rate="0.20" \\
  --commission-max-change-rate="0.01" \\
  --min-self-delegation="1" \\
  --gas=auto --gas-adjustment=1.5 \\
  --gas-prices="250000000arai" \\
  --from=<key-name>
0G

0G TESTNET

Decentralized Storage for AI

🚧 Setup guide coming soon

Tempo

Tempo TESTNET

DePIN Blockchain with Reth Client

🚧 Setup guide coming soon

Aztec

Aztec L2 MAINNET

Privacy-First zk-Rollup

🚧 Setup guide coming soon