Features • How It Works • Architecture • Getting Started • Security • Tech Stack • Contributing
| Feature | Description | Tech Stack |
|---|---|---|
| 🔐 Passkey Auth | Biometric/FIDO2 login with device security | LazorKit, WebAuthn |
| ⚡ Instant Swaps | SOL ↔ Lazy-Token swaps in <1s | SPL Token Swap |
| 💧 Liquidity Pools | Earn 0.3% fees on trades | Constant Product AMM |
| 📊 Portfolio Tracking | Real-time balance updates | Solana Web3.js |
| 🔒 Non-Custodial | Users control assets end-to-end | secp256r1 Signatures |
- Login using device biometrics like Face ID or fingerprint.
- No wallet extensions, no private key management.
- Users swap between Lazy-Token and SOL (wSOL under the hood).
- Powered by Solana’s SPL Token Swap.
- Users deposit Lazy-Token + wSOL to the pool.
- In return, receive Lazor-Tokens (LP tokens).
- These LP tokens can later be used to withdraw liquidity.
- All swaps, deposits, and withdrawals are passkey-signed with secp256r1.
- No browser wallet or private key exposure — it's WebAuthn-native.
graph TD
A[User] -->|Passkey Auth| B(LazorKit Wallet)
B -->|Secure Session| C[Frontend]
C -->|Swap Request| D{SPL Token Swap}
D -->|Jupiter API| E[Solana RPC]
E -->|TX Confirmation| C
C -->|LP Tokens| F[Liquidity Pool]
git clone https://github.com/your-org/lazorswap.git
cd lazorswappnpm installpnpm devMake sure to connect to a Solana devnet wallet using LazorKit.
- 🔐 No seed phrase is ever stored.
- 💾 No cookies or localStorage misuse.
- 🔏 All operations are cryptographically signed with passkeys using
secp256r1.
@solana/web3.js— Solana blockchain SDK@solana/spl-token— SPL token utilities@solana/spl-token-swap— Core swap logiclazorkit— WebAuthn wallet integrationVite + React— Frontend toolingTailwind CSS— UI styling
- Fork the repo 🍴
- Create your feature branch
git checkout -b feat/amazing-feature - Commit your changes ✅
- Push to the branch
git push origin feat/amazing-feature - Open a Pull Request! 🚀
MIT © 2025 — Built with ⚡ by Ajey