Change seed file with a bip39 mnemonic (#207)
* Change seed file with a bip39 mnemonic * Create helper for bip39 mnemonic * Prod mode on lamassu-update-to-mnemonic script * Fix standard styling issues
This commit is contained in:
parent
809bf5a2a9
commit
d97a33565f
10 changed files with 98 additions and 34 deletions
9
bin/bip39
Executable file
9
bin/bip39
Executable file
|
|
@ -0,0 +1,9 @@
|
|||
#!/usr/bin/env node
|
||||
|
||||
'use strict'
|
||||
|
||||
const mnemonicHelpers = require('../lib/mnemonic-helpers')
|
||||
|
||||
const seed = process.argv[2]
|
||||
|
||||
console.log(mnemonicHelpers.fromSeed(seed))
|
||||
Loading…
Add table
Add a link
Reference in a new issue