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.
View Swagger Docs | StarkNet Identity Spec
- 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
| Component | Technology |
|---|---|
| Framework | Nest.js |
| Authentication | SIWE + StarkNet.js |
| Database | PostgreSQL + Prisma |
| Compliance | Sumsub API integration |
| Queue | BullMQ (for KYC processing) |
- Node.js v18+
- PostgreSQL 14+
- StarkNet devnet (for testing)
- Sumsub API keys (for KYC)
- Clone the repo:
git clone https://github.com/CRYPTOInsured-Foundation/starknet-indemnify-user-service.git cd starknet-indemnify-user-service - Install dependencies:
pnpm install
- Setup environment:
cp .env.example .env
- Fork the repository
- Create your feature branch:
git checkout -b feat/your-feature- Commit changes following Conventional Commits
- Push to the branch:
- Open a Pull Request