Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 2.22.0 #1696

Merged
merged 48 commits into from
May 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
96b0290
Release 2.21.3 (develop) (#1656)
Adamj1232 Apr 21, 2023
56be08e
Merge pull request #1658 from blocknative/release/2.21.3
Adamj1232 Apr 21, 2023
7ec0ab9
Update react hooks docs re usage of apiKey (#1668)
Adamj1232 May 1, 2023
e39b412
update supported networks svg
gesquinca May 2, 2023
9b017d5
fix indentation
gesquinca May 2, 2023
10c7cc5
Merge pull request #1669 from blocknative/ge-docs-graphic-update
gesquinca May 2, 2023
594dc17
FEATURE: Add cede.store wallet package (#1667)
0xnikter May 2, 2023
0de1d90
Release 2.21.4 (develop) (#1671)
leightkt May 2, 2023
d7d89f8
Release 2.21.4 (docs) (#1672)
leightkt May 2, 2023
0dcbad8
Reorder supported chains within the docs site (#1676)
Adamj1232 May 3, 2023
c101049
Update cede and WC docs (#1681)
Adamj1232 May 4, 2023
09d228c
add webpack-dev-server to dependencies (#1680)
leightkt May 5, 2023
5153729
Feat: Secondary Token Balances (#1679)
Adamj1232 May 8, 2023
2a0b2b3
Fix: Walletconnet - wallet switching chains and handling int and hex …
Adamj1232 May 8, 2023
587a6e6
Update HeroSection.svelte (#1685)
laurencedelisle May 8, 2023
22428ce
Update the core version within vue and react projects (#1686)
Adamj1232 May 8, 2023
3de448a
Playwright (#1609)
leightkt May 8, 2023
85f16b8
change scripts loaded for dev server, fix walletConnect, update webpa…
leightkt May 9, 2023
01d8044
Update FeaturesSection.svelte (#1684)
laurencedelisle May 9, 2023
8de19ec
Fix: Secondary Token Symbol fetch and docs (#1690)
Adamj1232 May 9, 2023
ec312fd
Add changes to docs to Develop (#1693)
Adamj1232 May 9, 2023
4899a21
Partial Docs release (#1692)
Adamj1232 May 9, 2023
27018dc
added bn icon to docs account center
Adamj1232 May 9, 2023
554897d
Add secondaryToken to docs AC - USDC
Adamj1232 May 9, 2023
05d2d7f
Handle merge conflicts
Adamj1232 May 9, 2023
88b7e00
Handle conflicts
Adamj1232 May 9, 2023
2c2c3b0
Yarn it
Adamj1232 May 9, 2023
1d91dcc
Fix: i18n type update (#1698)
leightkt May 9, 2023
9b4c564
Merge in develop
Adamj1232 May 9, 2023
5189a27
Remove cede file from wallets group
Adamj1232 May 9, 2023
6053661
Fix: web3auth publish flow for latest deps (#1701)
Adamj1232 May 10, 2023
0caf87f
Merge in dev
Adamj1232 May 10, 2023
c441e90
Update build configs for latest web3auth
Adamj1232 May 10, 2023
2ba8d26
Add frame connector (#1700)
goosewobbler May 10, 2023
d66af8c
add frame and yarn
leightkt May 10, 2023
21deff6
add '@web3-onboard/frame' to latest scripts
leightkt May 10, 2023
cb2942c
Add Frame to docs script
Adamj1232 May 10, 2023
17ae919
update script
Adamj1232 May 10, 2023
717eab3
reset frame package version
leightkt May 10, 2023
1e45e7d
Merge branch 'release/2.22.0' of github.com:blocknative/web3-onboard …
Adamj1232 May 10, 2023
6031222
Add check for Frame
Adamj1232 May 10, 2023
eb76063
add error message for frame
leightkt May 10, 2023
00ed708
reword error message
leightkt May 10, 2023
cc619f8
Prettify frame index
Adamj1232 May 11, 2023
167eef4
Refactor Frame injected provider
Adamj1232 May 11, 2023
1ed4e1f
Cleanup updateSecondaryToken func
Adamj1232 May 11, 2023
02cf672
Prettirfy
Adamj1232 May 11, 2023
fe8dcfe
Small refactor to TP sim
Adamj1232 May 11, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 24 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,12 +93,14 @@ aliases:
- &create-npm-config
run:
name: Create NPM rc file
command: echo "//registry.npmjs.org/:_authToken=$npm_TOKEN" > .npmrc
command: echo "//registry.npmjs.org/:_authToken=$npm_TOKEN" > ~/.npmrc

- &publish-npm
run:
name: Publish package to NPM
command: npm publish --access public
command: |
npm config set //registry.npmjs.org/:_authToken=${npm_TOKEN}
npm publish --access public

- &publish-npm-tag-as-next
run:
Expand Down Expand Up @@ -195,6 +197,12 @@ jobs:
working_directory: ~/web3-onboard-monorepo/packages/injected
steps:
- node-build-steps
build-frame:
docker:
- image: cimg/node:16.13.1
working_directory: ~/web3-onboard-monorepo/packages/frame
steps:
- node-build-steps
build-keepkey:
docker:
- image: cimg/node:16.13.1
Expand Down Expand Up @@ -287,7 +295,7 @@ jobs:
- node-build-steps
build-web3auth:
docker:
- image: cimg/node:16.13.1
- image: cimg/node:16.18.1
working_directory: ~/web3-onboard-monorepo/packages/web3auth
steps:
- node-build-steps
Expand Down Expand Up @@ -419,6 +427,12 @@ jobs:
working_directory: ~/web3-onboard-monorepo/packages/injected
steps:
- node-staging-build-steps
build-staging-frame:
docker:
- image: cimg/node:16.13.1
working_directory: ~/web3-onboard-monorepo/packages/frame
steps:
- node-staging-build-steps
build-staging-keepkey:
docker:
- image: cimg/node:16.13.1
Expand Down Expand Up @@ -511,7 +525,7 @@ jobs:
- node-staging-build-steps
build-staging-web3auth:
docker:
- image: cimg/node:16.13.1
- image: cimg/node:16.18.1
working_directory: ~/web3-onboard-monorepo/packages/web3auth
steps:
- node-staging-build-steps
Expand Down Expand Up @@ -645,6 +659,12 @@ workflows:
<<: *deploy_production_filters
- build-staging-injected:
<<: *deploy_staging_filters
frame:
jobs:
- build-frame:
<<: *deploy_production_filters
- build-staging-frame:
<<: *deploy_staging_filters
keepkey:
jobs:
- build-keepkey:
Expand Down Expand Up @@ -837,4 +857,3 @@ workflows:
<<: *deploy_production_filters
- build-staging-cede-store:
<<: *deploy_staging_filters

1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ For full documentation, check out the README.md for each package or the [docs pa
- [Frontier](packages/frontier/README.md)
- [XDEFI](packages/xdefi/README.md)
- [Infinity Wallet](packages/infinity-wallet/README.md)
- [Frame](packages/frame/README.md)

**Hardware Wallets**

Expand Down
Binary file added assets/account-center-example.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
56 changes: 28 additions & 28 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
"check:watch": "svelte-check --tsconfig ./tsconfig.json --watch",
"lint": "prettier --check --plugin-search-dir=. . && eslint .",
"format": "prettier --write --plugin-search-dir=. .",
"w3o-latest-prod": "yarn add '@web3-onboard/coinbase' '@web3-onboard/core' '@web3-onboard/dcent' '@web3-onboard/enkrypt' '@web3-onboard/fortmatic' '@web3-onboard/gas' '@web3-onboard/gnosis' '@web3-onboard/infinity-wallet' '@web3-onboard/injected-wallets' '@web3-onboard/keepkey' '@web3-onboard/keystone' '@web3-onboard/ledger' '@web3-onboard/magic' '@web3-onboard/mew-wallet' '@web3-onboard/portis' '@web3-onboard/sequence' '@web3-onboard/taho' '@web3-onboard/torus' '@web3-onboard/transaction-preview' '@web3-onboard/trezor' '@web3-onboard/trust' '@web3-onboard/uauth' '@web3-onboard/walletconnect' '@web3-onboard/web3auth' '@web3-onboard/xdefi'",
"w3o-latest-alpha": "yarn add '@web3-onboard/coinbase@next' '@web3-onboard/core@next' '@web3-onboard/dcent@next' '@web3-onboard/enkrypt@next' '@web3-onboard/fortmatic@next' '@web3-onboard/gas@next' '@web3-onboard/gnosis@next' '@web3-onboard/infinity-wallet@next' '@web3-onboard/injected-wallets@next' '@web3-onboard/keepkey@next' '@web3-onboard/keystone@next' '@web3-onboard/ledger@next' '@web3-onboard/magic@next' '@web3-onboard/mew-wallet@next' '@web3-onboard/portis@next' '@web3-onboard/sequence@next' '@web3-onboard/taho@next' '@web3-onboard/torus@next' '@web3-onboard/transaction-preview@next' '@web3-onboard/trezor@next' '@web3-onboard/trust@next' '@web3-onboard/uauth@next' '@web3-onboard/walletconnect@next' '@web3-onboard/web3auth@next' '@web3-onboard/xdefi@next'"
"w3o-latest-prod": "yarn add '@web3-onboard/coinbase' '@web3-onboard/core' '@web3-onboard/dcent' '@web3-onboard/enkrypt' '@web3-onboard/fortmatic' '@web3-onboard/gas' '@web3-onboard/gnosis' '@web3-onboard/infinity-wallet' '@web3-onboard/injected-wallets' '@web3-onboard/keepkey' '@web3-onboard/keystone' '@web3-onboard/ledger' '@web3-onboard/magic' '@web3-onboard/mew-wallet' '@web3-onboard/portis' '@web3-onboard/sequence' '@web3-onboard/taho' '@web3-onboard/torus' '@web3-onboard/transaction-preview' '@web3-onboard/trezor' '@web3-onboard/trust' '@web3-onboard/uauth' '@web3-onboard/walletconnect' '@web3-onboard/web3auth' '@web3-onboard/xdefi' '@web3-onboard/frame'",
"w3o-latest-alpha": "yarn add '@web3-onboard/coinbase@next' '@web3-onboard/core@next' '@web3-onboard/dcent@next' '@web3-onboard/enkrypt@next' '@web3-onboard/fortmatic@next' '@web3-onboard/gas@next' '@web3-onboard/gnosis@next' '@web3-onboard/infinity-wallet@next' '@web3-onboard/injected-wallets@next' '@web3-onboard/keepkey@next' '@web3-onboard/keystone@next' '@web3-onboard/ledger@next' '@web3-onboard/magic@next' '@web3-onboard/mew-wallet@next' '@web3-onboard/portis@next' '@web3-onboard/sequence@next' '@web3-onboard/taho@next' '@web3-onboard/torus@next' '@web3-onboard/transaction-preview@next' '@web3-onboard/trezor@next' '@web3-onboard/trust@next' '@web3-onboard/uauth@next' '@web3-onboard/walletconnect@next' '@web3-onboard/web3auth@next' '@web3-onboard/xdefi@next' '@web3-onboard/frame'"
},
"devDependencies": {
"@algolia/client-search": "^4.14.2",
Expand Down Expand Up @@ -56,32 +56,32 @@
},
"type": "module",
"dependencies": {
"@web3-onboard/cede-store": "^2.0.0-alpha.1",
"@web3-onboard/coinbase": "^2.2.2",
"@web3-onboard/core": "^2.17.0-alpha.1",
"@web3-onboard/dcent": "^2.2.5",
"@web3-onboard/enkrypt": "^2.0.2",
"@web3-onboard/fortmatic": "^2.0.17",
"@web3-onboard/gas": "^2.1.6",
"@web3-onboard/gnosis": "^2.1.8",
"@web3-onboard/infinity-wallet": "^2.0.2",
"@web3-onboard/injected-wallets": "^2.8.5-alpha.1",
"@web3-onboard/keepkey": "^2.3.5",
"@web3-onboard/keystone": "^2.3.5",
"@web3-onboard/ledger": "^2.4.4",
"@web3-onboard/magic": "^2.1.5",
"@web3-onboard/mew-wallet": "^2.0.2",
"@web3-onboard/portis": "^2.1.5",
"@web3-onboard/sequence": "^2.0.6",
"@web3-onboard/taho": "^2.0.2",
"@web3-onboard/torus": "^2.2.3",
"@web3-onboard/transaction-preview": "^2.0.6",
"@web3-onboard/trezor": "^2.4.0-alpha.1",
"@web3-onboard/trust": "^2.0.2",
"@web3-onboard/uauth": "^2.0.3",
"@web3-onboard/walletconnect": "^2.3.6-alpha.1",
"@web3-onboard/web3auth": "^2.2.1",
"@web3-onboard/xdefi": "^2.0.2",
"@web3-onboard/cede-store": "^2.0.1-alpha.1",
"@web3-onboard/coinbase": "^2.2.3-alpha.2",
"@web3-onboard/core": "^2.18.0-alpha.3",
"@web3-onboard/dcent": "^2.2.6-alpha.2",
"@web3-onboard/enkrypt": "^2.0.3-alpha.2",
"@web3-onboard/fortmatic": "^2.0.18-alpha.2",
"@web3-onboard/frame": "2.21.2-alpha.1",
"@web3-onboard/gas": "^2.1.7-alpha.2",
"@web3-onboard/gnosis": "^2.1.9-alpha.2",
"@web3-onboard/infinity-wallet": "^2.0.3-alpha.2",
"@web3-onboard/injected-wallets": "^2.8.6-alpha.2",
"@web3-onboard/keepkey": "^2.3.6-alpha.2",
"@web3-onboard/keystone": "^2.3.6-alpha.2",
"@web3-onboard/ledger": "^2.4.5-alpha.2",
"@web3-onboard/magic": "^2.1.6-alpha.2",
"@web3-onboard/mew-wallet": "^2.0.3-alpha.2",
"@web3-onboard/portis": "^2.1.6-alpha.2",
"@web3-onboard/sequence": "^2.0.7-alpha.2",
"@web3-onboard/taho": "^2.0.3-alpha.2",
"@web3-onboard/torus": "^2.2.4-alpha.2",
"@web3-onboard/transaction-preview": "^2.0.7-alpha.2",
"@web3-onboard/trezor": "^2.4.1-alpha.2",
"@web3-onboard/trust": "^2.0.3-alpha.2",
"@web3-onboard/uauth": "^2.0.4-alpha.2",
"@web3-onboard/walletconnect": "^2.3.7-alpha.3",
"@web3-onboard/xdefi": "^2.0.3-alpha.2",
"animejs": "^3.2.1",
"bnc-sdk": "^4.6.6",
"ethers": "^5.7.0"
Expand Down
Binary file added docs/src/lib/assets/account-center-example.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions docs/src/lib/components/FeaturesSection.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<TextBlock
title={'Framework Agnostic'}
subtitle={'Support all your favorite frameworks.'}
text={'Use web3-onboard with any of your favorite Javascript libraries.'}
text={'Use Web3 Onboard with any of your favorite Javascript libraries.'}
>
<Flexbox --wrap="wrap">
<Button href="/docs" buttonStyle={'link'}>{'Learn More'}</Button>
Expand All @@ -47,7 +47,7 @@
<div class="flexbox">
<FeatureCard
title={'Minimal Dependencies'}
text={'All wallet dependencies are included in separate packages, so you only include the ones you want to use in your app.'}
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.'}
/>
<FeatureCard
title={'Dynamic Imports'}
Expand All @@ -71,7 +71,7 @@
<TextBlock
title={'Enable Multi-Wallet and Multi-Chain functionality with one library '}
subtitle={''}
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.'}
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.'}
>
<Flexbox --wrap="wrap">
<Button href="/docs" buttonStyle={'link'}>{'Learn More'}</Button>
Expand Down
2 changes: 1 addition & 1 deletion docs/src/lib/components/HeroSection.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<section style="background-image: url({heroBg});">
<div class="textblock">
<div class="title">{'Web3-Onboard'}</div>
<div class="title">{'Web3 Onboard'}</div>
<div class="text">
{'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.'}
</div>
Expand Down
2 changes: 1 addition & 1 deletion docs/src/lib/components/TestimonialSection.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<section>
<h1 class="text">
{"Who's using web3-onboard?"}
{"Who's using Web3 Onboard?"}
</h1>
<div>
<img src={TestimonialsGraphic} alt="Web3-Onboard-users">
Expand Down
2 changes: 1 addition & 1 deletion docs/src/lib/components/ThemeCustomizer.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@
<div id="image_drop_area">
<form class="drop-area-controls" on:submit|preventDefault={addURLToIFrame}>
<div>
Enter your website url or drag and drop a screenshot to preview web3-onboard on your site
Enter your website url or drag and drop a screenshot to preview Web3 Onboard on your site
</div>
<!-- <div>Then click color circles above to change the theme.</div> -->
<div class="website-input-row">
Expand Down
4 changes: 2 additions & 2 deletions docs/src/lib/components/ThemingSection.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
<div class="flexbox">
<TextBlock
title={'Themeable'}
subtitle={'Powerfull customization options for all your needs'}
text={'Style web3-onboard to fit into your existing designs, or pick from our pre-made themes.'}
subtitle={'Powerful customization options for all your needs'}
text={'Style Web3 Onboard to fit into your existing designs, or pick from our pre-made themes.'}
>
<Flexbox --wrap="wrap">
<Button href="/docs" buttonStyle={'link'}>{'Learn More'}</Button>
Expand Down
26 changes: 26 additions & 0 deletions docs/src/lib/components/icons/blocknative-icon.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
export default `<svg width="56" height="56" viewBox="0 0 56 56" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect width="56" height="56" rx="8" fill="#262A3D"/>
<g clip-path="url(#clip0_15747_103507)">
<path d="M20.6176 35.9801L16.0142 27.9949H25.2218L29.826 35.9801H20.6176Z" fill="#262A3D"/>
<path d="M20.6176 35.9801L16.0142 27.9949H25.2218L29.826 35.9801H20.6176Z" fill="white"/>
<path d="M25.2218 27.9947H16.0142L20.6176 20.0095H29.826L25.2218 27.9947Z" fill="url(#paint0_linear_15747_103507)"/>
<path d="M34.4302 27.9948L29.826 20.0096H20.6176L16.0142 12.0244H34.4302L43.6379 27.9948H34.4302Z" fill="#262A3D"/>
<path d="M34.4302 27.9948L29.826 20.0096H20.6176L16.0142 12.0244H34.4302L43.6379 27.9948H34.4302Z" fill="white"/>
<path d="M34.4302 43.9652H16.0142L20.6176 35.9801H29.826L34.4302 27.9949H43.6379L34.4302 43.9652Z" fill="url(#paint1_linear_15747_103507)"/>
</g>
<defs>
<linearGradient id="paint0_linear_15747_103507" x1="16.0142" y1="24.0021" x2="29.826" y2="24.0021" gradientUnits="userSpaceOnUse">
<stop stop-color="#55CCFE"/>
<stop offset="1" stop-color="#5E93EF"/>
</linearGradient>
<linearGradient id="paint1_linear_15747_103507" x1="76.5102" y1="5214.05" x2="10391.8" y2="5214.05" gradientUnits="userSpaceOnUse">
<stop stop-color="#55CCFE"/>
<stop offset="1" stop-color="#5E93EF"/>
</linearGradient>
<clipPath id="clip0_15747_103507">
<rect width="27.6667" height="32" fill="white" transform="translate(16 12)"/>
</clipPath>
</defs>
</svg>

`
26 changes: 17 additions & 9 deletions docs/src/lib/services/onboard.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import blocknativeIcon from '../components/icons/blocknative-icon'

let onboard
const getOnboard = async (passedTheme) => {
const key = 'svelteness::color-scheme'
Expand Down Expand Up @@ -47,10 +49,10 @@ const intiOnboard = async (theme) => {
const { default: enkryptModule } = await import('@web3-onboard/enkrypt')
const { default: mewWalletModule } = await import('@web3-onboard/mew-wallet')
const { default: torusModule } = await import('@web3-onboard/torus')
const { default: web3authModule } = await import('@web3-onboard/web3auth')
const { default: uauthModule } = await import('@web3-onboard/uauth')
const { default: trustModule } = await import('@web3-onboard/trust')
const { default: xdefiModule } = await import('@web3-onboard/xdefi')
const { default: frameModule } = await import('@web3-onboard/frame')
const INFURA_ID = '8b60d52405694345a99bcb82e722e0af'

const injected = injectedModule()
Expand All @@ -76,6 +78,7 @@ const intiOnboard = async (theme) => {
const torus = torusModule()
const trust = trustModule()
const xdefi = xdefiModule()
const frame = frameModule()
const cede = cedeModule()

const portis = portisModule({
Expand All @@ -86,11 +89,6 @@ const intiOnboard = async (theme) => {
apiKey: 'pk_test_886ADCAB855632AA'
})

const web3auth = web3authModule({
clientId:
'DJuUOKvmNnlzy6ruVgeWYWIMKLRyYtjYa9Y10VCeJzWZcygDlrYLyXsBQjpJ2hxlBO9dnl8t9GmAC2qOP5vnIGo'
})

const trezorOptions = {
email: 'test@test.com',
appUrl: 'https://www.blocknative.com'
Expand Down Expand Up @@ -123,7 +121,6 @@ const intiOnboard = async (theme) => {
xdefi,
torus,
sequence,
web3auth,
dcent,
enkrypt,
mewWallet,
Expand All @@ -132,14 +129,24 @@ const intiOnboard = async (theme) => {
keystone,
keepkey,
portis,
frame,
infinityWallet
],
chains: [
{
id: '0x1',
token: 'ETH',
label: 'Ethereum Mainnet',
rpcUrl: `https://mainnet.infura.io/v3/${INFURA_ID}`
rpcUrl: `https://mainnet.infura.io/v3/${INFURA_ID}`,
secondaryTokens: [
{
address: '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48',
icon: `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M8 16C12.4183 16 16 12.4183 16 8C16 3.58172 12.4183 0 8 0C3.58172 0 0 3.58172 0 8C0 12.4183 3.58172 16 8 16Z" fill="#2775C9"/>
<path d="M7.875 13.75C4.63 13.75 2 11.12 2 7.875C2 4.63 4.63 2 7.875 2C11.12 2 13.75 4.63 13.75 7.875C13.75 9.43315 13.131 10.9275 12.0293 12.0293C10.9275 13.131 9.43315 13.75 7.875 13.75ZM7.525 5.695C7.20355 5.71094 6.89968 5.84646 6.67303 6.07496C6.44638 6.30346 6.31333 6.60843 6.3 6.93C6.3 7.535 6.67 7.93 7.455 8.095L8.005 8.225C8.54 8.35 8.76 8.53 8.76 8.835C8.76 9.14 8.375 9.44 7.875 9.44C7.6974 9.45628 7.5188 9.42225 7.35964 9.34178C7.20048 9.26132 7.06718 9.13767 6.975 8.985C6.94769 8.92707 6.90457 8.87803 6.85061 8.84353C6.79665 8.80903 6.73404 8.79048 6.67 8.79H6.375C6.35231 8.7942 6.33068 8.80285 6.31135 8.81544C6.29202 8.82804 6.27537 8.84433 6.26236 8.86338C6.24935 8.88243 6.24023 8.90387 6.23554 8.92646C6.23084 8.94905 6.23066 8.97234 6.235 8.995C6.30686 9.28828 6.47393 9.54945 6.71007 9.73764C6.94621 9.92583 7.23808 10.0304 7.54 10.035V10.455C7.54 10.5485 7.57714 10.6381 7.64324 10.7043C7.70935 10.7704 7.79901 10.8075 7.8925 10.8075C7.98599 10.8075 8.07565 10.7704 8.14176 10.7043C8.20786 10.6381 8.245 10.5485 8.245 10.455V10.03C8.58639 10.0261 8.91279 9.88913 9.15467 9.64818C9.39655 9.40724 9.53481 9.08137 9.54 8.74C9.54 8.105 9.175 7.74 8.31 7.555L7.81 7.445C7.31 7.32 7.075 7.155 7.075 6.875C7.075 6.595 7.375 6.285 7.875 6.285C8.03247 6.26855 8.19133 6.29804 8.3324 6.36991C8.47348 6.44178 8.59073 6.55295 8.67 6.69C8.70213 6.75844 8.75301 6.81638 8.81672 6.85708C8.88044 6.89779 8.95439 6.91961 9.03 6.92H9.265C9.31843 6.90693 9.3646 6.87342 9.39358 6.82667C9.42257 6.77992 9.43205 6.72367 9.42 6.67C9.35226 6.39922 9.20073 6.15674 8.98704 5.97717C8.77335 5.7976 8.5084 5.69009 8.23 5.67V5.325C8.23 5.23151 8.19286 5.14185 8.12675 5.07574C8.06065 5.00964 7.97099 4.9725 7.8775 4.9725C7.78401 4.9725 7.69435 5.00964 7.62824 5.07574C7.56214 5.14185 7.525 5.23151 7.525 5.325V5.695ZM3.47 7.875C3.47057 8.79603 3.76049 9.69361 4.29879 10.441C4.8371 11.1883 5.59659 11.7477 6.47 12.04H6.54C6.59967 12.04 6.6569 12.0163 6.6991 11.9741C6.74129 11.9319 6.765 11.8747 6.765 11.815V11.71C6.76516 11.6169 6.73769 11.5259 6.68606 11.4485C6.63444 11.371 6.56098 11.3106 6.475 11.275C5.7948 11.0004 5.21217 10.5289 4.80189 9.92084C4.39161 9.3128 4.1724 8.59602 4.1724 7.8625C4.1724 7.12898 4.39161 6.4122 4.80189 5.80416C5.21217 5.19611 5.7948 4.72455 6.475 4.45C6.56058 4.41524 6.63387 4.35577 6.68552 4.27919C6.73717 4.2026 6.76484 4.11237 6.765 4.02V3.905C6.76532 3.87123 6.7575 3.83789 6.74219 3.80779C6.72689 3.77769 6.70455 3.75173 6.67707 3.7321C6.64959 3.71248 6.61779 3.69976 6.58435 3.69505C6.55092 3.69033 6.51684 3.69374 6.485 3.705C5.60798 3.99505 4.84465 4.55405 4.30342 5.30262C3.76218 6.05119 3.47057 6.95126 3.47 7.875ZM12.28 7.875C12.2784 6.95482 11.988 6.05836 11.4497 5.31201C10.9115 4.56566 10.1526 4.00707 9.28 3.715H9.205C9.14267 3.715 9.0829 3.73976 9.03883 3.78383C8.99476 3.8279 8.97 3.88767 8.97 3.95V4.025C8.97202 4.12143 9.00188 4.21523 9.056 4.29507C9.11012 4.37492 9.18617 4.4374 9.275 4.475C9.95365 4.75036 10.5347 5.22195 10.9438 5.82942C11.3529 6.43689 11.5714 7.15262 11.5714 7.885C11.5714 8.61738 11.3529 9.33311 10.9438 9.94058C10.5347 10.5481 9.95365 11.0196 9.275 11.295C9.18787 11.333 9.11337 11.395 9.06024 11.4738C9.0071 11.5527 8.97754 11.645 8.975 11.74V11.825C8.97543 11.8621 8.98462 11.8985 9.00182 11.9313C9.01902 11.9642 9.04375 11.9925 9.07398 12.0139C9.10421 12.0354 9.13909 12.0494 9.17576 12.0548C9.21244 12.0602 9.24987 12.0568 9.285 12.045C10.1583 11.7515 10.9173 11.1911 11.4547 10.4428C11.9921 9.69451 12.2808 8.79627 12.28 7.875Z" fill="white"/>
</svg>`
}
]
},
{
id: '0x5',
Expand Down Expand Up @@ -197,7 +204,8 @@ const intiOnboard = async (theme) => {
}
],
appMetadata: {
name: 'Documentation',
name: 'Web3 Onboard Documentation',
icon: blocknativeIcon,
description: 'Example showcasing how to connect a wallet.',
recommendedInjectedWallets: [
{ name: 'MetaMask', url: 'https://metamask.io' },
Expand Down
Loading