gRPC Phase 1
Cosmos gRPC service definitions plus DAIT's seven custom-module proto files. Best for high-throughput indexers, bots, and any backend that already speaks protobuf.
Stub page. The proto files are written and live in
proto/dait/<module>/v1/ in the
dait-chain repo.
Generated client stubs ship with the SDKs at Phase 1.
Endpoint
grpc.daitchain.io:9090 (Phase 1 testnet, plaintext+TLS) 127.0.0.1:9090 (local devnet)
Service surface
Every module exposes two services on :9090:
dait.<module>.v1.Query- read-side, mirrors REST GETs.dait.<module>.v1.Msg- write-side, takes signed tx envelopes.
Plus the standard cosmos-sdk services (cosmos.bank.v1beta1.Query, cosmos.staking.v1beta1.Query, etc.).
Codegen
The DAIT SDKs ship pre-generated stubs for TypeScript and Python. For Go consumers:
go get github.com/dait-chain/dait-chain/api/dait/staking_tiers/v1 go get github.com/dait-chain/dait-chain/api/dait/tee_attest/v1 # ... etc
gRPC-Web
A gRPC-Web proxy is exposed at https://grpc-web.daitchain.io for browser clients that cannot speak HTTP/2 binary protobuf directly. The TypeScript SDK uses this transport in the browser package.
Reflection
grpcurl -plaintext 127.0.0.1:9090 list grpcurl -plaintext 127.0.0.1:9090 describe dait.pouw.v1.Query
See also
- REST + Tendermint RPC for HTTP equivalents
- Source proto: proto/dait/