MockHardwareConfig
SIP Protocol API Reference v0.7.4
SIP Protocol API Reference / MockHardwareConfig
Interface: MockHardwareConfig
Section titled “Interface: MockHardwareConfig”Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:14953
Mock hardware wallet configuration
Extends
Section titled “Extends”Properties
Section titled “Properties”chain:
ChainId
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:14489
Target chain
Inherited from
Section titled “Inherited from”accountIndex?
Section titled “accountIndex?”
optionalaccountIndex:number
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:14491
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-DXh2IGkz.d.ts:14493
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-DXh2IGkz.d.ts:14495
Transport type preference
Inherited from
Section titled “Inherited from”HardwareWalletConfig.transport
timeout?
Section titled “timeout?”
optionaltimeout:number
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:14497
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-DXh2IGkz.d.ts:14955
Device type to simulate
model?
Section titled “model?”
optionalmodel:LedgerModel|TrezorModel
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:14957
Device model
isLocked?
Section titled “isLocked?”
optionalisLocked:boolean
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:14959
Simulate device locked state
signingDelay?
Section titled “signingDelay?”
optionalsigningDelay:number
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:14961
Simulate signing delay (ms)
shouldReject?
Section titled “shouldReject?”
optionalshouldReject:boolean
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:14963
Simulate user rejection
shouldFailConnect?
Section titled “shouldFailConnect?”
optionalshouldFailConnect:boolean
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:14965
Simulate connection failure
mockAddress?
Section titled “mockAddress?”
optionalmockAddress:string
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:14967
Mock address to return
mockPublicKey?
Section titled “mockPublicKey?”
optionalmockPublicKey:`0x${string}`
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:14969
Mock public key to return
accountCount?
Section titled “accountCount?”
optionalaccountCount:number
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:14971
Number of accounts available