Skip to content

Commit 7925886

Browse files
authored
Update create-wallets.md wallets.js bugs.
Update method calls for ethers: _signingKey() to signingKey _mnemonic() to mnemonic
1 parent ee9bfb9 commit 7925886

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/zkEVM/get-started/deploy-zkevm/create-wallets.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ async function main() {
3838
const wallet = ethers.Wallet.createRandom();
3939
console.log(arrayNames[i]);
4040
console.log(`Address: ${wallet.address}`);
41-
console.log(`PrvKey: ${wallet._signingKey().privateKey}`);
42-
console.log(`mnemonic: "${wallet._mnemonic().phrase}"`);
41+
console.log(`PrvKey: ${wallet.signingKey.privateKey}`);
42+
console.log(`mnemonic: "${wallet.mnemonic.phrase}"`);
4343

4444
const keystoreJson = await wallet.encrypt("password");
4545
console.log(`keystore: ${keystoreJson}`);

0 commit comments

Comments
 (0)