Reclaim enables you to bring user activity, reputation, and identity from external websites into your own platform.
For example,
And many more...
The attestor-core
package is the core implementation of the Reclaim protocol.
TLDR: An "attestor" is a server that sits between the reclaim user & the internet. The client sends data to the internet via the attestor. All this data is exchanged securely via the TLS protocol.
We leverage some special properties of the TLS protocol along with zero-knowledge proofs to reveal only the necessary information to the attestor. The attestor then signs this data & sends it back to the client. The client can then use this signed data to prove the claim to anyone.
This package contains both the client & server side code for the Reclaim protocol.
Read a longer brief here.
This repository contains Typescript implementation of the attestor server & the SDK to interact with it. The SDK is compatible with the browser & NodeJS. However, to run the SDK on React Native/Mobile, refer to our React Native guide.
Note: if you're looking to build apps on Reclaim, we'd recommend you to use the Reclaim SDK instead. This repository is intended for developers looking to contribute to the core protocol.
From GitHub:
npm install git+https://github.com/reclaimprotocol/attestor-core
From NPM:
npm install @reclaimprotocol/attestor-core
Note: if you plan on running the package on NodeJS or any non-browser environment, download the ZK files required to generate & verify ZK proofs:
npm run download:zk-files
Note: this approach is only advised for NodeJS projects or projects meant to run directly in a modern browser. For React Native or any solution running in a mobile app, refer to our doc here.
Note for devs: the "prepare" script which is run after npm install
is configured to only build when there are files in the src
directory. This is to prevent errors when building the Docker image.
We'd recommend you go through our documentation in the following order:
We're excited that you're interested in contributing to our project! Before you get started, please take a moment to review the following guidelines.
Please read and follow our Code of Conduct to ensure a positive and inclusive environment for all contributors.
If you discover any security-related issues, please refer to our Security Policy for information on how to responsibly disclose vulnerabilities.
Before contributing to this project, please read and sign our Contributor License Agreement (CLA).
For Indie Hackers: Check out our guidelines and potential grant opportunities
This project is licensed under a AGPL v3. By contributing to this project, you agree that your contributions will be licensed under its terms.
Thank you for your contributions!