Open hoh opened 3 years ago
This may require either interfacing with the Ledger device over USB, or open a local web interface to use with Metamask.
The official documentation for JavaScript: https://developers.ledger.com/docs/transport/overview/
This code may be relevant: https://github.com/3rdIteration/electrum-raven/blob/master/electrum/plugins/ledger/ledger.py
The ability to use private keys stored on a hardware wallet to sign messages would greatly enhance the security of the network, especially since messages can be
amended
and the virtual machines will potentially have many side effects.This link contains examples that would be relevant to implement signature using Ethereum: https://github.com/ledgerhq/app-ethereum/tree/master/examples
This link contains examples that would be relevant to implement signature using Solana: https://github.com/ledgerhq/app-solana/blob/master/examples/example-sign.js