Add Ledger wallet to wagmi connector to allow integration with more developer tools
Adds ledger's wallet support via device-management-kit libraries to wagmi connector to allow for broaden usage and connection with tools using up-to-date ledger software kit. This enables developers to integrate secure hardware-based signing for transactions, messages, and typed data with modern browser compatibility.
We enhanced the Wagmi connector to support Ledger hardware wallets, focusing on TypeScript integration and thorough testing with a Ledger Nano S Plus. The implementation uses Ledger’s @ledgerhq/device-management-kit and WebHID for browser-based communication, ensuring seamless interaction with Ledger devices. It supports both EIP-1559 and legacy transactions, includes robust error handling, and provides detailed debugging features to improve the developer experience and reliability of hardware wallet integration in dApps.