Hackathon Project (HackMeridian Lisbon)Oct 2026Rust / Soroban WASM · Web Crypto

AuditLedgerSoroban Merkle Accounting Notarization & Tamper X-Ray

Role & Hackathon TrackLead Blockchain & Cryptographic Systems Engineer

Trustless B2B Financial Close & Soroban Merkle Notarization

AuditLedger solves the multi-billion-euro enterprise bottleneck of retroactive accounting manipulation across ERP General Ledgers (SAP, Oracle NetSuite, Holded). Before sealing a monthly close on Stellar Soroban, the client-side engine enforces double-entry reconciliation (Debits == Credits), normalizes spreadsheet formatting to eliminate Excel false alarms, and anchors three 32-byte digests on-chain (zero plaintext financials for strict GDPR privacy). During statutory audits, the Merkle Tamper X-Ray pinpoints manipulated journal rows in milliseconds even when an insider offsets Debits and Credits.

100%
Double-Entry Balanced

Total Debits == Total Credits verified in-browser before anchoring on Stellar

3x 32-Byte
On-Chain Cryptographic Proofs

Raw SHA-256 + Canonical Merkle Root + GDPR Salted Commitment (zero plaintext)

< 5s
Soroban Finality

Sub-cent fee on Stellar with Rust/WASM smart contract & native Ed25519 auth

-80%
Audit Tie-Out Hours

Instant row-level Tamper X-Ray across 100k+ ERP journal rows with zero gas fees

Interactive Simulator 1 · External Auditor Portal & Live Merkle Tamper X-Ray

Test the 3 Live HackMeridian Demo Scenarios on the SAP General Ledger (EUR 284,500.00)

Click between the 3 stage demo scenarios below to simulate an external statutory auditor verifying period 2026-10-SAP-GL (journal entries JE-2026-1001..JE-2026-1008, zero gas fees, no wallet required):

VERIFIED ON SOROBAN · AUDITOR CO-SIGNED
tx: c758ffaa...1fe1

100% Mathematical Integrity: Raw Binary & Canonical Merkle Root Match Soroban

The CSV uploaded by the external auditor matches bit-for-bit against the on-chain record notarize("2026-10-SAP-GL") signed by the CFO and co-signed by the statutory auditor via attest_audit. Zero journal entries have been altered since October 31, 2026.

1. Raw Binary SHA-256MATCHES
8f43c92b7e10a65d4c81e902b3a7f612d54098ce1b2f3a40d917e6c5a8b01f42
2. Canonical Merkle Root100% SOROBAN MATCH
94f8e2c17a09d4b65012fa8c3d79e4b1a0c58f23e71c39a804b2d6f15c8e39a0
3. Double-Entry BalanceDelta: EUR 0.00
EUR 284,500.00 == EUR 284,500.00
8 journal rows verified · Statutory Auditor attest_audit co-signed
SAP_General_Ledger_2026_10.csv (Period: 2026-10-SAP-GL)
8/8 cryptographic leaves verified intact
#1 · JE-2026-10012026-10-04GL-1200Accounts Receivable - Enterprise
Dr:EUR 145,000.00
Cr:EUR 0.00
leaf: eb94a108f2..4812
#2 · JE-2026-10022026-10-04GL-4000Enterprise SaaS Annual Revenue
Dr:EUR 0.00
Cr:EUR 145,000.00
leaf: 71c02f94e8..739e
#3 · JE-2026-10032026-10-12GL-5100Cloud Infrastructure & RPC Nodes
Dr:EUR 38,500.00
Cr:EUR 0.00
leaf: 9b41d072c6..6f21
#4 · JE-2026-10042026-10-19GL-4100Software Licensing Revenue
Dr:EUR 0.00
Cr:EUR 62,000.00
leaf: c409e812a7..f504
#5 · JE-2026-10052026-10-19GL-2400Unbilled Suspense & Clearing
Dr:EUR 62,000.00
Cr:EUR 0.00
leaf: 5e18a904c7..f831
#6 · JE-2026-10062026-10-24GL-6200R&D Cryptography & Security Audit
Dr:EUR 39,000.00
Cr:EUR 0.00
leaf: 4d82e519c0..b91b
#7 · JE-2026-10072026-10-28GL-2100Accounts Payable - Cloud & Audit
Dr:EUR 0.00
Cr:EUR 38,500.00
leaf: a190f428c7..f612
#8 · JE-2026-10082026-10-31GL-1010Operating Treasury Bank Settlement
Dr:EUR 0.00
Cr:EUR 39,000.00
leaf: b703e914c8..f329

Interactive Simulator 2 · GDPR Zero-Leakage Proofs & Salted Commitments

Prove a Single Invoice Row or Total Balance Without Exposing Plaintext Financials

To comply with strict European GDPR and corporate confidentiality rules, zero client PII and zero plaintext EUR amounts are ever stored on Stellar. Explore both cryptographic verification modes below:

1. Select Journal Entry to Prove to Tax / Statutory Auditor:
Zero-Leakage Row Merkle Proof

JE-2026-1001 · Accounts Receivable - Enterprise

3 Sibling Hashes (O(log2 8))
Canonical Normalized Leaf String:
1|JE-2026-1001|2026-10-04|1200|EUR 145,000.00|EUR 0.00
Leaf Hash (SHA-256):
eb94a108f23c49d1a7e05b62c819f430d27a6e15b9c04f82e31d7a65c09b4812
Cryptographic Sibling Path (All other 7 rows remain 100% private):
Level 1 Sibling (Right):71c02f94e81d3a60b529c7f1e408d3a26b91c5e0f472a8d3c16e90b4a52f739e
Level 2 Sibling (Right):3a91c804e27b5f19d603a8c4e12f79b05d83e61a4c90f27b8e14d36a5c07f910
Level 3 Sibling (Right):7f3a91e4c802b5d16a49e03f7c18b2d59a60e41c8b37f209d15e6a84c02b7409
Recomputed Root == Soroban On-Chain Merkle Root
94f8e2c17a09d4...

Rust / Soroban Smart Contract Architecture & Live Testnet Evidence

Verifiable On-Chain Evidence on Stellar Testnet

3-Layer End-to-End Cryptographic Architecture

All sensitive ERP parsing happens 100% locally in the browser via Web Crypto API before anchoring three 32-byte digests on Soroban:

STEP 1 · Client Browser (100% Local Processing & GDPR Safe)

Ingests ERP CSV/PDF exports -> Enforces integer-cent Debits == Credits reconciliation -> Normalizes spreadsheet CRLF/dates -> Computes Raw SHA-256, Canonical Merkle Tree, and Salted Commitment.

STEP 2 · Stellar Soroban Rust / WASM Smart Contract

CFO signs via Freighter Wallet or Corporate HSM signer (issuer.require_auth()). The contract blocks duplicate hashes (HashAlreadyNotarized) or period overwrites (PeriodAlreadyClosed) and indexes by Hash, Merkle Root, and Period.

STEP 3 · External Auditor Portal & Printable QR Certificate

External auditors drop the client's CSV: the portal queries Soroban via read-only simulateTransaction (0 XLM gas, no wallet needed), runs the Tamper X-Ray diff, and exports a printable QR Audit Certificate.

The Core Architectural Insight: We Do Not Stop the Initial Lie - We Eliminate the Cover-Up

A common question in blockchain notarization is the Oracle / Garbage-In problem: what if a dishonest CFO uploads a falsified balance sheet on day one? AuditLedger does not claim to replace physical inventory checks - instead, it creates an inescapable cryptographic trap. In traditional cloud databases (AWS RDS, SQL Server), an admin or CFO can silently alter January's accounting entries in November to hide a deficit before an audit. With AuditLedger, monthly closes are cryptographically frozen on Stellar Soroban at month-end via Ed25519 signatures: if anyone alters a single cent months later to cover their tracks, the Merkle Tamper X-Ray exposes the exact manipulated journal row in milliseconds.

Key Technical Innovations Built in Lisbon

01

1. Automated Double-Entry Pre-Close Reconciliation Engine: Parses ERP journal exports client-side and validates 4 accounting invariants (Debits == Credits balance, unposted draft detection, sequence gap checks, and net position calculation) before permitting on-chain anchoring.

02

2. Dual-Hash & Format-Resilient Accounting Merkle Tree: Computes both a raw file SHA-256 and a canonical Accounting Merkle Root that survives benign Excel/CRLF re-saves while guaranteeing cryptographic immutability across thousands of ledger rows.

03

3. Row-Level Tamper X-Ray & Single-Row GDPR Merkle Proofs: Pinpoints exact modified cells (`$8,250.00 -> $18,250.00`), inserted rows, or deleted entries in under 5 seconds, and generates `O(log N)` inclusion proofs to verify a single invoice without revealing the rest of the ledger.

04

4. Rust/WASM Stellar Soroban Smart Contract & Auditor Co-Sign: Deployed production-grade Soroban contract (`CDF4...LKED`) with `issuer.require_auth()` caller authentication, append-only version history (`v1 -> v2`), and on-chain external auditor co-signature (`attest_audit`).

Get in Touch

Tell me about your project and I will get back to you fast. No fluff, no obligation.

Let's Discuss Your Project

Pick a time that works for you. We'll hop on a 30-minute discovery call to discuss your goals. There's absolutely zero obligation, and you'll receive free technical guidance regardless.

Chat on WhatsApp