React SDK
thirdweb/react
exports various Components and Hooks to easily connect wallets & interact with smart contracts
Follow this guide to get started with the React SDK.
You can quickly create a new project with the thirdweb CLI
or clone the the Next.js or Vite starter repo:
Many of the components and hooks in the React SDK use a client
to interface with the core SDK and your private RPC endpoints. You'll need to create a clientId
in the Dashboard to generate this client.
TypeScript
Follow the TypeScript docs for functions and types
ThirdwebProvider
Setup the ThirdwebProvider
Connecting Wallets
Connect wallets using ConnectButton, ConnectEmbed or useConnect hook
Supported Wallets
See all 350+ wallets supported by the Connect SDK
UI Components
UI components for wallet connection and transactions
Hooks
Hooks for wallet connection and transactions