From: Ardis Lu Date: Sat, 26 Aug 2023 23:55:02 +0000 (-0700) Subject: Bump ethers version X-Git-Url: https://git.ardis.lu/?a=commitdiff_plain;h=65ec6f67a9594b8a17cc8a147efb02cdd670cd4a;p=minimal-create2 Bump ethers version --- 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';