anoma / namada

Rust implementation of Namada, a Proof-of-Stake L1 for interchain asset-agnostic privacy
https://namada.net
GNU General Public License v3.0
2.4k stars 954 forks source link

generating key with ledger hardware wallet doesn't work #3707

Open vchong opened 2 months ago

vchong commented 2 months ago
$ cargo run --bin namadaw -- derive --alias foo --pre-genesis --use-device --hd-path "m/44'/877'/0'/0'/0'"

Using HD derivation path m/44'/877'/0'/0'/0'
The application panicked (crashed).
Message:  mid > len
Location: ~/.cargo/git/checkouts/ledger-namada-0aceb33989f34266/ca9da5e/rs/src/lib.rs:137

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.

Tried with below versions:

main # commit 24eebc7ec68c30f66f8c92a257f5d9acef75258f
v0.43.0
v0.42.0
v0.41.0

Also tried ledger-namada-rs = { git = "https://github.com/Zondax/ledger-namada", tag = "v0.0.27" } in Cargo.toml with v0.43.0 but no joy.

murisi commented 1 month ago

Hi @vchong . Thank you for looking into this. We haven't released a compatible version of our app to the Ledger Live yet. In the meantime, for development purposes please try Namada v0.0.27 from https://hub.zondax.ch/namada with the latest Namada release. Let me know if this works...

vchong commented 1 month ago

Does this work with the nano x? The Install buttons disappeared as soon as the device is connected.

vchong commented 1 month ago

Screenshot from 2024-10-03 04-02-43 Screenshot from 2024-10-03 04-02-51

vchong commented 1 month ago

https://hackmd.io/@gaving/SJCFAP8aR "Note: Nano X and others won't work until the Namada app has been updated in the Ledger Live catalogue." :grimacing: