Skip to content

Latest commit

 

History

History

README.md

PassPay Web

Passkey-powered Solana wallet for Next.js

A starter template demonstrating LazorKit SDK integration for biometric Solana wallets with gasless transactions and subscription payments.


✨ Features

Feature Description
🔐 Passkey Wallet Create wallets with biometrics—no seed phrases
💸 Gasless Transfers Send SOL without paying gas fees
📝 On-Chain Memos Write permanent messages on Solana
🥩 SOL Staking Stake to validators with passkey auth
💳 Subscription Payments Netflix-style recurring payments in SOL

🚀 Quick Start

# Install
npm install

# Run
npm run dev

Requirements: Node 18+, Modern browser with WebAuthn (Chrome 108+, Safari 16+, Firefox 119+)


📚 Tutorials

Step-by-step guides for every feature:

# Tutorial Description
1 Passkey Wallet Connect wallets with biometrics
2 Gasless Transactions Paymaster-sponsored transfers
3 SOL Staking Multi-instruction staking
4 On-Chain Memos Permanent blockchain messages
5 Subscription Payments Recurring payment flows
6 Session Management Persist sessions with localStorage

📖 Documentation

Document Description
Quick Start 5-minute setup guide
Installation Detailed setup with polyfills
Architecture Project structure & design
API Reference Hooks, services & utilities
Troubleshooting Common issues & solutions
Testing Testing guide with examples
Deployment Vercel & production guide

🌐 App Structure

app/
├── (auth)/
│   └── login/         # Passkey authentication
├── (dashboard)/
│   ├── page.tsx       # Dashboard home
│   ├── transfer/      # Gasless transfers
│   ├── memo/          # On-chain memos
│   ├── staking/       # SOL staking
│   └── pricing/       # Subscription plans
hooks/                 # Custom React hooks
lib/
├── services/          # Business logic
├── constants.ts       # Configuration
└── utils.ts           # Helper functions
components/            # UI components

🔧 Configuration

Devnet (default):

{
  rpcUrl: "https://api.devnet.solana.com",
  portalUrl: "https://portal.lazor.sh",
  paymasterUrl: "https://kora.devnet.lazorkit.com",
}

🔗 Resources


📄 License

MIT