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

The method "wallet_enable" does not exist / is not available. #28

Open
critesjosh opened this issue May 26, 2023 · 4 comments
Open

The method "wallet_enable" does not exist / is not available. #28

critesjosh opened this issue May 26, 2023 · 4 comments

Comments

@critesjosh
Copy link

I'm not sure if this is the right repo for this issue, but in the demo app (https://ethbogota-2022.netlify.app/) I see the following error when trying to connect Metamask Flask.

"The method "wallet_enable" does not exist / is not available."

image

@Divide-By-0
Copy link
Member

Piotr: this method was deprecated and replaced by wallet_request

It should be a pretty easy change, thanks for the catch!

@Divide-By-0
Copy link
Member

Divide-By-0 commented Oct 5, 2023

Metamask snaps has now disabled support for PLUMEs by blocking access to private key exponentiation, which is a perfectly safe API to have (i.e. Ledger wallets give access to this to external parties) and does NOT leak the secret key. We are shifting focus to Taho wallet and Ledger instead.

@critesjosh
Copy link
Author

That's a bummer. Any idea why they blocked access?

@Divide-By-0
Copy link
Member

I have no idea to be honest. We used to be able to request private key entropy directly which was arguably a bad api, so it makes sense they removed that. I would guess there aren't many cryptographers on their team; allowing g^sk is a fairly niche thing only really used by new signature schemes like us to be fair.

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

3 participants
@Divide-By-0 @critesjosh and others