Closed rekmarks closed 9 months ago
👍 Dependency issues cleared. Learn more about Socket for GitHub ↗︎
This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored.
No top level dependency changes detected. Learn more about Socket for GitHub ↗︎
This should be caught up to spec now
Implements EIP-6963 according to the current state of the specification. Adds two new top-level imports,
eip6963AnnounceProvider
andeip6963RequestProvider
, used by us and the dapp, respectively.For reference, here are some
EIP6963ProviderInfo
values that would work for us:The purpose of the
uuid
field is to help dapps notice if multiple wallets are claiming the samename
. It needs to be a valid v4 UUID. IMO we should create a UUID at the point where we callannounceProvider
(i.e. the content script for the extension). We could also send it from the background.