Skip to content

Commit 00caaac

Browse files
committed
Remove more references to bn api keys
1 parent b2d3be0 commit 00caaac

File tree

7 files changed

+5
-29
lines changed

7 files changed

+5
-29
lines changed

docs/src/routes/docs/[...1]overview/[...1]introduction/+page.md

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -54,18 +54,6 @@ Web3 Onboard supports all EVM networks. Supporting a new network is simply a mat
5454
- Degen
5555
- All other EVM networks
5656

57-
### Optional - Use an API key to fetch real-time transaction data, balances & gas
58-
59-
Using a Blocknative API key with Web3 Onboard on the free plan will allow you to gain the benefits of Blocknative balance & transaction services. Blocknative has a free forever plan you can always use.
60-
61-
This step is not required to use Web3 Onboard. You can skip to the [**Quickstart**](/docs/overview/introduction#quickstart) step below if you want to use Web3 Onboard without API services or if you already have a Blocknative account & API key.
62-
63-
**Setup your Account**
64-
Go to the Account Dashboard at [https://explorer.blocknative.com/account](https://explorer.blocknative.com/account) and setup an account with an email address. You will receive an email to confirm your account.
65-
66-
**Create your API Key**
67-
On the Account Dashboard at [https://explorer.blocknative.com/account](https://explorer.blocknative.com/account), create an API key with your choice of name or use/rename the Default Key. Consider using different API keys for development, staging, and production releases.
68-
6957
## Quickstart
7058

7159
Install the core web3-onboard library, the injected wallets module, and optionally ethers.js to support browser extension and mobile wallets:

docs/src/routes/docs/[...3]modules/[...2]gas/+page.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,8 @@ npm install @web3-onboard/gas
3939
import gas from '@web3-onboard/gas'
4040

4141
// subscribe to a single chain for estimates using the default poll rate of 5 secs
42-
// API key is optional and if provided allows for faster poll rates
4342
const ethMainnetGasBlockPrices = gas.stream({
4443
chains: ['0x1'],
45-
apiKey: '<OPTIONAL_API_KEY>',
4644
endpoint: 'blockPrices'
4745
})
4846

docs/src/routes/docs/[...3]modules/[...3]react/+page.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ type Notify = {
357357
/**
358358
* Position of notifications that defaults to the same position as the
359359
* Account Center (if enabled) of the top right if AC is disabled
360-
* and notifications are enabled (enabled by default with API key)
360+
* and notifications are enabled
361361
*/
362362
position?: NotificationPosition
363363
}

docs/src/routes/faq/+page.md

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,22 +14,18 @@ Join our [discord](https://discord.com/invite/KZaBVME) if you want to chat with
1414

1515
Yes it’s free to use forever.
1616

17-
3. Do I need an API key?
18-
19-
No you don’t need an API key to use Web3 Onboard. The optional addition of an API key allows access to transaction notifications and more frequent gas estimates from Blocknative. You can [get one here](https://explorer.blocknative.com/account)
20-
21-
4. Which frameworks does Web3 Onboard support?
17+
3. Which frameworks does Web3 Onboard support?
2218

2319
Web3 Onboard is framework agnostic and is usable with your favorite framework.
2420

25-
5. Is Web3 Onboard customizable?
21+
4. Is Web3 Onboard customizable?
2622

2723
Yes, we’ve made a [theming interface](https://onboard.blocknative.com/theming-tool) to show how you can theme Web3 Onboard for your dapp.
2824

29-
6. Are there any code examples?
25+
5. Are there any code examples?
3026

3127
Yes, we’ve made a connect wallet example available [here](https://onboard.blocknative.com/examples/connect-wallet#main-sidebar).
3228

33-
7. Does Web3 Onboard support my favorite network?
29+
6. Does Web3 Onboard support my favorite network?
3430

3531
Web3 Onboard is compatible with all EVM networks, which can be specified on initialization. You can add your chain to [this list in the docs](/docs/overview/introduction#supported-networks) to call out its support.

packages/core/src/types.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,6 @@ export type Notify = {
373373
/**
374374
* Position of notifications that defaults to the same position as the
375375
* Account Center (if enabled) of the top right if AC is disabled
376-
* and notifications are enabled (enabled by default with API key)
377376
*/
378377
position?: NotificationPosition
379378
replacement?: {

packages/demo/src/App.svelte

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -476,8 +476,6 @@
476476
// connectModal: '#sample-container-el',
477477
// accountCenter: '#sample-container-el2'
478478
// },
479-
// Sign up for your free api key at www.Blocknative.com
480-
// apiKey,
481479
theme: 'default'
482480
})
483481
@@ -778,7 +776,6 @@
778776
<button
779777
class="updateBalanceBtn"
780778
on:click={() => {
781-
// Only necessary if a Blocknative API key is not provided and notify is disabled
782779
onboard.state.actions.updateBalances()
783780
}}>Update Wallet Balance</button
784781
>

packages/react/README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,6 @@ const [
227227
## `useNotifications`
228228

229229
This hook allows the dev to access all notifications if enabled, send custom notifications and update notify <enable/disable & update transactionHandler function>
230-
**note** requires an API key be added to the initialization, enabled by default if API key exists
231230
For full Notification documentation please see [Notify section within the `@web3-onboard/core` docs](../core/README.md#options)
232231

233232
```typescript
@@ -287,7 +286,6 @@ type Notify = {
287286
/**
288287
* Position of notifications that defaults to the same position as the
289288
* Account Center (if enabled) of the top right if AC is disabled
290-
* and notifications are enabled (enabled by default with API key)
291289
*/
292290
position?: NotificationPosition
293291
}

0 commit comments

Comments
 (0)