starknet-io / get-starknet

StarkNet wallet <-> dApp bridge
MIT License
154 stars 106 forks source link

Update DetectMetaMaskProvider to Use EIP-6963 for Enhanced Multi-Wallet Support #254

Open khanti42 opened 1 week ago

khanti42 commented 1 week ago

The current implementation of the DetectMetaMaskProvider relies on legacy detection mechanisms, leading to issues when interacting with multiple wallet providers. As the ecosystem evolves, it is essential to adopt newer standards to ensure compatibility and improve user experience.

The EIP-6963 standard provides a modern and robust approach for detecting Ethereum providers, offering better support for environments with multiple wallet providers.