Hi everybody,
I have to sign a random string with my metamask. So created a js code like that:
await window.ethereum.request({
        method: "eth_sign",
        params: ["my address" "My string"],
        id: "1"
    }).then(result => {
        console.log(result)
    }).catch(error => {
        alert(error.message);
    })
But i never got a response after i click accept on metamask windows.
The promise is always in “pending” status.
Is it a bug or i’m doing somethings wrong ?
Thanks you !

