dapphub / dapptools

Dapp, Seth, Hevm, and more

Home Page:https://dapp.tools

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ledger -- ethsign: failed to sign tx

saucepoint opened this issue · 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

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