Skip to main content

QuickStart

Once set up, your app will be able to connect and create embedded wallets for users.

Try the demo

See Embedded Wallets in action with our demo app:

CatAttack: Embedded Wallet Demo App

Starting from a template

Quickly get started with one of our templates:

Embedded + Smart Wallet Starter Kit

Starting from existing project

Install the required packages:

npx thirdweb install

This command will recognize the environment you are working in and install the appropriate packages.

Get your client ID

To use embedded wallets in your applications, you will need a client ID. You can get one for free on your thirdweb dashboard.

Connecting & Creating Embedded Wallets

Quickest ways to get started with embedded wallets on each platform.

import {
ThirdwebProvider,
ConnectWallet,
embeddedWallet,
} from "@thirdweb-dev/react";

export default function App() {
return (
<ThirdwebProvider
activeChain="goerli"
clientId="YOUR_CLIENT_ID"
supportedWallets={[embeddedWallet()]}
>
<ConnectWallet />
</ThirdwebProvider>
);
}

For more details and advanced usage, see the reference documentation for each platform.

note

If you're using the Typescript SDK, the code has to be running in the a browser environment due to security reasons.