lamassu-server/bin/bip39
Rafael Taranto d97a33565f 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
2018-11-07 18:28:40 +01:00

9 lines
169 B
JavaScript
Executable file

#!/usr/bin/env node
'use strict'
const mnemonicHelpers = require('../lib/mnemonic-helpers')
const seed = process.argv[2]
console.log(mnemonicHelpers.fromSeed(seed))