HomePhabricator

[ecash-lib] Add mnemonic functionality

Description

[ecash-lib] Add mnemonic functionality

Summary:
Adds entropyToMnemonic, mnemonicToEntropy and mnemonicToSeed, which is important to build a wallet.

The wordlist is included in the bundle but has to be imported manually to give users maximum flexibilty without forcing everyone to blow up their bundle size.

Depends on D17610.

Test Plan: npm test

Reviewers: bytesofman, #bitcoin_abc

Reviewed By: bytesofman, #bitcoin_abc

Differential Revision: https://reviews.bitcoinabc.org/D17612

Details

Provenance
tobias_ruckAuthored on Jan 30 2025, 13:31
tobias_ruckPushed on Jan 31 2025, 12:03
Reviewer
Restricted Project
Differential Revision
D17612: [ecash-lib] Add mnemonic functionality
Parents
rABC01abe1438cf6: [ecash-lib] Add `pbkdf2`
Branches
Unknown
Tags
Unknown