Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
static fromFundraiser(email: string, password: string, mnemonic: string) {
let seed = mnemonicToSeedSync(mnemonic, `${email}${password}`);
const test = b58cencode(seed.slice(0, 32), prefix.edsk2);
return new InMemorySigner(test);
}