File tree Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -6,11 +6,9 @@ const mnemonic =
6
6
const walletMnemonic = ethers.Wallet.fromMnemonic(mnemonic)
7
7
8
8
// ...or from a private key
9
- // eslint-disable-next-line unused-imports/no-unused-vars
10
9
const walletPrivateKey = new ethers.Wallet(walletMnemonic.privateKey)
11
10
12
11
// ...or create a wallet from a random private key
13
- // eslint-disable-next-line unused-imports/no-unused-vars
14
12
const randomWallet = ethers.Wallet.createRandom()
15
13
16
14
walletMnemonic.address
@@ -32,7 +30,6 @@ walletMnemonic.signTransaction(tx)
32
30
// { Promise: '0xf865808080948ba1f109551bd432803012645ac136ddd6...dfc' }
33
31
34
32
// Connect to the Ethereum network using a provider
35
- // eslint-disable-next-line no-undef
36
33
const wallet = walletMnemonic.connect(provider)
37
34
38
35
// Query the network
You can’t perform that action at this time.
0 commit comments