gRPC
grpc.axone.zone:443Connect to Axone mainnet or the Dentrite testnet using the canonical chain IDs and public node endpoints below. The copy-ready examples on this page are for testnet only.
Canonical public endpoints for the Axone mainnet.
grpc.axone.zone:443https://api.axone.zonehttps://rpc.axone.zoneUse these endpoints for testnet development and testing.
grpc.dentrite.axone.xyz:443https://api.dentrite.axone.xyzhttps://rpc.dentrite.axone.xyzEach example below targets the Dentrite testnet, identified by chain ID axone-dentrite-1. Copy a snippet with its button, or focus the button and press Enter or Space.
axoned config set client node https://api.dentrite.axone.xyz:443
axoned config set client chain-id axone-dentrite-1
Testnet only: this config points `axoned` to Dentrite. Use mainnet settings for production transactions.
curl --fail --silent --show-error "https://api.dentrite.axone.xyz/cosmos/base/tendermint/v1beta1/node_info" | jq -r '.default_node_info.network'
Testnet only: this request checks the chain ID returned by the Dentrite REST API.
package main
import (
"context"
"fmt"
"time"
"google.golang.org/grpc"
"google.golang.org/grpc/credentials"
)
func main() {
ctx, cancel := context.WithTimeout(context.Background(), 5*time.Second)
defer cancel()
conn, err := grpc.DialContext(
ctx,
"grpc.dentrite.axone.xyz:443",
grpc.WithTransportCredentials(credentials.NewClientTLSFromCert(nil, "")),
grpc.WithBlock(),
)
if err != nil {
panic(err)
}
defer conn.Close()
fmt.Println("Connected to Axone Dentrite testnet")
}
Testnet only: this Go example establishes a TLS gRPC connection to Dentrite.