Skip to content

Commit 95fe54a

Browse files
Merge pull request 0xPolygon#348 from moomarco/patch-1
Update create-wallets.md wallets.js bugs.
2 parents ca31c3a + 7925886 commit 95fe54a

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)