Skip to content

Commit faa484b

Browse files
committed
fix more broken links
1 parent 53aeb53 commit faa484b

File tree

7 files changed

+89
-90
lines changed

7 files changed

+89
-90
lines changed

embedded-wallets/sdk/js/migration-guides/modal/v7-to-v10/external-wallets.mdx

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ description: Comprehensive guide for migrating Web3Auth external wallet adapters
44
sidebar_label: External Wallet Adapters Migration
55
---
66

7-
import Tabs from "@theme/Tabs";
8-
import TabItem from "@theme/TabItem";
7+
import Tabs from '@theme/Tabs'
8+
import TabItem from '@theme/TabItem'
99

1010
# Web3Auth v10 External Wallet Adapters Migration Guide
1111

@@ -26,35 +26,35 @@ wallets without manual setup.
2626
```typescript
2727
// remove-start
2828
// Individual wallet adapters in v7
29-
import { MetamaskAdapter } from "@web3auth/metamask-adapter";
30-
import { PhantomAdapter } from "@web3auth/phantom-adapter";
29+
import { MetamaskAdapter } from '@web3auth/metamask-adapter'
30+
import { PhantomAdapter } from '@web3auth/phantom-adapter'
3131
import {
3232
WalletConnectV2Adapter,
3333
getWalletConnectV2Settings,
34-
} from "@web3auth/wallet-connect-v2-adapter";
35-
import { WalletConnectModal } from "@walletconnect/modal";
34+
} from '@web3auth/wallet-connect-v2-adapter'
35+
import { WalletConnectModal } from '@walletconnect/modal'
3636

3737
// Manual adapter configuration
38-
const metamaskAdapter = new MetamaskAdapter();
39-
web3auth.configureAdapter(metamaskAdapter);
38+
const metamaskAdapter = new MetamaskAdapter()
39+
web3auth.configureAdapter(metamaskAdapter)
4040

41-
const phantomAdapter = new PhantomAdapter();
42-
web3auth.configureAdapter(phantomAdapter);
41+
const phantomAdapter = new PhantomAdapter()
42+
web3auth.configureAdapter(phantomAdapter)
4343

44-
const defaultWcSettings = await getWalletConnectV2Settings("eip155", ["1"], "PROJECT_ID");
44+
const defaultWcSettings = await getWalletConnectV2Settings('eip155', ['1'], 'PROJECT_ID')
4545
const walletConnectV2Adapter = new WalletConnectV2Adapter({
4646
adapterSettings: { qrcodeModal: WalletConnectModal, ...defaultWcSettings.adapterSettings },
4747
loginSettings: { ...defaultWcSettings.loginSettings },
48-
});
49-
web3auth.configureAdapter(walletConnectV2Adapter);
48+
})
49+
web3auth.configureAdapter(walletConnectV2Adapter)
5050

51-
await web3auth.initModal();
51+
await web3auth.initModal()
5252
// remove-end
5353

5454
// add-start
5555
// All external wallets are automatically detected via MIPD
5656
// No manual adapter configuration needed
57-
await web3auth.init();
57+
await web3auth.init()
5858
// add-end
5959
```
6060

embedded-wallets/sdk/js/migration-guides/modal/v7-to-v10/wallet-services.mdx

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ description: Comprehensive guide for migrating Web3Auth Wallet Services plugin f
44
sidebar_label: Wallet Services Migration
55
---
66

7-
import Tabs from "@theme/Tabs";
8-
import TabItem from "@theme/TabItem";
7+
import Tabs from '@theme/Tabs'
8+
import TabItem from '@theme/TabItem'
99

1010
# Web3Auth v10 Wallet Services Migration Guide
1111

@@ -24,34 +24,34 @@ these services directly into the main SDK.
2424

2525
```typescript
2626
// remove-start
27-
import { WalletServicesPlugin } from "@web3auth/wallet-services-plugin";
27+
import { WalletServicesPlugin } from '@web3auth/wallet-services-plugin'
2828

2929
const walletServicesPlugin = new WalletServicesPlugin({
3030
// plugin configuration options
31-
});
31+
})
3232

33-
web3auth.addPlugin(walletServicesPlugin);
34-
await web3auth.initModal();
33+
web3auth.addPlugin(walletServicesPlugin)
34+
await web3auth.initModal()
3535

3636
// Usage
37-
await walletServicesPlugin.showWalletUi();
38-
await walletServicesPlugin.showCheckout();
39-
await walletServicesPlugin.showWalletConnectScanner();
37+
await walletServicesPlugin.showWalletUi()
38+
await walletServicesPlugin.showCheckout()
39+
await walletServicesPlugin.showWalletConnectScanner()
4040
// remove-end
4141

4242
// add-start
43-
import { EVM_PLUGINS } from "@web3auth/modal";
43+
import { EVM_PLUGINS } from '@web3auth/modal'
4444

45-
await web3auth.init();
45+
await web3auth.init()
4646

4747
// Get the built-in wallet services plugin
48-
const walletServicesPlugin = web3auth.getPlugin(EVM_PLUGINS.WALLET_SERVICES);
48+
const walletServicesPlugin = web3auth.getPlugin(EVM_PLUGINS.WALLET_SERVICES)
4949

5050
// Usage (methods now require { show: true } parameter)
51-
await walletServicesPlugin.showWalletUi({ show: true });
52-
await walletServicesPlugin.showCheckout({ show: true });
53-
await walletServicesPlugin.showSwap({ show: true });
54-
await walletServicesPlugin.showWalletConnectScanner({ show: true });
51+
await walletServicesPlugin.showWalletUi({ show: true })
52+
await walletServicesPlugin.showCheckout({ show: true })
53+
await walletServicesPlugin.showSwap({ show: true })
54+
await walletServicesPlugin.showWalletConnectScanner({ show: true })
5555
// add-end
5656
```
5757

embedded-wallets/sdk/js/migration-guides/modal/v8-to-v10/external-wallets.mdx

Lines changed: 17 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
---
22
title: Migrating External Wallet Adapters from v8 to v10
3-
description:
4-
Comprehensive guide for migrating Web3Auth external wallet adapter configurations from v8 to v10.
3+
description: Comprehensive guide for migrating Web3Auth external wallet adapter configurations from v8 to v10.
54
sidebar_label: External Wallets Migration
65
---
76

8-
import Tabs from "@theme/Tabs";
9-
import TabItem from "@theme/TabItem";
7+
import Tabs from '@theme/Tabs'
8+
import TabItem from '@theme/TabItem'
109

1110
# Web3Auth v10 External Wallet Adapters Migration Guide
1211

@@ -27,32 +26,32 @@ wallets without manual setup.
2726
```typescript
2827
// remove-start
2928
// Individual wallet adapters
30-
import { MetamaskAdapter } from "@web3auth/metamask-adapter";
31-
import { PhantomAdapter } from "@web3auth/phantom-adapter";
32-
import { SolflareAdapter } from "@web3auth/solflare-adapter";
29+
import { MetamaskAdapter } from '@web3auth/metamask-adapter'
30+
import { PhantomAdapter } from '@web3auth/phantom-adapter'
31+
import { SolflareAdapter } from '@web3auth/solflare-adapter'
3332

3433
// Default adapter functions
35-
import { getDefaultExternalAdapters, getInjectedAdapters } from "@web3auth/default-evm-adapter";
34+
import { getDefaultExternalAdapters, getInjectedAdapters } from '@web3auth/default-evm-adapter'
3635

3736
// Manual adapter configuration
38-
const metamaskAdapter = new MetamaskAdapter();
39-
const phantomAdapter = new PhantomAdapter();
40-
web3auth.configureAdapter(metamaskAdapter);
41-
web3auth.configureAdapter(phantomAdapter);
37+
const metamaskAdapter = new MetamaskAdapter()
38+
const phantomAdapter = new PhantomAdapter()
39+
web3auth.configureAdapter(metamaskAdapter)
40+
web3auth.configureAdapter(phantomAdapter)
4241

4342
// Or using helper functions
44-
const adapters = await getDefaultExternalAdapters({ options: web3AuthOptions });
45-
adapters.forEach((adapter) => {
46-
web3auth.configureAdapter(adapter);
47-
});
43+
const adapters = await getDefaultExternalAdapters({ options: web3AuthOptions })
44+
adapters.forEach(adapter => {
45+
web3auth.configureAdapter(adapter)
46+
})
4847

49-
await web3auth.initModal();
48+
await web3auth.initModal()
5049
// remove-end
5150

5251
// add-start
5352
// All external wallets are automatically detected via MIPD
5453
// No manual adapter configuration needed
55-
await web3auth.init();
54+
await web3auth.init()
5655
// add-end
5756
```
5857

embedded-wallets/sdk/js/migration-guides/modal/v8-to-v10/wallet-services.mdx

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ description: Comprehensive guide for migrating Web3Auth Wallet Services plugin f
44
sidebar_label: Wallet Services Migration
55
---
66

7-
import Tabs from "@theme/Tabs";
8-
import TabItem from "@theme/TabItem";
7+
import Tabs from '@theme/Tabs'
8+
import TabItem from '@theme/TabItem'
99

1010
# Web3Auth v10 Wallet Services Migration Guide
1111

@@ -24,34 +24,34 @@ these services directly into the main SDK.
2424

2525
```typescript
2626
// remove-start
27-
import { WalletServicesPlugin } from "@web3auth/wallet-services-plugin";
27+
import { WalletServicesPlugin } from '@web3auth/wallet-services-plugin'
2828

2929
const walletServicesPlugin = new WalletServicesPlugin({
3030
// plugin configuration options
31-
});
31+
})
3232

33-
web3auth.addPlugin(walletServicesPlugin);
34-
await web3auth.initModal();
33+
web3auth.addPlugin(walletServicesPlugin)
34+
await web3auth.initModal()
3535

3636
// Usage
37-
await walletServicesPlugin.showWalletUi();
38-
await walletServicesPlugin.showCheckout();
39-
await walletServicesPlugin.showWalletConnectScanner();
37+
await walletServicesPlugin.showWalletUi()
38+
await walletServicesPlugin.showCheckout()
39+
await walletServicesPlugin.showWalletConnectScanner()
4040
// remove-end
4141

4242
// add-start
43-
import { EVM_PLUGINS } from "@web3auth/modal";
43+
import { EVM_PLUGINS } from '@web3auth/modal'
4444

45-
await web3auth.init();
45+
await web3auth.init()
4646

4747
// Get the built-in wallet services plugin
48-
const walletServicesPlugin = web3auth.getPlugin(EVM_PLUGINS.WALLET_SERVICES);
48+
const walletServicesPlugin = web3auth.getPlugin(EVM_PLUGINS.WALLET_SERVICES)
4949

5050
// Usage (methods now require { show: true } parameter)
51-
await walletServicesPlugin.showWalletUi({ show: true });
52-
await walletServicesPlugin.showCheckout({ show: true });
53-
await walletServicesPlugin.showSwap({ show: true });
54-
await walletServicesPlugin.showWalletConnectScanner({ show: true });
51+
await walletServicesPlugin.showWalletUi({ show: true })
52+
await walletServicesPlugin.showCheckout({ show: true })
53+
await walletServicesPlugin.showSwap({ show: true })
54+
await walletServicesPlugin.showWalletConnectScanner({ show: true })
5555
// add-end
5656
```
5757

embedded-wallets/sdk/js/migration-guides/modal/v9-to-v10/wallet-services.mdx

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ description: Comprehensive guide for migrating Web3Auth Wallet Services plugin f
44
sidebar_label: Wallet Services Migration
55
---
66

7-
import Tabs from "@theme/Tabs";
8-
import TabItem from "@theme/TabItem";
7+
import Tabs from '@theme/Tabs'
8+
import TabItem from '@theme/TabItem'
99

1010
# Web3Auth v10 Wallet Services Migration Guide
1111

@@ -24,34 +24,34 @@ these services directly into the main SDK.
2424

2525
```typescript
2626
// remove-start
27-
import { WalletServicesPlugin } from "@web3auth/wallet-services-plugin";
27+
import { WalletServicesPlugin } from '@web3auth/wallet-services-plugin'
2828

2929
const walletServicesPlugin = new WalletServicesPlugin({
3030
// plugin configuration options
31-
});
31+
})
3232

33-
web3auth.addPlugin(walletServicesPlugin);
34-
await web3auth.initModal();
33+
web3auth.addPlugin(walletServicesPlugin)
34+
await web3auth.initModal()
3535

3636
// Usage
37-
await walletServicesPlugin.showWalletUi();
38-
await walletServicesPlugin.showCheckout();
39-
await walletServicesPlugin.showWalletConnectScanner();
37+
await walletServicesPlugin.showWalletUi()
38+
await walletServicesPlugin.showCheckout()
39+
await walletServicesPlugin.showWalletConnectScanner()
4040
// remove-end
4141

4242
// add-start
43-
import { EVM_PLUGINS } from "@web3auth/modal";
43+
import { EVM_PLUGINS } from '@web3auth/modal'
4444

45-
await web3auth.init();
45+
await web3auth.init()
4646

4747
// Get the built-in wallet services plugin
48-
const walletServicesPlugin = web3auth.getPlugin(EVM_PLUGINS.WALLET_SERVICES);
48+
const walletServicesPlugin = web3auth.getPlugin(EVM_PLUGINS.WALLET_SERVICES)
4949

5050
// Usage (methods now require { show: true } parameter)
51-
await walletServicesPlugin.showWalletUi({ show: true });
52-
await walletServicesPlugin.showCheckout({ show: true });
53-
await walletServicesPlugin.showSwap({ show: true });
54-
await walletServicesPlugin.showWalletConnectScanner({ show: true });
51+
await walletServicesPlugin.showWalletUi({ show: true })
52+
await walletServicesPlugin.showCheckout({ show: true })
53+
await walletServicesPlugin.showSwap({ show: true })
54+
await walletServicesPlugin.showWalletConnectScanner({ show: true })
5555
// add-end
5656
```
5757

embedded-wallets/sdk/vue/migration-guides/modal-v9-to-v10-vue.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,4 +222,4 @@ When migrating Vue applications, ensure you remove these deprecated packages:
222222

223223
## Next Steps
224224

225-
Return to the main [v9 to v10 migration guide](../../js/migration-guides/modal-v9-to-v10.mdx) to continue with other migration aspects like MFA configurations, method renames, and chain configuration changes.
225+
Return to the main [v9 to v10 migration guide](../../js/migration-guides/modal/v9-to-v10/README.mdx) to continue with other migration aspects like MFA configurations, method renames, and chain configuration changes.

src/pages/tutorials/use-passkey-as-backup-signer.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,26 +8,26 @@ date: Aug 27, 2025
88
author: MetaMask Developer Relations
99
---
1010

11-
This tutorial walks you through using a passkey as a backup signer for your [MetaMask smart account](/delegation-toolkit/concepts/smart-accounts.md).
11+
This tutorial walks you through using a passkey as a backup signer for your [MetaMask smart account](/delegation-toolkit/concepts/smart-accounts).
1212

1313
## About passkeys
1414

1515
An externally owned account (EOA) uses the secp256k1 elliptic curve to generate key pairs and signatures.
1616
In contrast, a passkey (WebAuthn credential) uses the secp256r1 (P-256) elliptic curve to generate key pairs and signatures.
1717
Passkeys eliminate the need for traditional seed phrases that are difficult to remember, enabling a more seamless and secure way for users to access their web3 wallets.
1818

19-
MetaMask Smart Accounts offer a [Hybrid implementation](/delegation-toolkit/concepts/smart-accounts.md#hybrid-smart-account), which supports signature validation for both secp256k1 and secp256r1 curves.
19+
MetaMask Smart Accounts offer a [Hybrid implementation](/delegation-toolkit/concepts/smart-accounts#hybrid-smart-account), which supports signature validation for both secp256k1 and secp256r1 curves.
2020
This allows you to add a passkey as a backup signer for your smart account.
2121

2222
You can add passkeys during smart account creation or after the account has been deployed.
2323
This tutorial walks you through adding a passkey signer to an already deployed smart account.
2424

2525
## Prerequisites
2626

27-
- [Install and set up the Delegation Toolkit](/delegation-toolkit/get-started/install.md) in your project.
27+
- [Install and set up the Delegation Toolkit](/delegation-toolkit/get-started/install) in your project.
2828
- [Install Ox SDK](https://oxlib.sh/#installation).
29-
- [Configure the Delegation Toolkit](/delegation-toolkit/guides/configure.md).
30-
- [Create and deploy a Hybrid smart account,](/delegation-toolkit/guides/smart-accounts/create-smart-account.md) with a signatory from a private key.
29+
- [Configure the Delegation Toolkit](/delegation-toolkit/guides/configure).
30+
- [Create and deploy a Hybrid smart account,](/delegation-toolkit/guides/smart-accounts/create-smart-account) with a signatory from a private key.
3131

3232
## Steps
3333

@@ -62,7 +62,7 @@ const bundlerClient = createBundlerClient({
6262

6363
### 3. Create a Hybrid smart account
6464

65-
Configure the same [Hybrid smart account](/delegation-toolkit/guides/smart-accounts/create-smart-account.md#create-a-hybrid-smart-account) that you created and deployed as a [prerequisite](#prerequisites).
65+
Configure the same [Hybrid smart account](/delegation-toolkit/guides/smart-accounts/create-smart-account#create-a-hybrid-smart-account) that you created and deployed as a [prerequisite](#prerequisites).
6666
The Hybrid implementation supports adding additional passkey signers.
6767

6868
```typescript
@@ -164,5 +164,5 @@ const smartAccount = await toMetaMaskSmartAccount({
164164

165165
## Next steps
166166

167-
- See [Create a MetaMask smart account](/delegation-toolkit/guides/smart-accounts/create-smart-account.md) to learn more about smart account implementations.
168-
- See [Send a gasless transaction](/delegation-toolkit/guides/smart-accounts/send-gasless-transaction.md) to learn how to sponsor gas fees when adding a passkey as a backup signer.
167+
- See [Create a MetaMask smart account](/delegation-toolkit/guides/smart-accounts/create-smart-account) to learn more about smart account implementations.
168+
- See [Send a gasless transaction](/delegation-toolkit/guides/smart-accounts/send-gasless-transaction) to learn how to sponsor gas fees when adding a passkey as a backup signer.

0 commit comments

Comments
 (0)