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.
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
3. Using the SDK
Import the SDK into your application using either ES modules or CommonJS syntax:
For CommonJS environments:
Troubleshooting
If you encounter installation issues:
- Ensure your Node.js and npm versions are compatible and follow the Prerequisites section
- Clear your package manager's cache by running
npm cache clean --force
oryarn cache clean
and try reinstalling - Join our Telegram community for direct support
Explore
- Frontend Implementation: Guide for basic frontend implementation with React
- Fullstack Implementation: Guide for fullstack implementation with Node.js and React
- Advance Options: Helps you customize SDK settings
Happy coding with Reclaim Protocol!