MetaMask / MetaMask/providers

HELP - Can the port stream based provider work in a tab application loaded by the extension?

Open
#284 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
268
Forks
130
PR merge metrics
No merged PRs in 30d

Description

Can the port stream based provider work in a tab application loaded by the extension?

i.e. when a background script opens a chrome extension app in a tab - can the chrome extension app connect to MetaMask?

I am not talking about content scripts. I am talking about a chrome extension app opening in a new tab.

The reason I wanted to connect to the web browser version of metamask in the tab was so that it is associated with the extension url:

chrome-extension://oahhaapnfpkfnbgeopliehfgenifngde/tab.html#register

and not the url the content script happens to be on.

If it is not possible to connect to Meta Mask in a chrome extension tab app, then is there another way to connect the meta mask browser wallet to a domain url like:

chrome-extension://oahhaapnfpkfnbgeopliehfgenifngde/tab.html#register

I am super struggling finding the answers to this so if anyone can help me I will be super happy.

Thanks for your time.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no files, tests, or entry points. Start by reviewing the port stream provider and the documented extension connection constraints. Done means establishing whether extension tabs are supported and documenting a clear supported connection path or limitation.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
api
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.