Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

generating keys with --ledger doesn't work #77

Open
okanisis opened this issue Jan 27, 2023 · 3 comments
Open

generating keys with --ledger doesn't work #77

okanisis opened this issue Jan 27, 2023 · 3 comments

Comments

@okanisis
Copy link

Not exactly sure what app to have on the ledger as there is a Tendermint Ledger App but it apparently doesn't exist and then the Cosmos (ATOM) app which I also tried but doesn't work. I tried Ethereum app thinking it would work given canto uses geth evm but nothing still.

USB Ledger recognized on system:

[21880.630266] usb 1-1: USB disconnect, device number 26
[21880.928240] usb 1-1: new full-speed USB device number 27 using xhci_hcd
[21881.144524] usb 1-1: New USB device found, idVendor=2c97, idProduct=1015, bcdDevice= 2.01
[21881.144528] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[21881.144530] usb 1-1: Product: Nano S
[21881.144531] usb 1-1: Manufacturer: Ledger
[21881.144532] usb 1-1: SerialNumber: 0001
[21881.184784] hid-generic 0003:2C97:1015.0022: hiddev97,hidraw4: USB HID v1.11 Device [Ledger Nano S] on usb-0000:00:14.0-1/input0
[21881.218049] hid-generic 0003:2C97:1015.0023: hiddev98,hidraw5: USB HID v1.11 Device [Ledger Nano S] on usb-0000:00:14.0-1/input1

Trying to add keys with --ledger flag and error:

% cantod keys add myLedger --ledger
Error: --ledger flag passed: Ledger device is currently not supported

I built cantod with go using the following tags: go build -tags "netgo,ledger,cleveldb" on Arch Linux.

@okanisis
Copy link
Author

I propose the possibility of officially integrating with Ledger-Live:

https://developers.ledger.com/docs/coin/general-process/

@chalabi2
Copy link
Contributor

chalabi2 commented Feb 6, 2023

The issue is that cosmos keys use the secp256k1 standard but evmos and canto both use "@type":"/ethermint.crypto.v1.ethsecp256k1.PubKey. Keplr has a real janky solution for selecting evmos on keplr then selecting eth on your ledger.

@okanisis
Copy link
Author

The issue is that cosmos keys use the secp256k1 standard but evmos and canto both use "@type":"/ethermint.crypto.v1.ethsecp256k1.PubKey. Keplr has a real janky solution for selecting evmos on keplr then selecting eth on your ledger.

https://developers.ledger.com/docs/plugin for any ledger app devs interested

tkkwon1998 pushed a commit that referenced this issue Aug 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants