Tanzania Shilling Stablecoin
# nTZS — NEDApay Stablecoin
nTZS is a Tanzanian Shilling-pegged ERC-20 stablecoin issued on a strict 1:1 basis against TZS-denominated reserves. It powers **NEDApay**, an omni-channel digital wallet built for Tanzania's mobile money ecosystem.
> **Regulatory Status**: NEDA LABS Limited has received **in-principle approval** to participate in the Bank of Tanzania Fintech Regulatory Sandbox (Ref. LD. 170/515/02/1254, 23 April 2026). Sandbox testing must commence by **23 June 2026**.
---
## Architecture
```
┌──────────────────┐ ┌──────────────────┐ ┌──────────────────────┐
│ User App │ │ Backstage │ │ Snippe (active) │
│ (Next.js) │ │ (Admin Panel) │ │ (M-Pesa, TigoPesa) │
└────────┬─────────┘ └────────┬─────────┘ └──────────┬───────────┘
│ │ │
▼ ▼ ▼
┌─────────────────────────────────────────────────────────────────────┐
│ PostgreSQL (Neon) │
│ Users · KYC · Wallets · Deposits · Burns · Transfers · Audit Logs │
└──────────────────────────┬──────────────────┬───────────────────────┘
│ │
▼ ▼
┌────────────────┐ ┌──────────────────┐
│ Cron Jobs │ │ Mint Worker │
│ · Poll PSPs │ │ · Mint nTZS │
│ · BoT reports │ │ · Daily cap │
└────────────────┘ └────────┬─────────┘
│
▼
┌──────────────────────────────────────────────┐
│ Base Blockchain (nTZS Contract) │
│ ERC-20 · Pause · Freeze · Blacklist · Wipe │
└──────────────────────────────────────────────┘
```
## Repository Structure
| Path | Description |
|---|---|
| `apps/web` | Next.js app — user portal, backstage admin, all API routes |
| `apps/worker` | Background worker — burn processing, LP earnings |
| `apps/market-maker` | Automated market maker |
| `packages/contracts` | Hardhat — nTZS ERC-20 smart contract (UUPS upgradeable) |
| `packages/db` | Dr …