Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
managementWallet () {
return new Wallet(this._rootKeys.managementKey.privateKey)
}
static walletForAuthSecret (authSecret) {
const node = HDNode.fromSeed(ensure0x(authSecret)).derivePath(AUTH_PATH_WALLET)
return new Wallet(node.privateKey)
}