Docs

Sign in with Farcaster

Greg

Create In-App Wallets with Farcaster

We've added Farcaster as an authentication option for in-app wallets. Use the same syntax you'd use for Google, Facebook, Apple, or Discord login.

To connect via farcaster with your own UI:

import { inAppWallet } from "thirdweb/wallets";
const wallet = inAppWallet();
await wallet.connect({
strategy: "farcaster",
client: CLIENT,
});

To connect using the Connect UI components in React or React Native:

import { inAppWallet } from "thirdweb/wallets";
import { ConnectButton } from "thirdweb/react";
<ConnectButton
wallets={[
inAppWallet({
auth: {
options: ["farcaster", "google", "discord"],
},
}),
]}
/>;

Or, try Farcaster login in our playground.

0:00
/0:15

Other Improvements

  • Improved tab styling on the Connect UI "View Assets" page
  • Significant performance improvements for wallet connection management
  • Added the getApprovalForTransaction extension