MetaMask / MetaMask/metamask-mobile

Is it possible to not require HTTPS for localhost?

Open
#2,736 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

community
Dominant language
TypeScript
Stars
3k
Forks
1.7k
Avg merge
1d 14h
Merged PRs (30d)
669

Description

See code [here](https://github.com/MetaMask/metamask-mobile/blob/41b015d83796cfc43e9a80b1c0aea9e740a95f30/app/core/RPCMethods/wallet_addEthereumChain.js#L63). Or is there another recommended workaround for testing auto-switching to a local ganache testnet?

Contributor guide

Open the contributing guide

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

Start with app/core/RPCMethods/wallet_addEthereumChain.js at line 63 and reproduce the auto-switching flow against a local Ganache testnet. Done would require a maintainer-approved answer on whether localhost can avoid HTTPS or a documented workaround for this testing scenario.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.