pipe-wallet icon indicating copy to clipboard operation
pipe-wallet copied to clipboard

Feature Request: Add Support for BIP39 Passphrase as an Optional Input

Open luoyeETH opened this issue 2 years ago • 0 comments

Some users create their BIP39 mnemonic phrases with a passphrase for added security. However, the existing code in pipe-wallet does not provide an option to include a passphrase during the wallet creation process. This results in a limitation for users who want to import wallets created with a passphrase.

const passphrase = "";
const seedWithPassphrase = bip39.mnemonicToSeedSync(mnemonic, passphrase);
let root = bip32.fromSeed(seedWithPassphrase, networks[network]);

luoyeETH avatar Oct 25 '23 00:10 luoyeETH