dapptools icon indicating copy to clipboard operation
dapptools copied to clipboard

Ledger -- ethsign: failed to sign tx

Open saucepoint opened this issue 3 years ago • 1 comments

When trying to sign transaction with a ledger hardware wallet, I am prompted on the device to accept & send the transaction as expected.

However, I receive an error:

ethsign tx --sig --from <ledger address> --to <contract address> --gas-price 2000000000 --prio-fee 1000000000 --data <method signature> --gas-limit 1500000 --nonce 16 --value 0x0 --chain-id 1
Waiting for hardware wallet confirmation...
ethsign: failed to sign tx

I have tried setting environment variables which does not seem to fix the error. I believe the ledger and command is working since I'm getting prompted on the device to sign the transaction. It doesnt seem like ethsign is handling the response correctly? The command works for addresses saved to the keystore

saucepoint avatar Apr 11 '22 23:04 saucepoint

have tried setting the udev rules too: https://support.ledger.com/hc/en-us/articles/115005165269-Fix-connection-issues?support=true

does not make a difference

saucepoint avatar Apr 12 '22 00:04 saucepoint