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

Pontem wallet doesn't implement signMessage properly #430

Open
gsong opened this issue Sep 30, 2024 · 0 comments
Open

Pontem wallet doesn't implement signMessage properly #430

gsong opened this issue Sep 30, 2024 · 0 comments

Comments

@gsong
Copy link
Contributor

gsong commented Sep 30, 2024

import { useWallet } from "@aptos-labs/wallet-adapter-react";
...
    const { account, network, signMessage } = useWallet();
    const response = await signMessage({
      message: account.address,
      nonce: Date.now().toString(),
      application: true,
    });

When using Pontem, response is undefined. signMessage is one of the standard functions so I would think it needs to be implemented.

The same code works for Petra and Nightly wallets.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant