Skip to content

Commit 51f9553

Browse files
authored
[TOOL-3377] Portal: Remove v4 SDK links, setup missing redirects (#6222)
1 parent 6b2a90a commit 51f9553

File tree

7 files changed

+9
-18
lines changed

7 files changed

+9
-18
lines changed

apps/dashboard/src/app/(landing)/in-app-wallets/page.tsx

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ import analyticsImage from "../../../../public/assets/landingpage/desktop/analyt
1414
import authDesktopImage from "../../../../public/assets/landingpage/desktop/auth.png";
1515
import crossPlatformDesktopImage from "../../../../public/assets/landingpage/desktop/cross-platform.png";
1616
import enterpriseSecurityImage from "../../../../public/assets/landingpage/desktop/enterprise-security.png";
17-
import guestImage from "../../../../public/assets/landingpage/desktop/guest.png";
1817
import magicImage from "../../../../public/assets/landingpage/desktop/magic.png";
1918
import onboardImage from "../../../../public/assets/landingpage/desktop/onboard.png";
2019
import powerfulImage from "../../../../public/assets/landingpage/desktop/powerful.png";
@@ -24,7 +23,6 @@ import analyticsMobileImage from "../../../../public/assets/landingpage/mobile/a
2423
import authMobileImage from "../../../../public/assets/landingpage/mobile/auth.png";
2524
import crossPlatformMobileImage from "../../../../public/assets/landingpage/mobile/cross-platform.png";
2625
import enterpriseSecurityMobileImage from "../../../../public/assets/landingpage/mobile/enterprise-security.png";
27-
import guestMobileImage from "../../../../public/assets/landingpage/mobile/guest.png";
2826
import magicMobileImage from "../../../../public/assets/landingpage/mobile/magic.png";
2927
import mobileOnboardImage from "../../../../public/assets/landingpage/mobile/onboard.png";
3028
import powerfulMobileImage from "../../../../public/assets/landingpage/mobile/powerful.png";
@@ -190,16 +188,6 @@ export default function Page() {
190188
href="https://portal.thirdweb.com/connect/in-app-wallet/how-to/enable-gasless"
191189
/>
192190

193-
<LandingCardWithImage
194-
title="Guest mode"
195-
description={`Allow anyone to use your app in seconds — with a wallet that's generated automatically when they press "Continue as guest."`}
196-
image={guestImage}
197-
mobileImage={guestMobileImage}
198-
TRACKING_CATEGORY={TRACKING_CATEGORY}
199-
href="https://portal.thirdweb.com/references/wallets/latest/LocalWallet"
200-
colSpan={1}
201-
/>
202-
203191
<LandingCardWithImage
204192
title="Bring your own auth"
205193
description="Integrate your authentication system and spin up in-app wallets for your users — new and existing."

apps/dashboard/src/contract-ui/tabs/code/components/code-overview.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ const WALLETS_SNIPPETS = [
242242
description: "Deploy accounts for your users",
243243
iconUrl:
244244
"ipfs://QmeAJVqn17aDNQhjEU3kcWVZCFBrfta8LzaDGkS8Egdiyk/smart-wallet.svg",
245-
link: "https://portal.thirdweb.com/references/wallets/latest/SmartWallet",
245+
link: "https://portal.thirdweb.com/references/typescript/v5/smartWallet",
246246
supportedLanguages: {
247247
javascript: `import { defineChain } from "thirdweb";
248248
import { inAppWallet, smartWallet } from "thirdweb/wallets";

apps/portal/redirects.mjs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -998,6 +998,8 @@ const v4ToV5Redirects = {
998998
"/storage-sdk/v2/:path*": "/typescript/v5/storage",
999999
"/unity/v4": "/unity/v5",
10001000
"/unity/v4/:path*": "/unity/v5",
1001+
"/references/wallets": "/typescript/v5/supported-wallets",
1002+
"/references/wallets/:path*": "/typescript/v5/supported-wallets",
10011003
};
10021004

10031005
/**

apps/portal/src/app/cli/login/page.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ This only needs to be done once per device.
5858

5959
When you login with the dashboard, a number of things happen:
6060

61-
- A [local wallet](/references/wallets/v2/LocalWallet) is created and stored in your device's local storage.
61+
- A local wallet is created and stored in your device's local storage.
6262
- An auth token is generated for this local wallet.
6363
- The auth token is linked to your wallet when you sign the message.
6464

apps/portal/src/app/connect/account-abstraction/how-it-works/page.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Smart accounts rely on code instead of private keys to secure and recover wallet
2020

2121
**A smart account is a type of Web3 wallet powered by smart contracts.**
2222

23-
This smart account is unlocked by a 'key' - a personal account. This key can be anything from a [MetaMask](/references/wallets/v2/MetaMaskWallet) wallet or even a [In-App Wallet](/connect/in-app-wallet/overview) and is used as a way to 'sign in' to the wallet.
23+
This smart account is unlocked by a 'key' - a personal account. This key can be anything from a [MetaMask wallet](/typescript/v5/supported-wallets/io.metamask) or even an [In-App Wallet](/connect/in-app-wallet/overview) and is used as a way to 'sign in' to the wallet.
2424

2525
## Benefits of Smart Accounts
2626

apps/portal/src/app/engine/features/backend-wallets/page.mdx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,13 +60,14 @@ Smart accounts need to be deployed on each chain. This costs gas and is billed t
6060

6161
## Local wallet
6262

63-
A [local wallet](/references/wallets/v2/LocalWallet) is a wallet created or imported from a private key. Ensure your private key is backed up before transacting with a local wallet in a production environment.
63+
A local wallet is a wallet created or imported from a private key. Ensure your private key is backed up before transacting with a local wallet in a production environment.
6464

6565
> Local wallets private keys are stored encrypted in Engine's database. For security reasons, private keys cannot be exported.
6666
6767
## AWS KMS wallet
6868

69-
An [AWS KMS Wallet](/references/wallets/v2/AwsKmsWallet) is a wallet securely stored in your AWS account. Engine can create and transact with the wallet, but not delete it.
69+
An AWS KMS Wallet is a wallet securely stored in your AWS account. Engine can create and transact with the wallet, but not delete it.
70+
7071

7172
#### Setup
7273

apps/portal/src/app/glossary/smart-wallet/page.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Instead, you set _who_ and _under what conditions_, users may access the wallet
99

1010
**A smart contract wallet is a type of Web3 wallet powered by smart contracts.**
1111

12-
This smart account is unlocked by a 'key' - a personal account. This key can be anything from a [MetaMask](/references/wallets/v2/MetaMaskWallet) wallet or even a [Local Wallet](/references/wallets/v2/LocalWallet) and is used as a way to 'sign in' to the wallet.
12+
This smart account is unlocked by a 'key' - a personal account. This key can be anything from a [MetaMask wallet](/typescript/v5/supported-wallets/io.metamask) or even an [in-App Wallet](/typescript/v5/in-app-wallet) and is used as a way to 'sign in' to the wallet.
1313

1414
Benefits of Smart Accounts:
1515

0 commit comments

Comments
 (0)