Connect to the wallet - this will trigger either the extension, web or mobile connection. The returned promise will resolve when the user accepted or rejected the connection.
constmessage='To verify your wallet on https://example.com, with this message';constmessageBytes=newTextEncoder().encode(message);constsignature:Uint8Array=awaitwallet.signMessage(messageBytes,'utf8');