A walletPicker that selects with no UI, for tests and headless dev flows: the entry whose providerId matches pick, or the first discovered one.
walletPicker
providerId
pick
Optional
when no discovered entry matches pick, so a test naming a wallet that never registered fails at the picker rather than at the connect.
const config = { appName: 'Vesting', walletPicker: createAutoPicker('mock') } Copy
const config = { appName: 'Vesting', walletPicker: createAutoPicker('mock') }
A
walletPickerthat selects with no UI, for tests and headless dev flows: the entry whoseproviderIdmatchespick, or the first discovered one.