UNPKG

@dotenvx/dotenvx-pro

Version:
8 lines (5 loc) 197 B
const bip39 = require('bip39') function convertRecoveryPhraseToPrivateKey (recoveryPhrase) { return bip39.mnemonicToEntropy(recoveryPhrase) } module.exports = convertRecoveryPhraseToPrivateKey