feat(account): add newMnemonic

dev
neeboo 5 years ago
parent e5a2e455d1
commit 6daa1120e0
  1. 1
      .travis.yml
  2. 5
      packages/harmony-account/src/wallet.ts

@ -10,6 +10,7 @@ install:
- yarn bootstrap
script:
- yarn dist
cache:
directories:
- '$HOME/.yarn-cache'

@ -47,10 +47,13 @@ class Wallet {
this.messenger = messenger;
}
/**
* @function generateMnemonic
* @function newMnemonic
* @memberof Wallet
* @return {string} Mnemonics
*/
newMnemonic(): string {
return Wallet.generateMnemonic();
}
/**
* @function addByMnemonic

Loading…
Cancel
Save