Bip39 Mnemonic Recovery
Allows the recovery of mnemonics using only the first four letters of each word.
Designed for use with the CryptoSteel wallet, which only stores four letters per word.
While hardware wallets like Ledger and Trezor already have built-in this functionality, here I've made it a JS module for reuse.
npm install recover-bip39
var recoverMnemonicFromTruncated =var truncated = 'cart tong pref impr sell dete alte enac virt long join ice'var recovered =assert