|
| 1 | +import { Callout, OpenSourceCard, createMetadata, InstallTabs, ArticleIconCard } from "@doc"; |
| 2 | +import { |
| 3 | + ReactIcon, |
| 4 | + TypeScriptIcon, |
| 5 | + UnityIcon, |
| 6 | + DotNetIcon, |
| 7 | + ExternalLinkIcon, |
| 8 | + UnrealEngineIcon |
| 9 | +} from "@/icons" |
| 10 | +import { Tabs, TabsList, TabsTrigger, TabsContent } from "@/components/ui/tabs"; |
| 11 | + |
| 12 | +export const metadata = createMetadata({ |
| 13 | + image: { |
| 14 | + title: "Get started with thirdweb Wallets", |
| 15 | + icon: "wallets", |
| 16 | + }, |
| 17 | + title: "Get started with thirdweb Wallet", |
| 18 | + description: "Get started with thirdweb Wallet", |
| 19 | +}); |
| 20 | + |
| 21 | +# Get Started |
| 22 | + |
| 23 | +thirdweb offers multiple ways to add wallets to your application. Choose the method that best suits your needs: |
| 24 | + |
| 25 | +1. **External Wallets** - Connect to existing wallets like MetaMask, Coinbase Wallet, etc. |
| 26 | +2. **In-App Wallets** - Create wallets with social/email login. |
| 27 | +3. **Ecosystem Wallets** - Create wallets with social/email login that is shareable across various aplications. |
| 28 | + |
| 29 | +These methods can be used independently or together in the same application to provide the best experience for your users. |
| 30 | + |
| 31 | +## Try the demo |
| 32 | + |
| 33 | +We have a playground that lets you see all the various options via our prebuilt UI: |
| 34 | + |
| 35 | +<ArticleIconCard |
| 36 | + title="Connect demo" |
| 37 | + icon={ExternalLinkIcon} |
| 38 | + description="Play around with various wallet connection options" |
| 39 | + href="https://playground.thirdweb.com/connect/sign-in/button" |
| 40 | +/> |
| 41 | + |
| 42 | +## Starting from existing project |
| 43 | + |
| 44 | +Install the required package: |
| 45 | + |
| 46 | +<InstallTabs |
| 47 | + npm="npm i thirdweb" |
| 48 | + yarn="yarn add thirdweb" |
| 49 | + pnpm="pnpm i thirdweb" |
| 50 | + bun="bun i thirdweb" |
| 51 | +/> |
| 52 | + |
| 53 | +## Get your client ID |
| 54 | + |
| 55 | +To use in-app wallets in your applications, you will need a client ID. You can get one for free on [your thirdweb dashboard](https://thirdweb.com/create-api-key). |
| 56 | + |
| 57 | +## Connecting & Creating In-App Wallets |
| 58 | + |
| 59 | +## External Wallets |
| 60 | + |
| 61 | +Connect to popular external wallets: |
| 62 | + |
| 63 | +<div className="my-4 grid gap-2 md:grid-cols-2 lg:grid-cols-3"> |
| 64 | + <ArticleIconCard |
| 65 | + title="TypeScript" |
| 66 | + icon={TypeScriptIcon} |
| 67 | + description="Connect external wallets in TypeScript" |
| 68 | + href="/typescript/v5/createWallet" |
| 69 | + /> |
| 70 | + <ArticleIconCard |
| 71 | + title="React" |
| 72 | + icon={ReactIcon} |
| 73 | + description="Connect external wallets in React" |
| 74 | + href="/react/v5/connecting-wallets/ui-components" |
| 75 | + /> |
| 76 | + <ArticleIconCard |
| 77 | + title="React Native" |
| 78 | + icon={ReactIcon} |
| 79 | + description="Connect external wallets in React Native" |
| 80 | + href="/react-native/v5/ConnectButton" |
| 81 | + /> |
| 82 | + <ArticleIconCard |
| 83 | + title="Unity" |
| 84 | + icon={UnityIcon} |
| 85 | + description="Connect external wallets in Unity" |
| 86 | + href="/unity/v5/wallets/walletconnect" |
| 87 | + /> |
| 88 | +</div> |
| 89 | + |
| 90 | +## In-App Wallets |
| 91 | + |
| 92 | +Create in-app wallets with social/email/sms/passkey login via the following guides: |
| 93 | + |
| 94 | +<div className="my-4 grid gap-2 md:grid-cols-2 lg:grid-cols-3"> |
| 95 | + <ArticleIconCard |
| 96 | + title="TypeScript" |
| 97 | + icon={TypeScriptIcon} |
| 98 | + description="Implement in-app wallets in TypeScript" |
| 99 | + href="/typescript/v5/inAppWallet" |
| 100 | + /> |
| 101 | + <ArticleIconCard |
| 102 | + title="React" |
| 103 | + icon={ReactIcon} |
| 104 | + description="Implement in-app wallets in React" |
| 105 | + href="/react/v5/in-app-wallet/get-started" |
| 106 | + /> |
| 107 | + {/* TODO: Link to react native getting started for in appw allet */} |
| 108 | + <ArticleIconCard |
| 109 | + title="React Native" |
| 110 | + icon={ReactIcon} |
| 111 | + description="Implement in-app wallets in React Native" |
| 112 | + href="/react/v5/in-app-wallet/get-started" |
| 113 | + /> |
| 114 | + <ArticleIconCard |
| 115 | + title=".NET" |
| 116 | + icon={DotNetIcon} |
| 117 | + description="Connect in-app wallets in .NET" |
| 118 | + href="/dotnet/wallets/providers/in-app-wallet" |
| 119 | + /> |
| 120 | + <ArticleIconCard |
| 121 | + title="Unity" |
| 122 | + icon={UnityIcon} |
| 123 | + description="Implement in-app wallets in Unity" |
| 124 | + href="/unity/v5/wallets/in-app-wallet" |
| 125 | + /> |
| 126 | + <ArticleIconCard |
| 127 | + title="Unreal Engine" |
| 128 | + icon={UnrealEngineIcon} |
| 129 | + description="Implement in-app wallets in Unreal Engine" |
| 130 | + href="/unreal-engine/blueprints/in-app-wallet" |
| 131 | + /> |
| 132 | +</div> |
| 133 | + |
| 134 | +## Ecosystem Wallets |
| 135 | + |
| 136 | +If you're looking to set up an ecosystem from scratch, refer to the [set-up guide](/connect/wallet/get-started/set-up-ecosystem) |
| 137 | + |
| 138 | +If you're looking to integrate ecosystem wallets in your aplication, refer to the following guides: |
| 139 | + |
| 140 | +<div className="my-4 grid gap-2 md:grid-cols-2 lg:grid-cols-3"> |
| 141 | + <ArticleIconCard |
| 142 | + title="TypeScript" |
| 143 | + icon={TypeScriptIcon} |
| 144 | + description="Connect ecosystem wallets in TypeScript" |
| 145 | + href="/typescript/v5/ecosystemWallet" |
| 146 | + /> |
| 147 | + <ArticleIconCard |
| 148 | + title="React" |
| 149 | + icon={ReactIcon} |
| 150 | + description="Connect ecosystem wallets in React" |
| 151 | + href="/react/v5/ecosystem-wallet/get-started" |
| 152 | + /> |
| 153 | + {/* TODO: Add react native specific getting started for ecosystem wallets */} |
| 154 | + <ArticleIconCard |
| 155 | + title="React Native" |
| 156 | + icon={ReactIcon} |
| 157 | + description="Connect ecosystem wallets in React Native" |
| 158 | + href="/react/v5/ecosystem-wallet/get-started" |
| 159 | + /> |
| 160 | + <ArticleIconCard |
| 161 | + title=".NET" |
| 162 | + icon={DotNetIcon} |
| 163 | + description="Connect ecosystem wallets in .NET" |
| 164 | + href="/dotnet/wallets/providers/ecosystem-wallet" |
| 165 | + /> |
| 166 | + <ArticleIconCard |
| 167 | + title="Unity" |
| 168 | + icon={UnityIcon} |
| 169 | + description="Connect ecosystem wallets in Unity" |
| 170 | + href="/unity/v5/wallets/ecosystem-wallet" |
| 171 | + /> |
| 172 | +</div> |
| 173 | + |
0 commit comments