Terra

Terra

mainnet

Back to Services
Terra
Healthy
Chain ID: phoenix-1Version: v2.18.0

Consensus Node Endpoints

Public RPC, API, and gRPC endpoints for Terra mainnet. These endpoints are maintained with high availability and low latency.

RPC Endpoint

JSON-RPC interface for querying blockchain state and submitting transactions

https://terra-rpc.synergynodes.com

REST API

RESTful API for querying blockchain data and node information

https://terra-api.synergynodes.com

gRPC Endpoint

High-performance gRPC interface for efficient data streaming

terra-grpc.synergynodes.com:443

Snapshot

prunedv2.18.0

Download the latest snapshot to quickly sync your Terra node. This snapshot is updated regularly and compressed with lz4 for faster downloads.

Block Height

19,294,852

Size

5.81 GB

Updated

13h ago

Version

v2.18.0

Format

tar.lz4

Download & Install

Run the following commands to download and apply the snapshot:

1# Stop the node
2sudo systemctl stop terrad
3
4# Install lz4, aria2 if needed
5sudo apt install -y lz4 aria2
6
7# Download the snapshot
8aria2c -x 16 -s 16 -j 16 -i https://support.synergynodes.com/snapshots/terra_mainnet/terra_mainnet_19294852.tar.lz4 -o $HOME/snapshot.tar.lz4
9
10# Backup priv_validator_state.json
11cp $HOME/.terra/data/priv_validator_state.json $HOME/.terra/priv_validator_state.json.backup
12
13# Delete the data directory
14rm -rf $HOME/.terra/data
15
16# Extract the snapshot
17lz4 -c -d $HOME/snapshot.tar.lz4 | tar -x -C $HOME/.terra
18
19# Restore priv_validator_state.json
20mv $HOME/.terra/priv_validator_state.json.backup $HOME/.terra/data/priv_validator_state.json
21
22# Delete the snapshot
23rm -rf $HOME/snapshot.tar.lz4
24
25# Start the node
26sudo systemctl restart terrad
27
28# Check logs
29sudo journalctl -u terrad -f -o cat

Peers, Seeds, Live Peers & Addrbook

Live Peers

49 active

Currently active peers on the network. Use the command below to update your config automatically.

Peers Scanner

Our peers scanner automatically discovers and validates active peers every hour. The live peers list above is continuously updated to ensure you always have reliable peers to connect to.

Last scan: Updated every hour

Addrbook & Genesis

Download the latest addrbook.json and genesis.json files for Terra. The addrbook is updated every hour with active peers.

Addrbook

(upd every 1h)

Pre-populated address book with verified peers for faster initial sync.

download addrbook
wget -O $HOME/.terra/config/addrbook.json https://support.synergynodes.com/addrbook/terra_mainnet/addrbook.json

Genesis

Genesis file for initializing a new node from scratch.

download genesis
wget -O $HOME/.terra/config/genesis.json https://support.synergynodes.com/genesis/terra_mainnet/genesis.json

Node Sync Status Checker

Use this script to check if your Terra node is synced with the network. Save it as a file and run it, or copy and paste into your terminal.

sync-checker.sh
1#!/bin/bash
2# terra Node Sync Status Checker
3# Run this script to check if your node is synced
4
5NETWORK_RPC="https://terra-rpc.synergynodes.com"
6'LOCAL_PORT=$(grep -m 1 -oP '^laddr = "K[^"]+' "$HOME/.terra/config/config.toml" | cut -d ':' -f 3)'
7LOCAL_RPC="http://localhost:${LOCAL_PORT}"
8
9echo "Checking terra node sync status..."
10echo ""
11
12# Get network height
13NETWORK_HEIGHT=$(curl -s $NETWORK_RPC/status | jq -r '.result.sync_info.latest_block_height')
14echo "Network block height: $NETWORK_HEIGHT"
15
16# Get local height
17LOCAL_HEIGHT=$(curl -s $LOCAL_RPC/status | jq -r '.result.sync_info.latest_block_height' 2>/dev/null)
18if [ -z "$LOCAL_HEIGHT" ] || [ "$LOCAL_HEIGHT" == "null" ]; then
19 echo "Error: Could not connect to local node at $LOCAL_RPC"
20 echo "Make sure your node is running and RPC is enabled"
21 exit 1
22fi
23echo "Local block height: $LOCAL_HEIGHT"
24
25# Calculate difference
26DIFF=$((NETWORK_HEIGHT - LOCAL_HEIGHT))
27echo ""
28
29if [ $DIFF -eq 0 ]; then
30 echo "✅ Your node is fully synced!"
31elif [ $DIFF -lt 100 ]; then
32 echo "🔄 Almost synced! $DIFF blocks behind"
33else
34 echo "⏳ Syncing in progress... $DIFF blocks behind"
35
36 # Estimate time remaining (assuming ~1 block/second)
37 HOURS=$((DIFF / 3600))
38 MINUTES=$(((DIFF % 3600) / 60))
39 echo " Estimated time: $HOURS h $MINUTES m"
40fi
41
42# Check catching_up status
43CATCHING_UP=$(curl -s $LOCAL_RPC/status | jq -r '.result.sync_info.catching_up')
44echo ""
45echo "Catching up: $CATCHING_UP"

Quick Status Check

For a quick check, run this one-liner to see your current block height:

# Change the port to the one you configured in config.toml
curl -s localhost:26657/status | jq '.result.sync_info.latest_block_height'

Quick Setup Guide

1. Install Dependencies

1sudo apt update && sudo apt upgrade -y
2sudo apt install -y curl git build-essential jq lz4

2. Install Go

1cd $HOME
2wget https://go.dev/dl/go1.23.1.linux-amd64.tar.gz
3sudo rm -rf /usr/local/go
4sudo tar -C /usr/local -xzf go1.23.1.linux-amd64.tar.gz
5echo 'export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin' >> ~/.bashrc
6source ~/.bashrc

3. Build terra binary

1cd $HOME
2git clone https://github.com/terralabs/terra.git
3cd terra
4git checkout v2.18.0 # Check latest version
5make install
6terrad version

4. Initialize Node

1terrad init "your-moniker" --chain-id phoenix-1
2
3# Download genesis
4wget -O $HOME/.terra/config/genesis.json https://support.synergynodes.com/addrbook/terra_mainnet/genesis.json
5
6# Download addrbook
7wget -O $HOME/.terra/config/addrbook.json https://support.synergynodes.com/addrbook/terra_mainnet/addrbook.json

5. Configure Node

1# Set minimum gas price
2sed -i 's|^minimum-gas-prices *=.*|minimum-gas-prices = "0.015uluna,0.018ibc/2C962DAB9F57FE0921435426AE75196009FAA1981BF86991203C8411F8980FDB,0.018ibc/B3504E092456BA618CC28AC671A71FB08C6CA0FD0BE7C8A5B5A3E2DD933CC9E4"|' $HOME/.terra/config/app.toml

7. Download Snapshot

1# Delete the data directory
2rm -rf $HOME/.terra/data
3
4# Download the snapshot
5aria2c -x 16 -s 16 -j 16 -i https://support.synergynodes.com/snapshots/terra_mainnet/terra_mainnet_19294852.tar.lz4 -o $HOME/snapshot.tar.lz4
6
7# Extract the snapshot
8lz4 -c -d $HOME/snapshot.tar.lz4 | tar -x -C $HOME/.terra
9
10# Delete the snapshot
11rm -rf $HOME/snapshot.tar.lz4

8. Create Service File

1sudo tee /etc/systemd/system/terrad.service > /dev/null <<EOF
2[Unit]
3Description=terra Node
4After=network-online.target
5
6[Service]
7User=$USER
8ExecStart=$(which terrad) start --home $HOME/.terra
9Restart=on-failure
10RestartSec=3
11LimitNOFILE=65535
12
13[Install]
14WantedBy=multi-user.target
15EOF
16
17sudo systemctl daemon-reload
18sudo systemctl enable terrad

9. Start Node

1sudo systemctl start terrad
2sudo journalctl -u terrad -f -o cat