Developer Guide

This document outlines the steps required to configure the wallet service

Backend Developer Guide:

Architecture

The Wallet App backend is built using NestJS and follows a modular, adapter-based design. This allows easy integration with different wallet service providers. Currently, the backend integrates with Dhiway Wallet Services.

  • Language/Framework: TypeScript with NestJS

  • Database: PostgreSQL (via TypeORM)

  • Authentication: JWT Bearer Token

  • Adapter Layer: Used for integration with wallet providers

Key Features

  • User Registration and Login via API

  • Fetch Verifiable Credentials (VCs) from provider

  • Upload VC using QR Code

  • Extensible Adapter Layer to support new wallet providers

  • Bearer Token Authentication

  • Modular Provider Configuration through environment variables

Backend Modules (NestJS)

  • auth/ – Handles login, registration, token issuance

  • wallet/ – Core logic for interacting with external wallet APIs

  • users/ – User model, schema, and services

adapters/ – Wallet-specific adapters (currently: Dhiway Adapter)

Last updated

Was this helpful?