detect-provider icon indicating copy to clipboard operation
detect-provider copied to clipboard

A tiny utility for detecting the MetaMask Ethereum Provider, or any Provider compliant with EIP-1193.

Results 32 detect-provider issues
Sort by recently updated
recently updated
newest added

npm package still dont have MetaMaskEthereumProvider interface from issue #41

If a dApp redirects the user to the metamask mobile app using deep-link, then this library does not detect provider on page load, ``` const provider = await detectEthereumProvider(); if...

Hello, I'm wondering - if I understand this correctly, if there is a `window.ethereum` object on desktop, it's available synchronously on website load. But still, when you dont have metamask...

The code: ``` useEffect(() => { const loadProvider =async () => { const provider = await detectEthereumProvider() if (provider) { const web3 = new Web3(provider); setWeb3Api({ provider: provider, web3: web3,...

Repro: Install Coinbase Wallet ``` const prov: any = await detectEthereumProvider({ mustBeMetaMask: true }); const chainId: string = await prov.request({ method: 'eth_chainId' }); Error: No provider selected for request eth_chainId...

Hello, I can't solve this Error: invalid BigNumber string (argument="value", value=" ", code=INVALID_ARGUMENT, version=bignumber/5.4.2)

Hello, when I use the second account of my metamask wallet, this second account is not considered in execution. This is the first account that is always taken in the...

Provider is not detected in Metamask browser. My application is built with Nuxt, but the problem persists even when using the CDN version of `detect-provider`, rather than the NPM package....

Brave Wallet's `window.ethereum` sets `isMetaMask` to true, hence using the `mustBeMetaMask` option here will falsely detect Brave as MM, see: https://github.com/brave/brave-core/blob/ae4c9dab752c588fc7b5921863f862777a19589d/components/brave_wallet/renderer/js_ethereum_provider.cc#L254-L256 This is a non-standard behavior of Brave as opposed...

Bumps [es5-ext](https://github.com/medikoo/es5-ext) from 0.10.53 to 0.10.63. Release notes Sourced from es5-ext's releases. 0.10.63 (2024-02-23) Bug Fixes Do not rely on problematic regex (3551cdd), addresses #201 Support ES2015+ function definitions in...

dependencies