From 65ec6f67a9594b8a17cc8a147efb02cdd670cd4a Mon Sep 17 00:00:00 2001 From: Ardis Lu Date: Sat, 26 Aug 2023 16:55:02 -0700 Subject: [PATCH] Bump ethers version --- manual.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/manual.md b/manual.md index 288cedf..7c74337 100644 --- a/manual.md +++ b/manual.md @@ -27,7 +27,7 @@ await ethereum.request({ Here's a basic example of predicting the `CREATE2` address: ```javascript -const ethers = await import('https://cdn.jsdelivr.net/npm/ethers@6.6.2/+esm'); +const ethers = await import('https://cdn.jsdelivr.net/npm/ethers@6.7.1/+esm'); // The smart contract you deployed in "Create the CREATE2 deployment factory" const factory = '0x8137a81A74E2a9d510898B2e3E307e7C33eBad8A'; @@ -45,7 +45,7 @@ ethers.getCreate2Address(factory, salt, ethers.keccak256(bytecode)); And here's how to mine a specific smart contract address by testing different `salt` values: ```javascript -const ethers = await import('https://cdn.jsdelivr.net/npm/ethers@6.6.2/+esm'); +const ethers = await import('https://cdn.jsdelivr.net/npm/ethers@6.7.1/+esm'); // The smart contract you deployed in "Create the CREATE2 deployment factory" const factory = '0x8137a81A74E2a9d510898B2e3E307e7C33eBad8A'; -- 2.47.3