Wiring for createMockAdapter. id defaults to 'mock', which is the provider id createAutoPicker('mock') matches; accounts defaults to one generated account and treats the first entry as primary; networkId defaults to canton:local.
id
'mock'
createAutoPicker('mock')
accounts
networkId
canton:local
const options: CreateMockAdapterOptions = { id: 'mock', accounts: [{ partyId }] } Copy
const options: CreateMockAdapterOptions = { id: 'mock', accounts: [{ partyId }] }
Optional
Wiring for createMockAdapter.
iddefaults to'mock', which is the provider idcreateAutoPicker('mock')matches;accountsdefaults to one generated account and treats the first entry as primary;networkIddefaults tocanton:local.Example