Skip to content

Commit 558a954

Browse files
committed
Merge branch 'main' into sdk-connect
2 parents 088d266 + 77ba0f1 commit 558a954

File tree

8 files changed

+305
-330
lines changed

8 files changed

+305
-330
lines changed

docusaurus.config.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -412,6 +412,12 @@ const config = {
412412
},
413413
},
414414
},
415+
announcementBar: {
416+
id: 'support_us',
417+
content:
418+
'<span style="font-weight: 600">NEW!</span> Build embedded wallets with MetaMask using the <a target="_blank" rel="noopener noreferrer" href="https://web3auth.io/docs">Embedded Wallets SDK (Web3Auth)</a>. Instantly onboard users with social logins, passkeys, and more.',
419+
isCloseable: false,
420+
},
415421
}),
416422
}
417423

package-lock.json

Lines changed: 249 additions & 322 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"@mdx-js/react": "^3.1.0",
4040
"@metamask/design-tokens": "^7.1.0",
4141
"@metamask/eth-sig-util": "^7.0.3",
42-
"@metamask/profile-sync-controller": "^11.0.1",
42+
"@metamask/profile-sync-controller": "^16.0.0",
4343
"@metamask/sdk": "^0.32.0",
4444
"@rjsf/core": "^5.24.10",
4545
"@rjsf/utils": "^5.24.8",

sdk/connect/react-native.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -204,9 +204,6 @@ function App() {
204204
}
205205
```
206206

207-
## Examples
207+
## Example
208208

209-
See the following examples on GitHub for more information:
210-
211-
- [React Native demo](https://github.com/MetaMask/metamask-sdk/tree/main/packages/examples/reactNativeDemo)
212-
- [Expo demo](https://github.com/MetaMask/metamask-sdk/tree/main/packages/examples/expo-demo)
209+
See the [React Native demo](https://github.com/MetaMask/metamask-sdk/tree/main/packages/examples/reactNativeDemo) on GitHub for more information.

sdk/index.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@ With the SDK, you can:
1515

1616
[Get started by connecting to MetaMask.](connect/javascript-wagmi.md)
1717

18+
:::tip Build embedded wallet experiences that work seamlessly with MetaMask
19+
Introducing our latest [Embedded Wallets SDK](https://web3auth.io/docs) (previously Web3Auth), you can now onboard users
20+
instantly and design seamless onchain experiences with social logins, passkeys and more.
21+
:::
22+
1823
## Why use the SDK?
1924

2025
The benefits of using MetaMask SDK include the following:

services/how-to/get-testnet-tokens.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Use [testnet endpoints](../get-started/endpoints.md) during development and init
1919
|-------------|-------------------|-------------------------------|
2020
| [Arbitrum Sepolia](https://docs.arbitrum.io/launch-orbit-chain/how-tos/add-orbit-chain-to-bridge-ui)| [Arbitrum Sepolia faucet](https://faucet.quicknode.com/arbitrum/sepolia)| [Arbitrum bridge](https://bridge.arbitrum.io/)|
2121
| [Avalanche Fuji](https://docs.avax.network/learn/networks/fuji-testnet)| [Avalanche Fuji faucet](https://faucet.avax.network)| [Avalanche bridge](https://bridge.avax.network/)|
22-
| [Base Sepolia](https://docs.base.org/docs/using-base/)| [Base Sepolia faucet](https://faucet.quicknode.com/base/sepolia)| [Base bridge](https://bridge.base.org/deposit)|
22+
| [Base Sepolia](https://docs.base.org/chain/using-base#metamask-1)| [Base Sepolia faucet](https://faucet.quicknode.com/base/sepolia)| [Base bridge](https://bridge.base.org/deposit)|
2323
| [Blast Sepolia](https://docs.blast.io/using-blast)| [Blast Sepolia faucet](https://faucet.quicknode.com/blast/sepolia)| |
2424
| [Binance Smart Chain (BSC) Sepolia](https://academy.binance.com/en/articles/connecting-metamask-to-binance-smart-chain)| [BSC Sepolia faucet](https://www.bnbchain.org/en/testnet-faucet)| [BSC bridge](https://www.bnbchain.org/en/bnb-chain-bridges)|
2525
| [Celo Alfajores](https://docs.celo.org/getting-started/alfajores-testnet)| [Celo Alfajores faucet](https://faucet.celo.org/alfajores)| [Celo bridge](https://docs.celo.org/protocol/bridge#token-bridges)|

src/pages/index.tsx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,13 @@ export default function Home(): JSX.Element {
3333
"Use the Wallet API to integrate your dapp with MetaMask. Connect to the MetaMask browser extension and interact with your users' accounts.",
3434
href: '/wallet',
3535
theme: '',
36+
},
37+
{
38+
title: 'Embedded Wallets',
39+
description:
40+
'Use the Embedded Wallets SDK (Web3Auth) to onboard power users and first-time users in seconds via social logins, passkeys, or by integrating your own authentication providers.',
41+
href: 'https://web3auth.io/docs',
42+
theme: '',
3643
},
3744
{
3845
title: 'Snaps',

src/scss/custom.scss

Lines changed: 34 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -768,4 +768,37 @@ ol {
768768
.resources-dropdown-menu a {
769769
width: 100%; // Makes each box take full width of dropdown
770770
}
771-
}
771+
}
772+
773+
div[class^='announcementBar_'] {
774+
font-family: var(--font-mm-centra);
775+
font-size: 1.4rem;
776+
padding: 1rem 2rem;
777+
text-align: center;
778+
border-bottom: 1px solid var(--general-gray-light);
779+
background-color: var(--developer-purple-light);
780+
color: var(--color-text);
781+
782+
a {
783+
color: var(--ifm-link-color);
784+
text-decoration: underline;
785+
font-weight: 500;
786+
787+
&:hover {
788+
color: var(--ifm-link-hover-color);
789+
}
790+
}
791+
792+
[data-theme='dark'] & {
793+
background-color: var(--developer-purple-light);
794+
color: var(--general-black);
795+
796+
a {
797+
color: var(--general-black);
798+
799+
&:hover {
800+
color: var(--developer-purple);
801+
}
802+
}
803+
}
804+
}

0 commit comments

Comments
 (0)