Skip to main content
Home

Built and signed on GitHub Actions

The way to connect to Metamask Extension from your Chrome Extension

This package works with Browsers
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

New Ticket: Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.