-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Metamask snap as web3 provider #2865
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
Conversation
This is brilliant! I am really excited. I agree with the approach here, rather start playing sooner and let's get ready. Will give it a play through and start going through the code. |
Before I forget (and I will), once there is an official release and along with this PR, we just need to add a link to the extension/snap in here as well - https://github.com/polkadot-js/apps/blob/master/packages/page-accounts/src/Accounts/BannerExtension.tsx Actually, it is just an additional config in here and it will appear - https://github.com/polkadot-js/apps/blob/master/packages/apps-config/src/extensions/index.ts |
# Conflicts: # packages/apps/public/locales/en/app-accounts.json # packages/page-accounts/package.json # packages/page-accounts/src/Accounts/index.tsx # yarn.lock
@mpetrunic Hi, what is the status of this? Is that still something you want to implement? |
We are still waiting for metamask to release snaps. Feel free to close PR. I will give it another go once ready. |
No issues. I have been checking in on them from time to time as well :) |
FYI allowing users to sign transactions with MetaMask is top priority for my team (moonbeam.network) and we want to do anything in our power to push this. I made this PR in December to inject web3 into the app but in order to sign transactions we need to access the sign function We are advocating for a revert of this change where |
Going to close this one. Not because it is not important, but rather since it (atm) doesn't see much action. Happy to see it return when snaps do make an appearance. |
yes indeed: for now we are focusing on getting MetaMask compatibility in the apps, and we will be postponing the creation of a snap until it's stable |
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
First of all, I don't think we should merge this just yet because:
This is more poc of how we could use metamask for interacting with Polkadot and it's part of our grant milestone.
To test it out, you can install our release of metamask with snap support (latest official develop branch): https://github.com/nodefactoryio/metamask-snap-polkadot#metamask
Implementation reasoning:
We would love to hear feedback and ideas how to integrate this better 🙂