Built and signed on GitHub ActionsBuilt and signed on GitHub Actions
Built and signed on GitHub Actions
The way to connect to Metamask Extension from your Chrome Extension
This package works with Browsers
JSR Score
100%
Published
a year ago (0.1.2)
Extension Metamask Provider
A way to connect your Chrome Extension to Metamask.
It works exactly like Metamask Extension Provider, but it doesn't have a deprecated dependency.
Installation
# npm (use any of npx, yarn dlx, pnpm dlx, or bunx) npx jsr add @whiteand/extension-metamask-provider # deno deno add @whiteand/extension-metamask-provider
Example
import createMetamaskProvider from '@whiteand/extension-metamask-provider' const provider = createMetamaskProvider() provider.request({ // ... }).then((result) => { // ... })
Docs
Built and signed on
GitHub Actions