MockHardwareConfig
SIP Protocol API Reference v0.15.1
SIP Protocol API Reference / MockHardwareConfig
Interface: MockHardwareConfig
Section titled “Interface: MockHardwareConfig”Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:15026
Mock hardware wallet configuration
Extends
Section titled “Extends”Properties
Section titled “Properties”chain:
ChainId
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:14562
Target chain
Inherited from
Section titled “Inherited from”accountIndex?
Section titled “accountIndex?”
optionalaccountIndex?:number
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:14564
Account index (default: 0)
Inherited from
Section titled “Inherited from”HardwareWalletConfig.accountIndex
derivationPath?
Section titled “derivationPath?”
optionalderivationPath?:string
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:14566
Custom derivation path (overrides default)
Inherited from
Section titled “Inherited from”HardwareWalletConfig.derivationPath
transport?
Section titled “transport?”
optionaltransport?:TransportType
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:14568
Transport type preference
Inherited from
Section titled “Inherited from”HardwareWalletConfig.transport
timeout?
Section titled “timeout?”
optionaltimeout?:number
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:14570
Connection timeout in ms (default: 30000)
Inherited from
Section titled “Inherited from”deviceType
Section titled “deviceType”deviceType:
HardwareWalletType
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:15028
Device type to simulate
model?
Section titled “model?”
optionalmodel?:LedgerModel|TrezorModel
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:15030
Device model
isLocked?
Section titled “isLocked?”
optionalisLocked?:boolean
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:15032
Simulate device locked state
signingDelay?
Section titled “signingDelay?”
optionalsigningDelay?:number
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:15034
Simulate signing delay (ms)
shouldReject?
Section titled “shouldReject?”
optionalshouldReject?:boolean
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:15036
Simulate user rejection
shouldFailConnect?
Section titled “shouldFailConnect?”
optionalshouldFailConnect?:boolean
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:15038
Simulate connection failure
mockAddress?
Section titled “mockAddress?”
optionalmockAddress?:string
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:15040
Mock address to return
mockPublicKey?
Section titled “mockPublicKey?”
optionalmockPublicKey?:`0x${string}`
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:15042
Mock public key to return
accountCount?
Section titled “accountCount?”
optionalaccountCount?:number
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:15044
Number of accounts available