•   10 months ago

Mnemonics and PrivateKey lead to a different public address, using "ethers.Wallet.createRandom()"

Using the create wallet function '.createRandom()', the mnemonics and the private key lead to the same public address on Ethereum.
If I try that on ThetaNetwork, the mnemonic is not correct. Is this a problem with the path option ?
wallet = eth.ethers.Wallet.createRandom();
console.log('adr='+ wallet.address );
console.log('pk= '+ wallet.privateKey );
console.log('mn= '+ wallet._mnemonic().phrase );


Comments are closed.