https://github.com/exodusmovement/web3modal-eip6963-bug
https://github.com/exodusmovement/web3modal-eip6963-bug
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/exodusmovement/web3modal-eip6963-bug
- Owner: ExodusMovement
- Created: 2024-08-29T19:15:21.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2024-08-29T19:28:33.000Z (almost 2 years ago)
- Last Synced: 2025-02-15T00:42:05.087Z (over 1 year ago)
- Language: TypeScript
- Size: 214 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This repository is a minimal reproducible example to demo that `web3modal`
does not properly display EIP6963-only (no `window.ethereum` injection) wallets
in the Connection Modal.
## Steps to reproduce
1. Install the dependencies:
```bash
npm i
```
2. Start the project
```bash
npm run dev
```
3. Disable all Browser Extensions, observe that `web3modal` does not display the
[Example Wallet](https://github.com/ExodusMovement/web3modal-eip6963-bug/blob/d377964d86c87c59fd2fd5d9846bb2a5d06b8add/src/context/injectEIP6963.ts#L1-L30), which is an EIP6963-only wallet:

4. Turn on any Ethereum wallet that injects its provider to window.ethereum, observe that `web3modal`
starts displaying the Example Wallet as well:
