Skip to main content

Safrochain testnet endpoints (RPC, REST, faucet)

Testnet is live

The testnet is currently live and is the easiest way to experiment with safrochaind, fund a key from the faucet, and read the chain state.

Chain identity

FieldValue
Chain IDsafro-testnet-1
Base denomusaf
Display denomSAF (test)
Conversion1 SAF = 1_000_000 usaf
Bech32 prefixaddr_safro

Public endpoints

ServiceEndpoint
RPC (CometBFT JSON-RPC)https://rpc.testnet.safrochain.com
REST (Cosmos LCD)https://rest.testnet.safrochain.com
gRPC (HTTP/2)https://grpc.testnet.safrochain.com/
Faucethttps://faucet.safrochain.com/
Explorerhttps://explorer.safrochain.com/

Quickstart

# Add the testnet to safrochaind
safrochaind config chain-id safro-testnet-1
safrochaind config node https://rpc.testnet.safrochain.com:443

# Probe the chain
curl -s https://rpc.testnet.safrochain.com/status \
| jq '.result.sync_info | {latest_block_height, catching_up}'

# REST: query bank supply
curl -s https://rest.testnet.safrochain.com/cosmos/bank/v1beta1/supply | jq .

# Create a key, then ask the faucet for SAF (test)
safrochaind keys add me
ADDR=$(safrochaind keys show -a me)
echo "Drip me into $ADDR via https://faucet.safrochain.com/"

Wallet connection (Keplr / Leap)

If your wallet supports manual chain registration, use:

{
"chainId": "safro-testnet-1",
"chainName": "Safrochain Testnet",
"rpc": "https://rpc.testnet.safrochain.com",
"rest": "https://rest.testnet.safrochain.com",
"stakeCurrency": { "coinDenom": "SAF", "coinMinimalDenom": "usaf", "coinDecimals": 6 },
"bech32Config": {
"bech32PrefixAccAddr": "addr_safro",
"bech32PrefixAccPub": "addr_safropub",
"bech32PrefixValAddr": "addr_safrovaloper",
"bech32PrefixValPub": "addr_safrovaloperpub",
"bech32PrefixConsAddr": "addr_safrovalcons",
"bech32PrefixConsPub": "addr_safrovalconspub"
},
"currencies": [{ "coinDenom": "SAF", "coinMinimalDenom": "usaf", "coinDecimals": 6 }],
"feeCurrencies": [{ "coinDenom": "SAF", "coinMinimalDenom": "usaf", "coinDecimals": 6 }],
"coinType": 118
}

Notes