# RPC, API, GRPC

RPC: [https://rpc-initia.suntzu.dev](https://rpc-initia.suntzu.dev/)\
API: <https://api-initia.suntzu.dev>

#### gRPC: <a href="#grpc" id="grpc"></a>

```bash
grpc-initia.suntzu.dev:9090
```

#### peers: <a href="#peer" id="peer"></a>

```bash
6e741af89a05e6c30b4b7fb8620edc6df32a3bd2@65.109.36.106:26656
```

#### live peers: <a href="#live-peers" id="live-peers"></a>

```bash
PEERS=$(curl -s --max-time 3 --retry 2 --retry-connrefused "https://rpc-initia-testnet.trusted-point.com/peers.txt")
if [ -z "$PEERS" ]; then
    echo "No peers were retrieved from the URL."
else
    echo -e "\nPEERS: "$PEERS""
    sed -i "s/^persistent_peers *=.*/persistent_peers = \"$PEERS\"/" "$HOME/.initia/config/config.toml"
    echo -e "\nConfiguration file updated successfully.\n"
fi
```

#### addrbook: <a href="#addrbook" id="addrbook"></a>

updates every hour

```bash
sudo systemctl stop initiad && \
wget -O $HOME/.initia/config/addrbook.json https://rpc-initia-testnet.trusted-point.com/addrbook.json
sudo systemctl restart initiad && sudo journalctl -u initiad -f -o cat
```
