MetaMask / MetaMask/metamask-extension
Convert partial level 6 files to typescript for contributing to `metamask-controller.js`
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 13.2k
- Forks
- 5.6k
- Avg merge
- 2d 5h
- Merged PRs (30d)
- 451
Description
Convert dependency of files for metamask-controller.js (level 2) we want to target based on typescript migration dashboard.
**_Level 6_**
- app/scripts/lib/rpc-method-middleware/handlers/add-ethereum-chain.js
- app/scripts/lib/rpc-method-middleware/handlers/eth-accounts.js
- app/scripts/lib/rpc-method-middleware/handlers/get-provider-state.js
- app/scripts/lib/rpc-method-middleware/handlers/log-web3-shim-usage.js
- app/scripts/lib/rpc-method-middleware/handlers/request-accounts.js
- app/scripts/lib/rpc-method-middleware/handlers/send-metadata.js
- app/scripts/lib/rpc-method-middleware/handlers/switch-ethereum-chain.js
- app/scripts/lib/rpc-method-middleware/handlers/watch-asset.js
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
Review the TypeScript migration dashboard and the eight listed handlers under app/scripts/lib/rpc-method-middleware/handlers, using metamask-controller.js as the target dependency. Done means converting the listed level 6 JavaScript files to TypeScript while preserving their role as dependencies of metamask-controller.js.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, typescript
- Domain
- api, backend
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100