@optref/social-login-smart-wallet
v1.0.7
Published
Premium Social Login & Smart Wallet SDK for Starknet
Readme
OPTZ Social Login Smart Wallet
Premium Social Login & Smart Wallet SDK for Starknet. Designed to reduce friction for developers by providing pre-styled components and automatic wallet orchestration.
Features
- SocialLogin: Pre-configured Sign-In/Sign-Up forms with premium glassmorphism styling.
- WalletCard: A reactive component that displays the user's Starknet Smart Wallet (auto-creates if missing).
- useFetchWallet: High-level hook to access wallet address, status, and orchestrate auto-creation with Open The Doorz.
Installation
npm install @optref/social-login-smart-walletDeployment (Full System)
If you want to deploy the entire pre-configured system (Next.js pages, components, and infrastructure) into your current project:
npx optz-initnpm installnpm run devThis will scaffold the app, components, hooks, and infrastructure folders into your root directory.
Usage
import { SocialLogin } from "@optref/social-login-smart-wallet";
function App() {
return <SocialLogin />;
}