#client #solana #traits

clone-solana-client-traits

Traits for Solana clients

1 stable release

new 2.2.1 Apr 30, 2025

#633 in #solana

Apache-2.0

540KB
10K SLoC

Defines traits for blocking (synchronous) and non-blocking (asynchronous) communication with a Solana server as well as a trait that encompasses both.

//! Synchronous implementations are expected to create transactions, sign them, and send them with multiple retries, updating blockhashes and resigning as-needed.

Asynchronous implementations are expected to create transactions, sign them, and send them but without waiting to see if the server accepted it.

Dependencies

~5–11MB
~118K SLoC