1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/app/scripts/lib/rpc-method-middleware
Micaiah Reid 8930df7951
Allow locally hosted RPC and Block Explorer Urls with wallet_addEthereumChain (#14272)
* add function to check if url is localhost

* allow localhost rpcUrls in `wallet_addEthereumChain`

* allow localhost blockExplorerUrls

* wrap new URL in try/catch
2022-06-10 15:53:36 +01:00
..
handlers Allow locally hosted RPC and Block Explorer Urls with wallet_addEthereumChain (#14272) 2022-06-10 15:53:36 +01:00
createMethodMiddleware.js snaps-skunkworks@0.10.2 (#13901) 2022-03-14 12:37:19 -07:00
index.js Add Snaps via Flask (#13462) 2022-02-14 16:02:51 -08:00