Skip to content

Commit 922da45

Browse files
committed
Merge in latest develop
2 parents a07cf4d + 4c4056c commit 922da45

File tree

93 files changed

+2150
-9514
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

93 files changed

+2150
-9514
lines changed

.circleci/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@ jobs:
438438
- node-build-steps
439439
build-capsule:
440440
docker:
441-
- image: cimg/node:16.14.2
441+
- image: cimg/node:18.18.2
442442
working_directory: ~/web3-onboard-monorepo/packages/capsule
443443
steps:
444444
- node-build-steps
@@ -722,7 +722,7 @@ jobs:
722722
- node-staging-build-steps
723723
build-staging-capsule:
724724
docker:
725-
- image: cimg/node:16.14.2
725+
- image: cimg/node:18.18.2
726726
working_directory: ~/web3-onboard-monorepo/packages/capsule
727727
steps:
728728
- node-staging-build-steps

docs/package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -55,24 +55,24 @@
5555
"@web3-onboard/arcana-auth": "^2.0.0",
5656
"@web3-onboard/bitget": "^2.0.0",
5757
"@web3-onboard/blocto": "^2.0.0",
58-
"@web3-onboard/capsule": "^2.0.1",
58+
"@web3-onboard/capsule": "^2.0.2",
5959
"@web3-onboard/cede-store": "^2.2.0",
6060
"@web3-onboard/coinbase": "^2.2.7",
61-
"@web3-onboard/core": "^2.21.6-alpha.1",
61+
"@web3-onboard/core": "^2.21.6",
6262
"@web3-onboard/dcent": "^2.2.7",
6363
"@web3-onboard/enkrypt": "^2.0.4",
6464
"@web3-onboard/fortmatic": "^2.0.19",
6565
"@web3-onboard/frame": "^2.0.2",
6666
"@web3-onboard/frontier": "^2.0.4",
6767
"@web3-onboard/gas": "^2.1.8",
68-
"@web3-onboard/gnosis": "^2.1.10",
68+
"@web3-onboard/gnosis": "^2.2.2",
6969
"@web3-onboard/infinity-wallet": "^2.0.4",
70-
"@web3-onboard/injected-wallets": "^2.10.16-alpha.1",
70+
"@web3-onboard/injected-wallets": "^2.10.16",
7171
"@web3-onboard/keepkey": "^2.3.7",
7272
"@web3-onboard/keystone": "^2.3.7",
7373
"@web3-onboard/ledger": "^2.6.0",
7474
"@web3-onboard/magic": "^2.1.7",
75-
"@web3-onboard/metamask": "^2.0.5-alpha.1",
75+
"@web3-onboard/metamask": "^2.0.7-alpha.1",
7676
"@web3-onboard/mew-wallet": "^2.0.4",
7777
"@web3-onboard/phantom": "^2.0.3",
7878
"@web3-onboard/portis": "^2.1.7",
@@ -84,11 +84,11 @@
8484
"@web3-onboard/trust": "^2.0.4",
8585
"@web3-onboard/uauth": "^2.1.1",
8686
"@web3-onboard/venly": "^2.0.0",
87-
"@web3-onboard/walletconnect": "^2.5.4",
87+
"@web3-onboard/walletconnect": "^2.5.5",
8888
"@web3-onboard/web3auth": "^2.2.3",
8989
"@web3-onboard/xdefi": "^2.0.4",
9090
"@web3-onboard/zeal": "^2.0.4",
91-
"@web3-onboard/particle-network": "^2.0.1-alpha.5",
91+
"@web3-onboard/particle-network": "^2.0.1",
9292
"animejs": "^3.2.1",
9393
"bnc-sdk": "^4.6.6",
9494
"ethers": "^5.7.0",

docs/src/lib/components/FeaturesSection.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,11 @@
4848
/>
4949
<FeatureCard
5050
title={'Dynamic Imports'}
51-
text={"Supporting multiple wallets in your app requires a lot of dependencies. Onboard dynamically imports a wallet and it's dependencies only when the user selects it, so that minimal bandwidth is used."}
51+
text={"Supporting multiple wallets in your app requires a lot of dependencies. Web3 Onboard dynamically imports a wallet and it's dependencies only when the user selects it, so that minimal bandwidth is used."}
5252
/>
5353
<FeatureCard
5454
title={'Wallet Provider Standardization'}
55-
text={'All wallet modules expose a provider that is patched to be compliant with the EIP-1193, EIP-1102, EIP-3085 and EIP-3326 specifications.'}
55+
text={'All wallet modules expose a provider that is patched to be compliant with the EIP-1193, EIP-1102, EIP-3085, EIP-3326, and EIP-6963 specifications.'}
5656
/>
5757
<FeatureCard
5858
title={'Multiple Chain Support'}

docs/src/lib/components/SEO/Twitter.svelte

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
</script>
77

88
<svelte:head>
9-
<meta property="twitter:card" content="summary_large_image" />
10-
<meta property="twitter:title" content={pageTitle} />
11-
<meta property="twitter:description" content={metadescription} />
12-
<meta property="twitter:url" content={url} />
9+
<meta name="twitter:card" content="summary_large_image" />
10+
<meta name="twitter:title" content={pageTitle} />
11+
<meta name="twitter:description" content={metadescription} />
12+
<meta name="twitter:url" content={url} />
1313
{#if image}
1414
<meta name="twitter:image" content={image.url} />
1515
<meta name="twitter:image:alt" content={image.alt} />

docs/src/lib/components/SEO/index.svelte

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
<script>
22
import OpenGraph from './OpenGraph.svelte'
33
import Twitter from './Twitter.svelte'
4-
import MetaImage from '$lib/assets/blocknative-onboard-og-image.png'
54
65
export let metadescription
76
export let title
87
export let url
98
109
export let image = {
11-
url: MetaImage,
10+
url: 'https://onboard.blocknative.com/blocknative-onboard-og-image.png',
1211
alt: 'Web3-Onboard Connect Wallet Button'
1312
}
1413

docs/src/lib/services/onboard.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -194,12 +194,6 @@ const intiOnboard = async (theme) => {
194194
}
195195
]
196196
},
197-
{
198-
id: '0x5',
199-
token: 'ETH',
200-
label: 'Goerli',
201-
rpcUrl: `https://goerli.infura.io/v3/${INFURA_ID}`
202-
},
203197
{
204198
id: 11155111,
205199
token: 'ETH',

docs/src/routes/+page.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ yarn add @web3-onboard/core @web3-onboard/injected-wallets @web3-onboard/transac
9090

9191
## Installation
9292

93-
Install the core Onboard library and the injected wallets module to support browser extension and mobile wallets:
93+
Install the core Web3 Onboard library and the injected wallets module to support browser extension and mobile wallets:
9494

9595
```bash copy
9696
npm i @web3-onboard/core @web3-onboard/injected-wallets

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

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ The best way to connect a wallet 🚀
1212

1313
<img src="{walletModal}" alt="Web3-Onboard connect wallet modal"/>
1414

15-
Web3-Onboard is the quickest and easiest way to add multi-wallet and multi-chain support to your project. With built-in modules for more than 35 unique hardware and software wallets, Web3-Onboard saves you time and headaches.
15+
Web3 Onboard is the quickest and easiest way to add multi-wallet and multi-chain support to your project. With built-in modules for more than 80 unique hardware and software wallets, Web3 Onboard saves you time and headaches.
1616

1717
## Features
1818

@@ -24,17 +24,17 @@ Web3-Onboard is the quickest and easiest way to add multi-wallet and multi-chain
2424

2525
- **Themable:** Powerful customization options for all your needs. Style Web3 Onboard to fit into your existing designs, or pick from our pre-made themes.
2626

27-
- **Unified Provider Interface:** All wallet modules expose a provider that is patched to be compliant with the EIP-1193, EIP-1102, EIP-3085 and EIP-3326 specifications. Whether your user is using Ledger or Metamask the provider will operate identically.
27+
- **Unified Provider Interface:** All wallet modules expose a provider that is patched to be compliant with the EIP-1193, EIP-1102, EIP-3085, EIP-3326, and EIP-6963 specifications. Whether your user is using Ledger or Metamask, the provider will operate identically.
2828

29-
- **Dynamic Imports:** Supporting multiple wallets in your app requires a lot of dependencies. Onboard dynamically imports a wallet and its dependencies only when the user selects it, so that minimal bandwidth is used.
29+
- **Dynamic Imports:** Supporting multiple wallets in your app requires a lot of dependencies. Web3 Onboard dynamically imports a wallet and its dependencies only when the user selects it, so that minimal bandwidth is used.
3030

31-
- **Framework Agnostic:** Avoid framework lock in -- Web3-Onboard works with any framework and includes helper packages for vue & react.
31+
- **Framework Agnostic:** Avoid framework lock in -- Web3 Onboard works with any framework and includes helper packages for vue & react.
3232

3333
- **Notify:** Real-time transaction notifications for all transaction states for the connected wallet address(es). In-notification speedups & cancels for hardware wallet connections.
3434

3535
### Natively Supported EVM Chains
3636

37-
web3-onboard supports ALL EVM networks. Supporting a new network is simply a matter of adding its details in the Chains section upon initialization. For more information see [initialization options](../../modules/core.md#initialization).
37+
Web3 Onboard supports all EVM networks. Supporting a new network is simply a matter of adding its details in the Chains section upon initialization. For more information see [initialization options](../../modules/core.md#initialization).
3838

3939
- Ethereum
4040
- Arbitrum One
@@ -50,16 +50,16 @@ web3-onboard supports ALL EVM networks. Supporting a new network is simply a mat
5050
- Gnosis Chain
5151
- Harmony One
5252
- Moonriver
53-
- Goerli
5453
- Sepolia
5554
- Base Goerli
55+
- Degen
5656
- All other EVM networks
5757

58-
### Optional - Use an API key to fetch real time transaction data, balances & gas
58+
### Optional - Use an API key to fetch real-time transaction data, balances & gas
5959

60-
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+
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.
6161

62-
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+
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.
6363

6464
**Setup your Account**
6565
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.
@@ -69,7 +69,7 @@ On the Account Dashboard at [https://explorer.blocknative.com/account](https://e
6969

7070
## Quickstart
7171

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

7474
<Tabs values={['npm', 'yarn']}>
7575
<TabPanel value="yarn">
@@ -88,7 +88,7 @@ npm i @web3-onboard/core @web3-onboard/injected-wallets ethers
8888
</TabPanel>
8989
</Tabs>
9090

91-
You can find a link to web3-onboard's official NPM Documentation here: [@web3-onboard/core Official NPM Documentation](https://www.npmjs.com/package/@web3-onboard/core)
91+
You can find a link to Web3 Onboard's official NPM Documentation here: [@web3-onboard/core Official NPM Documentation](https://www.npmjs.com/package/@web3-onboard/core)
9292

9393
Then initialize in your app:
9494

@@ -172,9 +172,9 @@ if (wallets[0]) {
172172

173173
## Wallet Modules
174174

175-
Add other wallet modules such as Wallet Connect or Ledger to increase the support and functionality of your web3-onboard implementation. All modules can be accessed through the subpages of web3-onboard docs on the left.
175+
Add other wallet modules such as Wallet Connect or Ledger to increase the support and functionality of your Web3 Onboard implementation. All modules can be accessed through the subpages of Web3 Onboard docs on the left.
176176

177-
We recommend you add the [Core Repo](../../modules/core.md#install) and consider adding the [Injected Wallets](../../wallets/injected.md#install) module to get connected with wallets like Metamask, Trust, Coinbase Wallet & more right away.
177+
We recommend you add the [Core Repo](../../modules/core.md#install) and consider adding the [Injected Wallets](../../wallets/injected.md#install) module to get connected with wallets like Metamask, Trust, Coinbase Wallet, and more right away.
178178

179179
[**Core Repo**](../../modules/core.md#install)
180180

@@ -184,6 +184,7 @@ We recommend you add the [Core Repo](../../modules/core.md#install) and consider
184184

185185
- [Arcana Auth](../../wallets/arcana.md#install)
186186
- [Blocto](../../wallets/blocto.md#install)
187+
- [Capsule](../../wallets/capsule.md#install)
187188
- [Coinbase](../../wallets/coinbase.md#install)
188189
- [Fortmatic](../../wallets/fortmatic.md#install)
189190
- [Frame](../../wallets/frame.md#install)
@@ -211,7 +212,7 @@ We recommend you add the [Core Repo](../../modules/core.md#install) and consider
211212

212213
## Test out the demo app
213214

214-
Test out the current functionality of web3-onboard in a small browser demo:
215+
Test out the current functionality of Web3 Onboard in a small browser demo:
215216

216217
- Clone the repo: `git clone git@github.com:blocknative/web3-onboard.git`
217218
- Change it to the onboard directory: `cd web3-onboard`
@@ -224,10 +225,10 @@ Test out the current functionality of web3-onboard in a small browser demo:
224225

225226
Checkout our live demo using React at [https://reactdemo.blocknative.com/](https://reactdemo.blocknative.com/)
226227

227-
The demo is open source so you can see a sample implementation of web3-onboard: [https://github.com/blocknative/react-demo](https://github.com/blocknative/react-demo)
228+
The demo is open source so you can see a sample implementation of Web3 Onboard: [https://github.com/blocknative/react-demo](https://github.com/blocknative/react-demo)
228229

229230
## More Examples
230231

231-
You can find starter examples from the web3 community here using web3-onboard:
232+
You can find starter examples from the web3 community here using Web3 Onboard:
232233

233234
- [eth-scaffold](https://github.com/scaffold-eth/scaffold-eth-examples/tree/bnc-onboard)

docs/src/routes/docs/[...1]overview/[...2]contribution-guide/+page.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ Example 2 : Bug fix within the `core` package -
4141

4242
## How can I add a new wallet? 💳
4343

44-
To add a new wallet to the official Web3 Onboard packages and repo, create a [pull request](#pull-requests-🗂️). Web3 Onboard does not require a wallet to be a part of the main code, so a separate wallet module can be created without any changes to the Web3Onboard codebase. Your PR must include a detailed README for the package, keeping in mind that this README is the the first point of contact for dapp devs looking to implement your wallet.
44+
To add a new wallet to the official Web3 Onboard packages and repo, create a [pull request](#pull-requests-🗂️). Web3 Onboard does not require a wallet to be a part of the main code, so a separate wallet module can be created without any changes to the Web3 Onboard codebase. Your PR must include a detailed README for the package, keeping in mind that this README is the the first point of contact for dapp developers looking to implement your wallet.
4545

4646
Please also include updates to documentation in your PR. Refer to the [docs contributions section](#documentation-contributions-📄) and the PR template docs checklist.
4747

@@ -69,7 +69,7 @@ PRs for adding/updating a wallet should include a README (new or updated) for th
6969

7070
[See here for an example of a docs pull request.](https://github.com/blocknative/web3-onboard/pull/1544/files)
7171

72-
We highly encourage the community to help us improve the web3-onboard docs! If you have any questions don't hesitate to reach out.
72+
We highly encourage the community to help us improve the Web3 Onboard docs! If you have any questions don't hesitate to [reach out](https://discord.com/invite/KZaBVME).
7373

7474
## Feedback 💬
7575

0 commit comments

Comments
 (0)