MetaMask / MetaMask/core

[eth-json-rpc-middleware] Add referrer to request

Open
#6,876 0 comments 0 reactions 0 assignees View on GitHub
enhancement team-wallet-framework wf-general-dx
Dominant language
TypeScript
Stars
413
Forks
308
Avg merge
1d 4h
Merged PRs (30d)
253

Description

is it possible to add the referer to the fetch request. Currently the website that the transaction is originating from is missing from the RPC request. This would be great to know for additional context.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the eth-json-rpc-middleware package and the fetch request that sends transactions to the RPC endpoint. Confirm how the originating website's referrer should be passed, then verify that the resulting RPC request includes it without changing other request context.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.