Native Mobile Passkey Support
Biometrics is all you need.
We just released v5.46 of the thirdweb SDK which adds react native passkey support for in-app wallets.
This means that you can onboard users with just their fingerprint, giving them a full user profile and wallet with just one tap!
You can integrate this using the prebuilt ConnectButton
or ConnectEmbed
with just one line of code, but it's also very simple to build your own UI and connect using the typescript API.
Here's an example to connect an in-app wallet with passkey, and sponsor all transactions. With this you can make the blockchain completely invisible.
const wallet = inAppWallet({
auth: {
passkeyDomain: "example.com",
},
smartAccount: {
chain: base,
sponsorGas: true,
},
});
await wallet.connect({
client,
strategy: "passkey",
type: "sign-in",
});
Check out the documentation for more info.
Happy building 🛠️