Skip to content

Commit 11f7ad7

Browse files
authored
fix: use ethers package name (#634)
1 parent c6a07e0 commit 11f7ad7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/flashbots-auction/quick-start.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ Next, you need a means to communicate with the Flashbots network. The Flashbots
5555
<TabItem value="ethers.js">
5656

5757
```ts
58-
const ethers = require("ethers.js");
58+
const { ethers } = require("ethers");
5959
const {
6060
FlashbotsBundleProvider,
6161
} = require("@flashbots/ethers-provider-bundle");
@@ -217,7 +217,7 @@ Now that we have a private key to identify ourselves with and a Flashbots provid
217217
<TabItem value="ethers.js">
218218

219219
```js
220-
const ethers = require("ethers.js");
220+
const { ethers } = require("ethers");
221221
const {
222222
FlashbotsBundleProvider,
223223
} = require("@flashbots/ethers-provider-bundle");

0 commit comments

Comments
 (0)