Skip to main content

Module client

Module client 

Source
Expand description

StrikeClient — the main entry point for the SDK.

Supports both read-only mode (no wallet) and trading mode (with wallet).

§Examples

use strike_sdk::prelude::*;

// Read-only
let client = StrikeClient::new(StrikeConfig::bsc_testnet()).build()?;

// With wallet
let client = StrikeClient::new(StrikeConfig::bsc_testnet())
    .with_private_key("0x...")
    .build()?;

Structs§

StrikeClient
The main Strike SDK client.
StrikeClientBuilder
Builder for constructing a StrikeClient.

Type Aliases§

NonceSenderRef
Shared nonce sender reference type.