LEGAL-CHAIN
Substrate · polkadot-stable2409

Sovereign Legal Intelligence

Integrity layer for legal evidence, document proof, approvals, chain-of-custody, audit events, and identity-aware workflow enforcement — built on Rust & Substrate.

8

Custom Pallets

11

Identity Roles

13

Action Types

6s

Block Time

Aura + GRANDPA

Consensus

BUSL-1.1

License

Architecture

Four-tier architecture — from the Substrate node up through data services and the presentation layer.

PRESENTATION

Web App — Explorer, Proof Verifier, AI Assistant

SERVICES

Explorer API (8300) · Proof Service (8400) · TypeScript SDK

DATA

Indexer (Rust → Postgres) · Encrypted Off-Chain Store

CHAIN NODE

8 FRAME pallets · Aura + GRANDPA · 6s blocks · WASM upgrades

WebSocket RPC ↓

8 Custom FRAME Pallets

Phase 1 — Chain Core • Phase 2 — Workflow Enforcement

📂#10

Matters

Legal matter lifecycle management

🔒#11

Evidence

Evidence vault & chain of custody

📄#12

Documents

Document proof & version control

📋#13

Audit

Immutable hash-chained audit log

#14

Approvals

Quorum-based multi-reviewer workflow

🪪#15

Identities

Role-based identity registration

🛡️#16

Access Control

Matter-scoped RBAC enforcement

🤖#17

Agent Policy

AI agent rate-limited capabilities

Security & Integrity

Built with six core invariants ensuring tamper-evidence, privacy, and compliance at every layer.

🔐

No Privileged Content On-Chain

Hashes, references, signatures, and metadata only — cryptographic integrity without exposing sensitive legal data.

📋

Tamper-Evident Audit Trail

Every state mutation emits a durable audit event via the AuditHook trait. Hash-chained and immutable.

🤖

AI Agent Governance

Registered service identities with scoped, rate-limited permissions. Human approval gates for sensitive actions.

🧬

Forkless WASM Upgrades

Runtime compiles to both native and WASM. Upgrade pallets via set_code — no hard forks needed.

🌳

Merkle Proof Bundles

Generate cryptographic proofs of on-chain state for legal discovery, compliance, and regulatory filings.

🛡️

Role-Based Access Control

11 identity roles, matter-scoped permissions, admin bootstrapping, and quorum-based approval workflows.

Ready to explore?

Browse on-chain data, verify proof bundles, or ask the AI assistant about legal blockchain workflows.