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

Cardano Address Derivation on Ledger Nano S Differs from Software Wallets #9153

Open
ramezanzade1 opened this issue Feb 7, 2025 · 0 comments
Labels
bug Something isn't working libraries Impacts the Libraries triage In need of triage

Comments

@ramezanzade1
Copy link

Impacted Library name

https://github.com/fivebinaries/go-cardano-serialization

Impacted Library version

v0.1

Describe the bug

Hi,

I’m using a 24-word recovery phrase to generate a Shelley address for Cardano using the derivation path:
m/1852'/1815'/0'/0/0

When I use this phrase in AdaLite (or other software wallets), the derived address matches my expectation. However, when I use the same mnemonic on my Ledger Nano S, the generated address is different.

Expected behavior

My Questions:
1. Does Ledger apply a different BIP32-Ed25519 derivation method compared to software wallets?
2. Is there an additional modification or restriction on key derivation when using Ledger?
3. Does Ledger apply any additional entropy or processing that changes the way the root key is derived?
4. Is it possible to replicate Ledger’s exact address generation in a custom Go implementation using cardano-go?

Would really appreciate some insights into this difference! Thanks.

Additional context

No response

@ramezanzade1 ramezanzade1 added bug Something isn't working libraries Impacts the Libraries triage In need of triage labels Feb 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working libraries Impacts the Libraries triage In need of triage
Projects
None yet
Development

No branches or pull requests

1 participant