

Lightning Wallet Authentication
Let your website visitors sign in using their Lightning walletsNo passwords to hack. No email addresses to collect. No personal data to store. Just secure, quick sign-ins that your users control.
Get Started
Ready to add Lightning wallet authentication to your website? Here's what you need to do to get your integration code. The whole process takes just a few minutes.
Get a Lightning wallet if you don't have one (a compatible Lightning wallet is recommended)
Sign in with your Lightning wallet to create your Key-Rex account
Enter your domain where you'll use Key-Rex
Accept the disclaimer and receive your integration code
Live Preview
This is what your visitors will see on your website. When they click it, they can sign in using their Lightning wallet—no password needed.
See the Integration Code
Here's a quick look at what adding Key-Rex to your website involves. Don't worry if you're not technical—we provide step-by-step guides for all skill levels in your dashboard after you sign up.
// Frontend: Add to your HTML<script src="https://keyrex.example.com/embed?siteId=YOUR_SITE_ID"></script><div id="keyrex-container"></div>// Backend: Handle authentication callback// Your backend receives: { xpub: "xpub_..." }// Create session and redirect user// See dashboard for full examples
Create a Key-Rex account to get your unique site ID and full integration code
What You Need to Know Before Starting
Before you decide if Key-Rex is right for your website, here are a couple of important things to understand. Most websites can use Key-Rex, but there are a few requirements to be aware of.
You'll Need a Backend
Key-Rex needs a way to receive authentication information from your visitors. This means you'll need either a backend server or a serverless function (like those offered by Vercel, AWS, or similar services).
Your Visitors Need Lightning Wallets
For someone to sign in with Key-Rex, they need a Lightning wallet app. These are free to download. Key-Rex can work as a standalone sign-in option, and we recognize that many websites already have existing login processes. In these cases, Key-Rex works great as an alternative authentication method, allowing you to offer both options simultaneously so visitors can choose what works best for them.
Works With Your Existing Users
Already have user accounts? Key-Rex can connect to your existing system. New visitors can sign in and you create accounts for them, while existing users can link their Lightning wallet to their current account. You don't have to replace anything—just add Key-Rex alongside your current sign-in methods.
Why Should You Consider Key-Rex?
No More Password Breaches
Users sign in with cryptographic proof—no passwords that can be stolen
Faster Sign-Ins
One click to sign in—no waiting for email verification codes
Easy to Add
Just add two lines of code to your website
Better Privacy
You don't need to collect emails, names, or any personal information
No Cost
No credit card needed. No hidden fees. No limits. No catch.
Unlimited Sign-Ins
As many sign-ins as you need—no limits on visitors or usage
Unlimited Domains
Add as many domains and subdomains as you need
See How It's Being Used
Track sign-ins, see which wallets your visitors use, and understand usage patterns
You Can See the Code
All code is open source, so you can verify exactly how it works
Learn More
How It Works
Understand how visitors sign in and how to add it to your site
Why Key-Rex
Learn the benefits and see how it compares to password-based sign-ins
Requirements
See what you need to use Key-Rex on your website
FAQ
Get answers to questions you might have
Support
Get help, understand service availability, and learn about data handling
Open Source
Browse the code and see exactly how everything works