Expand description
gRPC client implementation for the dYdX v4 protocol.
This module provides gRPC client functionality for interacting with the dYdX v4 protocol via the Cosmos SDK. It handles:
- Transaction signing and broadcasting using
cosmrs. - gRPC communication with validator nodes.
- Protocol Buffer message encoding/decoding.
- Cosmos SDK account management.
The client supports dYdX trading operations including:
- Order placement, modification, and cancellation.
- Transfer operations between subaccounts.
- Subaccount management.
- Transaction signing with secp256k1 keys.
§Architecture
dYdX v4 is built on the Cosmos SDK and uses gRPC for all state-changing operations (placing orders, transfers, etc.). The HTTP/REST API (Indexer) is read-only and used for querying market data and historical information.
Re-exports§
pub use types::ChainId;pub use wallet::Account;pub use wallet::Subaccount;pub use wallet::Wallet;