From fafc979a99d4283ae9e71003e5dba346c89b8575 Mon Sep 17 00:00:00 2001 From: Ardis Lu Date: Tue, 27 Jun 2023 18:28:24 -0700 Subject: [PATCH] Bump ethers version to 6.6.1 --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 455e36a..b84ebd6 100644 --- a/README.md +++ b/README.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.0/+esm'); +const ethers = await import('https://cdn.jsdelivr.net/npm/ethers@6.6.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.0/+esm'); +const ethers = await import('https://cdn.jsdelivr.net/npm/ethers@6.6.1/+esm'); // The smart contract you deployed in "Create the CREATE2 deployment factory" const factory = '0x8137a81A74E2a9d510898B2e3E307e7C33eBad8A'; -- 2.47.3