Skip to content

Starknet-Indemnify-User-Service is a microservice that manages user authentication, data and activities on the application.

Notifications You must be signed in to change notification settings

CRYPTOInsured-Foundation/starknet-indemnify-user-service

Repository files navigation

Starknet-Indemnify User Service

The Starknet-Indemnify User Service is a Nest.js application handling user identity, authentication, and KYC processes for the Starknet-Indemnify DeFi insurance platform. It integrates with Starknet for wallet-based identity verification and secure user management. This service runs on port 5000.


🔗 API Documentation

View Swagger Docs | StarkNet Identity Spec


✨ User Features

  • StarkNet Wallet Authentication:
    • ArgentX/Braavos wallet login
    • SIWE (Sign-In With Ethereum) integration
  • Compliance:
    • KYC/AML verification flows
    • Identity attestation via Cairo contracts
  • Security:
    • Multi-factor authentication
    • Session management with zk-proofs
  • Profile Management:
    • Insurance policy preferences
    • Claim history tracking

🛠️ Tech Stack

Component Technology
Framework Nest.js
Authentication SIWE + StarkNet.js
Database PostgreSQL + Prisma
Compliance Sumsub API integration
Queue BullMQ (for KYC processing)

🚀 Quick Start

Prerequisites

  • Node.js v18+
  • PostgreSQL 14+
  • StarkNet devnet (for testing)
  • Sumsub API keys (for KYC)

Installation

  1. Clone the repo:
    git clone https://github.com/CRYPTOInsured-Foundation/starknet-indemnify-user-service.git
    cd starknet-indemnify-user-service
  2. Install dependencies:
    pnpm install
  3. Setup environment:
    cp .env.example .env

🤝 Contributing

  1. Fork the repository
  2. Create your feature branch:
git checkout -b feat/your-feature
  1. Commit changes following Conventional Commits
  2. Push to the branch:
  3. Open a Pull Request

About

Starknet-Indemnify-User-Service is a microservice that manages user authentication, data and activities on the application.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published