All projects
Convergent Shield
Autonomous RWA insurance desk: AI underwriting, real-time risk monitoring & cross-chain settlement via CRE
DeFi & Tokenization CRE & AI Risk & Compliance Privacy World Tenderly Thirdweb
What it is
Convergent Shield is an institutional-grade lifecycle management platform for tokenized real-world asset (RWA) insurance. It solves three compounding problems in RWA insurance: manual underwriting that takes weeks, claims processed by hand with no transparency, and settlements that require custodians and intermediaries.
How it works: Six autonomous Chainlink CRE workflows orchestrate the full insurance lifecycle — from property tokenization through parametric monitoring, AI-powered claims adjudication, and cross-chain settlement — with zero human intervention.
- Asset Onboarding — A property owner proposes an asset. The verify-asset CRE workflow calls a TEE enclave via Confidential HTTP to verify encrypted rent-roll data, computes a solvency score, and mints an ERC-721 NFT on Base Sepolia. Raw financial data never leaves the enclave.
- AI Underwriting — When an asset is verified, the ai-underwriter workflow fires. It makes three Confidential HTTP calls: x402-gated risk analysis, weather data, and LLM-enhanced underwriting via AWS Bedrock Claude 3 Haiku. It produces a deterministic risk score plus a natural-language risk narrative, then creates a parametric policy on Arbitrum Sepolia via CCIP.
- Real-Time Risk Monitoring — The monitor-climate workflow runs hourly via CRE Cron, fetching live wind speed data through Confidential HTTP. If wind speed breaches a policy threshold, it fires a CCIP message from Base to Arbitrum and the InsuranceVault triggers an automatic payout. The reserve-health workflow runs every 30 minutes, reading vault collateral ratios across both chains and issuing emergency PAUSE_CLAIMS_AND_INCREASE_RESERVES safeguard intents when solvency drops critically.
- Claims Adjudication — A claimant submits a damage report. The verify-damage workflow verifies human identity via World ID, negotiates an x402 micropayment ($0.01 USDC) to call Vision AI for damage assessment, records the attestation on-chain with the payment receipt as proof, and — if severity ≥ 8/10 — triggers a CCIP cross-chain payout automatically.
- Cross-Chain Settlement — The ccip-settle workflow listens for ClaimApproved events and sends CCIP messages from Base to Arbitrum, where the InsuranceVault pays out ETH to the beneficiary. End-to-end: no intermediary.
The platform spans two testnets (Base Sepolia for assets/claims, Arbitrum Sepolia for liquidity/payouts) with four deployed smart contracts, an x402 payment gateway for autonomous agent commerce, and a Next.js dashboard with live contract reads, demo mode, and full audit logging.
How it Works
Monorepo (Turborepo) with three layers:
- Smart Contracts (Solidity 0.8.24 / Hardhat): 4 contracts — RWAFactory (ERC-721 NFTs on Base), ClaimsAdjuster (AI attestations on Base), CCIPBridge (CCIP messaging via IRouterClient.ccipSend() and ccipReceive()), and InsuranceVault (parametric policies on Arbitrum). All use onlyCRE access control, Pausable, ReentrancyGuard, and gas-optimized struct packing. 88 contract tests passing.
- CRE Workflows (TypeScript): 6 workflows using the CRE SDK — EVMClient.logTrigger and CronCapability for triggers; ConfidentialHTTPClient for privacy-preserving external calls (weather APIs, Vision AI, AWS Bedrock LLM, TEE enclaves); HTTPClient for World ID verification; X402Negotiator for autonomous micropayments; writeReport for on-chain state changes; and CCIP cross-chain messaging. Each workflow has staging/production configs and workflow.yaml definitions. CRE CLI simulation supported via cre.bat/cre.ps1.
- x402 Gateway (Express.js): HTTP 402 payment protocol implementation with EIP-191 signature verification, nonce replay protection, in-memory caching, retry with exponential backoff, request queuing, SSE event streaming, monitoring/alerting, and error tracking. Three paid endpoints (Vision AI $0.01, Risk Analysis $0.005, Weather $0.002) plus free endpoints for TEE, World ID, CRE Confidential Compute, AI Underwriting, and Reserve Health.
- Frontend (Next.js 15, React 19, thirdweb SDK): Dashboard with live dual-chain contract reads, asset onboarding with TEE verification, risk terminal with real-time wind speed charts, claims center with full submission flow, audit log with on-chain event stream filtering, and a demo mode providing deterministic data for judging. 33 frontend tests passing.
AI integration: AWS Bedrock Claude 3 Haiku for LLM-enhanced underwriting narratives; Google Cloud Vision AI for damage assessment. Both accessed through CRE Confidential HTTP — API keys stay inside TEE enclaves via VaultDON secrets.
Total: 220 tests passing (88 contract + 99 gateway + 33 frontend).
Links
Created by
- Pratik Shirodkar