Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to call generateOrRecoverAess on the test net using BrowserProvider #5

Open
myishuohuo opened this issue Oct 23, 2024 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@myishuohuo
Copy link

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
}

@gmesika-coti
Copy link
Member

@myishuohuo can you please add details of the error ? what's the failure ?

@gmesika-coti gmesika-coti added the bug Something isn't working label Oct 24, 2024
@smiller-coti
Copy link
Collaborator

Please use the latest Devnet version (v0.1.1-b) in the meantime while we work on fixing the issue.

@myishuohuo
Copy link
Author

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.

@gmesika-coti
Copy link
Member

@myishuohuo appreciate if you could confirm that issue is resolved so we can close this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants