RegReportCRE
Autonomous, AI-driven Proof of Reserves and regulatory reporting for tokenized Real World Assets.
What it is
What it is: RegReportCRE is a full-stack decentralized application and reference implementation built to automate the auditing, reconciliation, and regulatory reporting of tokenized assets and stablecoins.
What problem it solves: As Real World Assets (RWAs) move on-chain, traditional auditing methods fail to keep pace. Custodian reserve systems are isolated, off-chain, and private, while token supply activity is on-chain, dynamic, and public. Bridging this gap usually requires slow, expensive, and manual spreadsheet reconciliation. If DeFi is going to truly subsume TradFi, protocols need a faster, deterministic way to prove reserves and generate compliance reports without humans in the loop.
How it works: RegReportCRE synchronizes truth. It uses the Chainlink CRE (Confidential Compute) workflow orchestration to execute a monthly deterministic cron schedule. The subnet performs parallel tasks:
- It queries the off-chain Custodian API (via HTTP capabilities) to fetch the fiat/reserve balance.
- It queries the public EVM (via on-chain capabilities) to fetch the true circulating token supply.
- It securely reconciles these numbers. If there is a discrepancy (e.g., more tokens minted than assets in reserve), it flags the anomaly.
- The numerical data is securely passed to an LLM (via OpenRouter integration) to generate a human-readable compliance and security narrative.
- Finally, the CRE workflow packages this data, hashes it, uploads the payload to IPFS, and submits an immutable on-chain attestation to the Sepolia Report Registry.
Issuers and protocols can then visit the Next.js frontend dashboard to view real-time Proof of Reserve metrics, historical attestations, and discrepancies.
How it Works
- Workflow Orchestration: Powered by @chainlink/cre-sdk. The core logic is housed in a workflow.yaml and executed via src/Main.ts, utilizing CronCapability for scheduled runs, HTTP capabilities for off-chain API calls, and EVM capabilities for on-chain reads/writes.
- Smart Contracts: Solidity (ReportRegistry.sol) deployed to Sepolia using Hardhat. It acts as the immutable ledger for report attestations.
- AI Integration: OpenRouter / Google Gemini generates narrative compliance reports by analyzing the reconciled mathematical output.
- Frontend Dashboard: Built with Next.js 15, React 19, and Tailwind CSS.
- Backend Infrastructure: A TypeScript/Express API server to serve dashboard data, decode IPFS payloads, and mock custodian responses for testing.
Links
Created by
- Femi Asifat
- Richard Omotayo