Work in progress repo of Rust client for dYdX (v3 API).
Installation
Install dydx-v3-rust from crates.io. Add the following line to your Cargo.toml file's dependencies section:
dydx-v3-rust = "0.1.0"
Usage
Public API
use DydxClient;
let response = DydxClient.public.get_markets.await.unwrap;
Private API
use DydxClient;
If you send new orders or withdrawals, you need python shared library to generate DYDX-SIGNATURE through PyO3.
Here is sample installation steps via pyenv
#install pyenv
# export PATH
# install python3.9.9 with shared-library
Full installation guide: https://github.com/pyenv/pyenv#set-up-your-shell-environment-for-pyenv