Tutorial 1: Passkey Login

Create a Solana wallet using your device's biometrics - no seed phrase required.

Try It Out

Click the button below to create your passkey wallet. Your device will prompt you for biometric authentication.

What is a Passkey?

Passkeys are a modern replacement for passwords. They use your device's built-in biometric authentication (Face ID, Touch ID, Windows Hello) to create cryptographic credentials that are:

  • Phishing-resistant - Bound to the specific website
  • Hardware-backed - Stored in secure enclave
  • User-friendly - No seed phrases to remember

How It Works

  1. 1

    Click "Connect Wallet"

    This initiates the WebAuthn passkey creation flow.

  2. 2

    Authenticate with Biometrics

    Use Face ID, Touch ID, or Windows Hello to verify your identity.

  3. 3

    Wallet Created!

    A smart wallet is derived from your passkey. Your address is displayed above.

Under the Hood

1. Passkey Creation: WebAuthn API creates a P-256 key pair stored in your device's secure enclave.

2. Smart Wallet Derivation: LazorKit derives a Solana PDA (Program Derived Address) from your passkey's public key.

3. Session Token: A session token is stored locally for auto-reconnect on page refresh.

Troubleshooting

  • Biometric prompt not appearing? Make sure you're using a supported browser (Chrome, Safari, Firefox, Edge).
  • Using a desktop without biometrics? You can use a security key (YubiKey) or your phone as an authenticator.
  • Connection failed? Try refreshing the page and attempting again. Check your internet connection.