You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you very much, the version I used before was Testnet version (v1.0.1-b) and this problem occurred, now I have tried Devnet version (v0.0.1-b) and it is OK.
Failed to call generateOrRecoverAess on the test net using BrowserProvider,.
My tx is https://testnet.cotiscan.io/transaction/0xa8a7f7fc903cc05d1f168d5fcb57bda40990ea49276c0b1c75faa4e3eaa64b27.
My code:
export async function setupAccount(address: string) {
const ethereumProvider = window.ethereum as Eip1193Provider;
const provider = new BrowserProvider(ethereumProvider);
const singer: JsonRpcSigner = await provider.getSigner(address);
await singer.generateOrRecoverAes()
return singer
}
The text was updated successfully, but these errors were encountered: