Skip to content

Fix/private key cardano derivation - #193

Merged
hadelive merged 3 commits into
mainfrom
fix/private-key-cardano-derivation
Mar 11, 2026
Merged

Fix/private key cardano derivation#193
hadelive merged 3 commits into
mainfrom
fix/private-key-cardano-derivation

Conversation

@hadelive

Copy link
Copy Markdown
Collaborator

No description provided.

- Add PrivateKey.fromMnemonicCardano() using correct Cardano derivation
- Deprecate fromMnemonic/derive/CardanoPath (uses secp256k1, wrong keys)
- Add tests verifying match with Bip32PrivateKey derivation
- Add Transaction.extractBodyBytes to extract raw body from TX CBOR
- Add hashTransactionRaw to hash raw body bytes without re-encoding
- Fix signTx in seed/private-key wallets to use original bytes when input is hex
- Fix signTxWithAutoFetch to pass original hex through to wallet
- Fix lint in PrivateKey.CML.test.ts
@hadelive
hadelive merged commit 37bd6fe into main Mar 11, 2026
9 checks passed
@hadelive
hadelive deleted the fix/private-key-cardano-derivation branch March 11, 2026 10:41
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

Successfully merging this pull request may close these issues.

1 participant