add option for request template
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- typescript
- Domain
- documentation, frontend
Research direction
No file, test, or entry point is named in the issue. Start by locating the hardcoded window.ethereum.request call in the Docusaurus OpenRPC interactive documentation, then trace how MetaMask-specific behavior is configured. Done means requests use a configurable template, default to the described window.fetch form, and retain MetaMask's window.ethereum.request behavior.
Written by the indexing model from the issue text.
Description
right now it's hardcoded to await window.ethereum.request({...jsonrpcRequest}) but it should be configurable.
Ideally it should default to using something like window.fetch({method: "POST", body: JSON.stringify({...jsonrpcRequest}) and the MetaMask one configures it to be window.ethereum.request
- Dominant language
- TypeScript
- Stars
- 13
- Forks
- 7
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- No contributing 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.
More from MetaMask/docusaurus-openrpc
-
team-wallet-api-platform
Difficulty 3/5 1-2 days Newbie friendliness 42/100
MetaMask/docusaurus-openrpc#71 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
team-wallet-api-platform
Difficulty 3/5 1-2 days Newbie friendliness 42/100
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
-
Handle notificationsOpenteam-wallet-api-platform
Difficulty 5/5 Over a week Newbie friendliness 25/100
MetaMask/docusaurus-openrpc#45 · 1 comment ·
All issues in MetaMask/docusaurus-openrpc
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
openzim/mwoffliner#2933 ·
Maintainers usually reply within 1 day
-
Use the README category name for website links and submissionsPossibly taken @dajiaohuang claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
birobirobiro/awesome-shadcn-ui#647 ·
Maintainers usually reply within 2 days
-
check:passed streams:add
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Urigo/accounter-fullstack#4604 ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day