Crates.io | dydx |
lib.rs | dydx |
version | 0.1.0 |
source | src |
created_at | 2024-10-28 13:34:33.461159 |
updated_at | 2024-10-28 13:34:33.461159 |
description | dYdX v4 asynchronous client. |
homepage | |
repository | https://github.com/dydxprotocol/v4-clients/v4-client-rs |
max_upload_size | |
id | 1425623 |
size | 464,469 |
The crate implements interaction with the dYdX API.
The following features are implemented:
NodeClient
, IndexerClient
+ WebSockets, FaucetClient
, NobleClient
To add the crate to your project, use the command:
cargo add dydx
Workspace consists of a single crate:
client
- to provide connection management with dYdX, common types and utilsprotoc for dev dependencies (metrics-exporter-tcp
)
To run the example, you need to use the cargo
command as follows:
cargo run --example bot_basic_adder
You can find the full set of examples in the examples folder.
Before publishing make sure to run (and fix all warnings and errors)
cargo fmt
cargo clippy
cargo deny check licenses advisories sources
To generate the documentation, use the command
cargo doc -p dydx
Built by Nethermind: @v0-e, @therustmonk, @maksimryndin
For more details about the grant see link.