Resolve a shell-user option (alice, a fixture name, or a hex pubkey) to a hex pubkey. Unknown names fall back to mockPubkey(name).
alice
mockPubkey(name)
Account name or pubkey. Default alice.
Hex pubkey, or '' when user is the empty string (signed out).
''
user
resolveMockUser('bob') === MOCK_ACCOUNTS[1].pubkey; Copy
resolveMockUser('bob') === MOCK_ACCOUNTS[1].pubkey;
Resolve a shell-user option (
alice, a fixture name, or a hex pubkey) to a hex pubkey. Unknown names fall back tomockPubkey(name).