Hara Exchange logo Hara Exchange
Sovereign data exchange for Indonesia

A sovereign data exchange that is quantum-resistant, AI-augmented, and compliant by architecture.

Hara Exchange lets government agencies, businesses, and citizens share data peer-to-peer under the data subject's cryptographic consent — never through a central hub. Built on UU PDP, GDPR, NIST PQC, and W3C DID standards.

29
modules
< 200ms
exchange p95
72 h
offline tolerance
PQC
ML-DSA-65 + ML-KEM-768
New

Latest in this release

Live AI/ML loop

HaraLens, HaraSchema & HaraLink now run trained models (MLflow-registered, served by hx-infer): PII detected from value patterns even in mis-named columns, entity matches scored by a learned model. Every decision feeds a label back; weekly auto-retraining.

Zero-knowledge selective disclosure

Real BBS+ (BLS12-381) credentials: the cross-border EUDR proof reveals only “deforestation-free”, while geolocations and farmer identities stay sovereign. UU PDP data-minimisation, cryptographically enforced.

Production-hardened

Vault out of dev-mode (raft + audit + auto-unseal + daily snapshots), signing keys in Vault, off-host backups, Prometheus alerting, and a tested restore drill.

On-chain tenant onboarding

Members, services and grants registered live on the Hara Registry — BRI Agroniaga onboarded as a member, provider and authorised consumer.

What Hara Exchange gives you

PQC hybrid signing

Every envelope carries Ed25519 + ML-DSA-65 dual signatures (NIST FIPS 204). Connection is authenticated if either signature verifies — protecting you across the quantum migration.

On-chain consent

Personal-data exchanges require a signed consent record on HaraLedger before they can be transmitted. UU PDP §32 enforced in protocol, not policy.

Compliance gate

12 UU PDP / GDPR / OJK / charter rules evaluate every exchange before signing. Refused exchanges never hit the wire — and every refusal cites its rule.

Tamper-evident audit

Append-only Merkle log + hourly IOTA root anchor. Court-grade ASiC-E export bundle in one HTTP call.

Right-to-erasure in 14 days

HaraLineage walks the provenance graph and produces a per-system DELETE / ANONYMIZE / NO_ACTION plan automatically. UU PDP §43 closed.

Multi-org, peer-to-peer

No central hub. Each organisation runs its own HaraGate; data flows directly. The blockchain only holds identity, consent, and access — never payloads.

Six SDKs

TypeScript · Python · Go · Java · Kotlin · Rust. All generated from one OpenAPI 3.1 spec. Time-to-first-exchange < 15 minutes.

Intelligence layer

HaraGuard catches anomalies on metadata only; HaraFraud detects rings via Neo4j graphs; HaraLink assembles Golden Records from multiple sources.

Legacy bridges

SOAP / HL7 v2 / fixed-width / DB row adapters. Connect Coretax, BPJS legacy systems, hospital LIS, and mainframes without touching their code.

Five design mandates

Every product decision must satisfy at least one. If it serves none of these, it is not built.

1. Sovereign by Design
Data never moves without verifiable consent. Period.
2. Quantum-Resistant from Day One
ML-KEM + ML-DSA hybrid. No new RSA. Ever.
3. Intelligently Automated
Manual work is a defect. Anything a legacy exchange makes you wire by hand, Hara Exchange does for you.
4. Compliance is Architecture
UU PDP cannot be technically violated. Refusals are protocol-level.
5. Zero to Productive in Minutes
First verified exchange < 15 minutes from clone to demo.

Benefits by stakeholder

Citizen
  • One wallet to see who accessed your data, when, and why.
  • Revoke any consent with a single tap.
  • Selective disclosure & ZKP — prove you're a farmer without revealing NIK.
Government Agency
  • RPJMN cockpit with live differential-privacy aggregates from 6+ ministries.
  • UU PDP compliance enforced at the protocol layer — not at audit time.
  • Federation with ASEAN-SW, Gaia-X, and EU EUDR.
Bank / Insurer
  • 90-second KYC using Dukcapil VC + DJP NPWP + ZKP age proof.
  • PSR loan in < 3 sec with 6 parallel signed calls.
  • OJK-grade audit trail per exchange (ASiC-E export).
Hospital / Clinic
  • HL7 v2 → FHIR R4 bridge for legacy LIS.
  • BPJS INA-CBG claim chain settled cryptographically.
  • Health-data sensitivity auto-classified by HaraLens.
Developer
  • One OpenAPI 3.1 spec, six SDKs.
  • Sandbox with three live mock domains, no governance ticket.
  • 15-minute quickstart from clone to your first signed exchange.
Regulator (DPO / OJK / BSSN)
  • Right-to-erasure walks the lineage in seconds.
  • Tamper-evident logs anchored to IOTA, exportable as ASiC-E.
  • HaraGuard + HaraFraud surface anomalies & rings on metadata only.

29 modules · 7 clusters · 4 layers

Click any module for syntax. Each card has a Run live button when a working demo is wired.

Supported file formats (Data Console)

HaraBridge normalizes these formats on the wire (SOAP→REST, HL7→FHIR, DB→REST, flat-file→JSON) so a provider can expose legacy data without re-platforming. Providers review and approve access to their data in the Hara Provider console.

Extension Format What happens on upload
Auto PII detection

Column names matching NIK, NPWP, nama, alamat, email, dob, phone are flagged and surfaced in HaraComply rule R-06 (data-minimisation).

Schema inference

CSV / JSON / database-row uploads can be turned into formal OpenAPI 3.1 schemas via HaraSchema (/v1/schema/infer).

Format conversion

HL7 v2 → FHIR R4, SOAP → REST, EDIFACT → JSON, fixed-width → JSON via HaraBridge adapters.

Try the showcase live

A capability ladder — from a single question to a multi-ministry, privacy-preserving exchange. Every Live rung runs against the real staging stack.

How the showcase works — in plain language tap to expand

Every demo tells the same simple story: someone asks for data, the platform checks whether that's allowed, fetches only what's permitted, and writes down exactly what happened — so nothing ever moves without consent, a lawful purpose, and a tamper-proof record. Here is the journey, and the one job each Hara Exchange component does in it:

STEP 1
You ask
A question (Hara Answers) or a data call from an app.
STEP 2 · HaraCatalog
"Are you allowed?"
Checks the on-chain access grant and the citizen's consent.
STEP 3 · HaraComply
"Is the purpose lawful?"
Runs the UU PDP rules; blocks anything not permitted (this is rung 3's "no").
STEP 4 · HaraProvider · HaraQuery
Fetch & compute
Pulls the data; for analytics only statistics leave — never raw records.
STEP 5 · HaraGate
Sign & encrypt
Secures the hand-off between organisations (post-quantum signature).
STEP 6 · HaraAudit · HaraLineage
Record it
Tamper-proof log of who received what — for citations and erasure.
RESULT
Answer / data delivered
With citations to every source it used.

Not every rung uses every step — e.g. an open-data question (rung 1) skips the grant/consent check, while the compliance gate (rung 3) stops at step 3 on purpose. The higher rungs simply chain more of these together (rung 5 runs steps 2–6 four times in parallel; rung 6 adds a privacy-preserving join via HaraLink).

How an exchange flows

Behind every demo, a single exchange runs through these eight steps. In plain terms: ask securely → check it's allowed → prove it's authentic → deliver → record it forever. Each step is a real Hara Exchange component; the technical name is in brackets.

  1. 1. Your app asks — an organisation's own software sends a request to its local gateway over a secure connection. Nothing has left the building yet. (HaraGate)
  2. 2. Did the citizen agree? — the gateway checks the blockchain consent registry. No valid consent → the request is refused on the spot. (ConsentRegistry, on-chain)
  3. 3. Is the purpose legal? — the data-protection rulebook runs automatically. If the purpose isn't permitted (e.g. marketing), the exchange is blocked before any data moves. (HaraComply · UU PDP)
  4. 4. Sign & seal — the gateway digitally signs and encrypts the request with quantum-resistant cryptography, so it can't be forged or read in transit. (HaraGate + HaraVault, PQC)
  5. 5. The receiver double-checks — the receiving organisation re-verifies everything itself — signature, membership, access grant, consent — trusting nothing by default. (zero-trust)
  6. 6. Fetch the answer — only now does the receiver hand the request to its own internal system to produce the result. (provider system)
  7. 7. Write it down — both sides record a tamper-evident entry of what happened and a who-shared-what-with-whom trail. (HaraAudit + HaraLineage)
  8. 8. Anchor the proof — every hour a cryptographic fingerprint of all records is anchored to a public ledger, so the history can never be quietly altered. (IOTA Tangle)

Build on Hara Exchange

From clone to your first signed exchange in 15 minutes. Six SDKs — TypeScript · Python · Go · Java · Kotlin · Rust — all generated from one OpenAPI 3.1 spec. The two consoles above are built on the same public API.

15-minute quickstart

1 · Browse the catalog (on-chain services + provider datasets)
curl /api/catalog/v1/services
curl /api/provider/v1/published
2 · Ask a governed question (HaraQuery NL→answer)
curl -X POST /api/query/v1/ask -H 'content-type: application/json' \
  -d '{"question":"Total oil-palm area by district?",
       "consumerDid":"did:hara:org:dev-bappenas"}'
3 · One signed exchange through a HaraGate
curl -X POST /api/gate/admin/exchange -H 'content-type: application/json' \
  -d '{"providerDid":"did:hara:org:dev-hara",
       "service":"did:hara:service:hara-farmer-profile-v2",
       "subject":"did:hara:person:dev-ahmad-fauzi",
       "purpose":"credit_assessment","body":{"nik":"1404125508920001"}}'

SDKs · 6 languages

TypeScript
@haraxchange/sdk
Python
pip install haraxchange
Go
go get …/sdk-go
Java
HaraClient.java
Kotlin
HaraClient.kt
Rust
cargo add haraxchange

Python · governed exchange in 9 lines

from haraxchange import HaraClient
hx = HaraClient("https://exchange.haratrust.io/api/gate")
out = hx.exchange(
    provider_did="did:hara:org:dev-hara",
    service="did:hara:service:hara-farmer-profile-v2",
    subject="did:hara:person:dev-ahmad-fauzi",
    purpose="credit_assessment",
    body={"nik":"1404125508920001"})
print(out["credit_score"], out["_hx"]["consentId"])
📄 OpenAPI 3.1 spec

The full HaraGate admin surface — every SDK is generated from it.

Hara Answers →

The asker's console: ask in natural language, get a cited answer. Built on /api/query.

Hara Provider →

The owner's console: onboard data, set access, approve requests. Built on /api/provider.

Sandbox domains (reset every 24 h)
BPJS Healthcare
eligibility · rujukan · SEP · INA-CBG
DJP Taxation
NPWP · kepatuhan WP · bukti potong
Agriculture (PSR)
STDB · RDKK · HARA · PKS · Bank