Crates.io | dydx |
lib.rs | dydx |
version | 0.1.1 |
source | src |
created_at | 2024-10-28 13:34:33.461159 |
updated_at | 2024-12-02 17:45:34.286821 |
description | dYdX v4 asynchronous client. |
homepage | |
repository | https://github.com/dydxprotocol/v4-clients/tree/main/v4-client-rs |
max_upload_size | |
id | 1425623 |
size | 482,747 |
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.