You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Release 2.21.3 (develop) (#1656) * Bump docs packages * Update package versions for release * Remove optional chain in trezor * add safeheron to injected package readme * add wallet as value to translate function in more areas of connect * package updates * add images * text update * Update packages/react/package.json Co-authored-by: Adam Carpenter <adamcarpenter86@gmail.com> * Update packages/vue/package.json Co-authored-by: Adam Carpenter <adamcarpenter86@gmail.com> * add screenshots to top level assets folder * update react pkg * fix merge conflict in react pkg * fix vue pkg --------- Co-authored-by: Kat Leight <leightkt@gmail.com> Co-authored-by: Kat Leight <33187102+leightkt@users.noreply.github.com> * Update react hooks docs re usage of apiKey (#1668) * update supported networks svg * fix indentation * FEATURE: Add cede.store wallet package (#1667) * FEATURE: Add cede.store wallet package * Formatting and add to docs site * DOCS: Add cede.store detailed documentation with an example flow * Update formatting - looks good! --------- Co-authored-by: Adam Carpenter <adamcarpenter86@gmail.com> * Release 2.21.4 (develop) (#1671) * Update cede and WC docs (#1681) * add webpack-dev-server to dependencies (#1680) * Feat: Secondary Token Balances (#1679) * RPC working from hackathon * Working as expected for setting balances in state, no rendering yet * Display but need to be abstracted and cleaned * Added layout and styling for secondary tokens along with rework of maximized account center layout, still need docs updates for secondary tokens * Fix compiler err * Add docks for secondaryTokens and screenshots to readme and docs of AC * Fix versioning of common * Bump common * Bump all versions required * Prettify common validation * Fix: Walletconnet - wallet switching chains and handling int and hex chainIds (#1682) * Wallet switching chains now working properly and setting required chains to the config chains in w3o * Fix web3auth ci build * Update HeroSection.svelte (#1685) update title from web3-onboard to Web3 Onboard. When not referencing code we should stick to no dash * Update the core version within vue and react projects (#1686) * Playwright (#1609) * change scripts loaded for dev server, fix walletConnect, update webpack config, fix accounts error on no wallet connection (#1689) * Update FeaturesSection.svelte (#1684) * Update title Web3-Onboard to Web3 Onboard When not referencing the code, we should always use Web3 Onboard. When referencing code, we use web3-onboard. * Update FeaturesSection.svelte Update FeaturesSection to include the core package size minified. * Update docs/src/lib/components/HeroSection.svelte --------- Co-authored-by: Adam Carpenter <adamcarpenter86@gmail.com> * Fix: Secondary Token Symbol fetch and docs (#1690) * Fixing * Update SecondaryToken type * Add max of 5 tokens to secondaryTokens, add error handling in html, add docs update * Bump all package versions * Revert node version changes for web3auth * Remove cede from wallets group * Remove merge conflict in yarn.lock * Update packages/cede-store/README.md * Fix image path in docs * Update Account Center example with a better shot * Spelling & web3 onboard cohesion update (#1694) updating some spelling and web3 onboard referneces * Update account center shot to show multiple wallets connected * Update account center shot to show multiple wallets connected --------- Co-authored-by: Kat Leight <leightkt@gmail.com> Co-authored-by: Kat Leight <33187102+leightkt@users.noreply.github.com> Co-authored-by: Gustavo Esquinca <g.esq.ca@gmail.com> Co-authored-by: Nikita TEREKHOV <57397713+neeeekitos@users.noreply.github.com> Co-authored-by: Laurence <53497147+laurencedelisle@users.noreply.github.com>
text={'All wallet dependencies are included in separate packages, so you only include the ones you want to use in your app.'}
50
+
text={'All wallet dependencies are included in separate packages, so you only include the ones you want to use in your app. Core package is only 815kb minified.'}
51
51
/>
52
52
<FeatureCard
53
53
title={'Dynamic Imports'}
@@ -71,7 +71,7 @@
71
71
<TextBlock
72
72
title={'Enable Multi-Wallet and Multi-Chain functionality with one library '}
73
73
subtitle={''}
74
-
text={'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.'}
74
+
text={'Web3Onboard 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, Web3Onboard saves you time and headaches.'}
Copy file name to clipboardExpand all lines: docs/src/lib/components/HeroSection.svelte
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@
8
8
9
9
<sectionstyle="background-image: url({heroBg});">
10
10
<divclass="textblock">
11
-
<divclass="title">{'Web3-Onboard'}</div>
11
+
<divclass="title">{'Web3Onboard'}</div>
12
12
<divclass="text">
13
13
{'Open-source, framework-agnostic JavaScript library to onboard users to web3 apps. Help your users transact with ease by enabling wallet connection, real-time transaction states, and more.'}
publicRpcUrl?:string// an optional public RPC used when adding a new chain config to the wallet
141
142
blockExplorerUrl?:string// also used when adding a new config to the wallet
143
+
secondaryTokens?:SecondaryTokens[] // An optional array of tokens (max of 5) to be available to the dapp in the app state object per wallet within the wallet account and displayed in Account Center (if enabled)
144
+
}
145
+
146
+
interfaceSecondaryTokens {
147
+
/**
148
+
* Required - The onchain address of the token associated
149
+
* with the chain it is entered under
150
+
*/
151
+
address:string
152
+
/**
153
+
* An optional svg or url string for the icon of the token.
154
+
* If an svg is used ensure the height/width is set to 100%
155
+
*/
156
+
icon?:string
142
157
}
143
158
```
144
159
@@ -255,18 +270,18 @@ type i18nOptions = Record<Locale, i18n>
255
270
To see a list of all of the text values that can be internationalized or replaced, check out the [default en file](https://github.com/blocknative/web3-onboard/blob/develop/packages/core/src/i18n/en.json).
256
271
Onboard is using the [ICU syntax](https://formatjs.io/docs/core-concepts/icu-syntax/) for formatting under the hood.
257
272
258
-
For example, to update the connect interface language for Metamask, while giving a different message for other wallets, you can include the following:
273
+
For example, to update the connect interface language for Metamask, while giving a different message for other wallets, you can include the following:
259
274
260
275
```typescript
261
276
i18n: {
262
-
en: {
263
-
connect: {
264
-
connectingWallet: {
265
-
paragraph:"{wallet, select, MetaMask {{wallet} can only present one account, so connect just the one account you want.} other {Please connect to all of your accounts in {wallet}.}}"
266
-
}
267
-
}
277
+
en: {
278
+
connect: {
279
+
connectingWallet: {
280
+
paragraph:'{wallet, select, MetaMask {{wallet} can only present one account, so connect just the one account you want.} other {Please connect to all of your accounts in {wallet}.}}'
268
281
}
269
282
}
283
+
}
284
+
}
270
285
```
271
286
272
287
MetaMask message:
@@ -275,7 +290,7 @@ MetaMask message:
275
290
All other wallets:
276
291
<img src="{customConnect1}" alt="Web3-Onboard connect wallet modal with custom message"/>
277
292
278
-
Default Message- with no i18n override:
293
+
Default Message- with no i18n override:
279
294
<img src="{customConnectDefault}" alt="Web3-Onboard connect wallet modal with default message"/>
280
295
281
296
---
@@ -340,6 +355,8 @@ type disableFontDownload = boolean // defaults to false
340
355
341
356
An object that defines whether the account center UI (default and minimal) is enabled and its position on the screen. Currently the account center is enabled for both desktop and mobile devices.
342
357
358
+
<img src="{accountCenter}" alt="Web3-Onboard Account Center example"/>
Copy file name to clipboardExpand all lines: docs/src/routes/docs/[...4]wallets/walletconnect.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Walletconnect
2
2
3
-
Wallet module for connecting Wallet Connect to web3-onboard
3
+
Wallet module for connecting WalletConnect to web3-onboard, currently supporting both v1 and v2.
4
4
5
5
:::admonition type=warning
6
6
_Not all Wallets support WalletConnect V2 currently. For an up to date list please see the [WalletConnect Explorer](https://explorer.walletconnect.com/?version=2)_
0 commit comments