Installation
Welcome to the first step in integrating Reclaim Protocol into your JavaScript project! This guide will walk you through the installation process and help you get started quickly.
Installing the Reclaim Protocol SDK
Prerequisites
Before installation, ensure your development environment meets these requirements:
- Node.js version 14.x or later (LTS version recommended)
- npm version 6.x or later (included with Node.js) or yarn version 1.22.x or later
- A project directory initialized with
package.json
To verify your installations:
Installation Steps
1. Install the SDK
Navigate to your project directory in the terminal:
Choose one of the following commands based on your package manager:
Using npm:
Using yarn:
2. Verify Installation
Confirm the installation by:
- Checking your
package.json
dependencies:
- Ensuring the SDK files are in your
node_modules
directory
Using the SDK
Import the SDK into your application using either ES modules or CommonJS syntax:
For CommonJS environments:
Next Steps
Now that you've installed the SDK successfully, you can:
- Create your first proof request by following the Frontend Example (React) guide
- Explore Advanced Configuration options for customization
- Test your installation by creating a basic implementation
Troubleshooting
If you encounter installation issues:
- Ensure your Node.js version is compatible
- Clear your package manager's cache and try reinstalling
- Check our FAQ for common issues
- Join our Telegram community for direct support
Additional Resources
Happy coding with Reclaim Protocol!