Trading Access
For dYdX, the important distinction is not public vs API-key access. It is indexer vs node access.
Public Usage
No credentials are required for:
IndexerPublicNode
Private Trading Setup
PrivateNode currently uses mnemonic-based access.
Security Notes
- never commit your mnemonic
- treat
DYDX_MNEMONICas a high-sensitivity secret - assume
PrivateNodeexamples are mainnet-sensitive unless you change the underlying connection logic - keep read-only workflows on
IndexerorPublicNodewhenever possible