Auto ID
Auto-ID Package Documentation
Introduction
The @autonomys/auto-id
package provides functionalities for managing certificates, authenticating users, and integrating Zero-Knowledge Proofs (ZKPs) on the Autonomys Network. It enables developers to:
- Authenticate Users: Verify user identities using their Auto IDs.
- Manage Certificates: Create, issue, and handle x509 certificates associated with Auto IDs.
- Integrate Zero-Knowledge Proofs (ZKPs): Utilize ZKP claims for enhanced privacy and authentication.
Features
- Certificate Management: Create and manage x509 certificates linked to Auto IDs.
- Zero-Knowledge Proof Integration: Implement privacy-preserving claims using ZKPs.
- User Authentication: Authenticate users through their Auto IDs and certificates.
- TypeScript Support: Fully typed for enhanced developer experience.
- Blockchain Interaction: Interact with the Autonomys Network without dealing with low-level blockchain complexities.
Installation
Install the package via npm or yarn:
# Using npm
npm install @autonomys/auto-id
# Using yarn
yarn add @autonomys/auto-id
Importing the Package
Before using the functions provided by the auto-id
package, you need to import them into your project:
// Import specific functions
import { selfIssueCertificate, authenticateAutoIdUser } from '@autonomys/auto-id';
// Or import everything
import * as autoId from '@autonomys/auto-id';