Added ledger wallet integration to hardhat 3, enabling secure hardware transaction signing



We added ledger's wallet support via device-management-kit libraries to hardhat 3, enabling developers to seamlessly integrate Ledger hardware wallets with the latest version of Hardhat. This enables developers to integrate secure hardware-based signing for transactions, messages, and typed data whenever they create a project using hardhat 3.
With this integration, users can sign the transaction on their ledger wallet when deploying a smart contract to any EVM network using hardhat 3.
We also provided detailed documentation feedback on Ledger’s developer portal. We proposed clear and actionable ways to improve the documentation, provided more code samples, identified inconsistencies in documentations, and suggested improvements to overall structure.
Ledger Track 2: Device Integration Documentation feedback and improvements: https://github.com/ericliujt/hardhat/blob/main/improvements-ledger.md Hardhat integration: https://github.com/ericliujt/hardhat/tree/main/v-next/hardhat-ledger
Hardhat: Best projects built using Hardhat 3 https://github.com/ericliujt/hardhat/tree/main/v-next/hardhat-ledger
We focused on TypeScript integration and we tested our integration with a Ledger Flex.
To connect our Ledger wallet, we used the following library: https://www.npmjs.com/package/@ledgerhq/hw-transport-node-hid https://www.npmjs.com/package/@ledgerhq/device-signer-kit-ethereum https://www.npmjs.com/package/@ledgerhq/device-management-kit
We referred to the documentation provided by Ledger for the implementation: https://developers.ledger.com/docs/device-interaction/getting-started https://developers.ledger.com/docs/device-interaction/references/signers/eth as well as previous ledger integration with hardhat 2: https://github.com/NomicFoundation/hardhat/tree/main/archive/hardhat-ledger

