MetaMask / MetaMask/metamask-mobile
Deep-links interface should be equivalent to RPC interface
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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