Reclaim Protocol JavaScript SDK
Welcome to the Reclaim Protocol JavaScript SDK! You can use JS SDK to implement Reclaim in your browser or Node.js applications. This SDK helps you create a simple process where users can prove their credentials from other websites, all without sharing sensitive information.
Quick Start for Beginners
New to Reclaim? Here's how to get started:
-
Installation Get the SDK set up in your project.
-
Frontend Example (React) Understand the basic flow on how to use the JS SDK.
How It Works
Here's a simplified flow of how Reclaim works in a typical web application:
- User Login: A user logs into your website.
- Session Creation: Your site creates a new Reclaim session.
- Request URL: Your site generates a request URL. Display this to the user.
- User Interaction: The user visits the request url and logs into the target website (e.g., Amazon.com).
- Proof Generation: A proof is created on the user's device.
- Proof Submission: The user submits the proof to your application.
- Verification: Your app verifies the proof and takes appropriate action.
Choosing Your Implementation
- Frontend-only: Perfect for quick prototypes and MVPs. Implement Reclaim directly in your app without backend changes.
- Full Stack Implementation: For production apps, we recommend using the backend implementation along with client application for enhanced security and custom authentication.
Examples
See the SDK in action with our detailed examples:
- Fullstack Example Explore how to use Reclaim on the server-side.
Advanced Topics
Ready to dive deeper? Explore these advanced features:
-
Advanced Configuration Tailor the SDK to your specific needs.
-
Best Practices Optimize your Reclaim integration with our recommended approaches.
Need Help?
We're here to support you:
- Join our Telegram community (opens in a new tab)
- Visit our Website (opens in a new tab)
Stay Connected
Keep up with the latest Reclaim developments:
- Follow us on Twitter (opens in a new tab)
- Star our GitHub repository (opens in a new tab)
We're excited to see what you'll create with the Reclaim Protocol JavaScript SDK. Happy building!