DeepBookClient constructor

DeepBookClient({
  1. SuiClient? client,
  2. String? accountCap,
  3. String? currentAddress,
})

Implementation

DeepBookClient({
  SuiClient? client,
  String? accountCap,
  String? currentAddress
}) {
  suiClient = client ?? SuiClient(Constants.testnetAPI);
  _accountCap = accountCap;
  this.currentAddress = currentAddress ?? DUMMY_ADDRESS;
}