anoma / namada-mainnet-genesis

28 stars 480 forks source link

hardware wallet (ledger) support for key generation #156

Closed vchong closed 2 months ago

vchong commented 2 months ago

Does namadaw derive support operations with a ledger? Getting errors below.

$ ./namadaw --version
Namada v0.43.0

$ ./namadaw --pre-genesis derive --alias foo --use-device
$ ./namadaw --pre-genesis derive --alias foo --use-device --device-transport hid

Using HD derivation path m/44'/877'/0'/0'/0'

# Here the ledger shows the correct address and upon clicking on 'Approve', below error appears

The application panicked (crashed).
Message:  mid > len
Location: /root/.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.
$ ./namadaw --pre-genesis derive --alias foo --scheme secp256k1 --use-device
$ ./namadaw --pre-genesis derive --alias foo --scheme secp256k1 --use-device --device-transport hid

Using HD derivation path m/44'/60'/0'/0/0
Unable to connect to query address and public key from Ledger: Ledger | App Error: | 27012 apdu parameters invalid
Fraccaman commented 2 months ago

ledger wallet is a wip right now

vchong commented 2 months ago

ok, thanks!