MetaMask / MetaMask/metamask-mobile

Deep-links interface should be equivalent to RPC interface

Open
#1,872 6 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Maintaining our [deep link interface](https://metamask.github.io/metamask-deeplinks/#) is currently a per-method interface.

To simplify maintenance and increase its stability and security, we could build a query-param schema that is equivalent to our JSON-RPC interface, and pass those messages directly to our normal dapp provider infrastructure.

This would allow us to avoid any bugs that could arise from introducing new types of interfaces, like https://github.com/MetaMask/metamask-mobile/issues/1871

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 by reviewing the existing deep-link interface and the normal dapp provider infrastructure, then compare their message shapes with the JSON-RPC interface. Define how query parameters would represent equivalent JSON-RPC messages and how new interface types would be avoided; the work is done when the design and affected integration points are agreed.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
api, mobile
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.