Overview
Integrate Okto's embedded wallets into existing dApps using popular Web3 frontend libraries like Wagmi and RainbowKit
Okto provides seamless integration with popular Web3 frontend libraries, allowing you to add Okto's embedded smart contract wallets to your existing dApps. These adapters enable users to connect via social logins while maintaining compatibility with your current tech stack.
Why Use External Wallet Adapters?
Seamless Integration
Add Okto's social login capabilities without major architectural changes to existing Wagmi or RainbowKit applications.
User-Friendly Onboarding
Enable users to connect using familiar social providers like Google, eliminating complex wallet setup processes.
Smart Contract Wallets
Provide users with Okto-managed embedded smart contract wallets offering enhanced security and functionality.
Familiar Developer Experience
Continue using the Web3 libraries and patterns you're already comfortable with. No learning curve required.
Authentication Requirements
Before integrating any external wallet adapter, you'll need to set up authentication credentials:
-
Google OAuth credentials: Create OAuth 2.0 credentials in the Google Cloud Console to get your
googleClientId
. -
Okto Dashboard Setup: You need your
clientPrivateKey
andclientSWA
. Obtain these from the Okto Developer Dashboard.
Available Adapters
Wagmi
The Okto Wagmi Adapter enables integration of Okto's embedded smart contract wallets into applications built with the Wagmi library of React hooks.
Perfect for: dApps already using Wagmi that want to add social login wallet options.
RainbowKit
For dApps using RainbowKit for wallet connection UIs, the Okto RainbowKit Adapter provides seamless integration through the familiar RainbowKit modal interface.
Perfect for: dApps using RainbowKit that want to offer social login alongside traditional wallet options.