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

Network versions

NetworkChain IDsafrochain-node tagGo
Testnetsafro-testnet-1release/v0.1.01.23.9
Mainnetsafrochain-1v0.2.21.25.8

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/"

Faucet: Discord Faucet Bot

Steps:

  1. Join the Safrochain Discord.
  2. Navigate to the #testnet-faucet channel.
  3. Use the command below, replacing addr_safroxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx with your wallet address:
!faucet addr_safroxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  • Receive: 10,000,000 usaf (10 SAF)
  • Cooldown: 24 hours

Note: usaf is the micro-denomination of SAF, where 1 SAF = 1,000,000 usaf. Ensure your wallet address is valid and starts with addr_safro to receive tokens successfully.

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,
"gasPriceStep": { "low": 0.05, "average": 0.0625, "high": 0.075 }
}
],
"coinType": 118
}

Notes