MetaMask / MetaMask/api-specs

Add getLocale rpc method

Open
#86 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
39
Forks
16
PR merge metrics
No merged PRs in 30d

Description

Create a new rpc API endpoint to get current language

Mirko's notes:

- Implementation should live inside Lib/rpc-method-middleware
- Look for other methods implementation (e.g. `addCustomChain`)
- Look into `createMethodMiddleware`
- Test on the test dapp and/or playground

Contributor guide

No contributing guide indexed for this repository

Research direction

Start in Lib/rpc-method-middleware by reading the existing addCustomChain implementation and createMethodMiddleware. Run the test dapp or playground to understand how RPC methods are exercised. Done means a getLocale RPC endpoint is available and returns the current language.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
api
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.