An open vault door with the VaultDEX logo, gold bars inside scanned by a green oracle beam beside a circuit breaker
All cases
RWAWeb3AI

Tokenised Gold With An AI Oracle

Twelve smart contracts to trade, settle and safeguard tokenised gold, including an AI oracle that trips a circuit breaker when prices look wrong.

The Challenge: Bring Physical Gold On-Chain Without New Risks

Institutions want to trade and settle gold on-chain, but only if every token is backed by real bullion, only verified parties can hold it and a bad price feed can’t drain the pools. VaultDEX was designed around the requirements of a DFSA Category 3C licence.

What we built:

  • A gold-backed token

    tGOLD, with proof-of-reserve attestations stored off-chain, minting limited to authorised agents and an optional KYC/AML whitelist.
  • An AI price oracle

    An agent submits the gold price every 60 seconds with a confidence score from anomaly detection. Low confidence triggers a circuit breaker.
  • Trading and liquidity

    An automated market maker with time-weighted prices, slippage protection, multi-hop swaps and gasless approvals.
  • Escrow settlement and governance

    Physical trades settle through a 7-state escrow with multi-sig dispute resolution; admin changes go through a multi-sig and a 24-hour or 7-day timelock.

Our approach:

Tests carry the weight: more than 150 cases across 18 suites, covering unit, integration, security (reentrancy and flash-loan attacks), fuzzing, stress and gas use.

Settlement runs on opBNB for roughly ten times lower gas costs, while trading stays on BNB Chain.

Physical trades settle through a 7-state escrow with multi-sig dispute resolution, and admin changes wait behind a multi-sig and a timelock.

In numbers

What We Can Count About This Project

  • 12
    Smart contracts

    About 3,400 lines of Solidity across trading, gold, AI safety, settlement and governance.

  • 150+
    Tests

    In 18 suites, including fuzz and stress tests.

  • 14
    Verified deployments

    Contracts deployed and verified on BNB Chain testnet.

Technologies

Part Of The Stack

Safeguards Built Into The Contracts

The protection doesn’t depend on someone watching a dashboard.

If the AI isn’t sure about the price, trading pauses itself.

Highlights:

  • Circuit breaker

    Watches volume and suspicious patterns, opens on anomalies and recovers gradually through a test period.
  • On-chain monitoring

    Daily volume, trades, liquidity and unique traders, with alert thresholds for off-chain monitoring.
  • Custody dashboard

    Live oracle prices, circuit breaker state and the proof-of-reserve attestations in one view.
  • Timelocked governance

    Admin changes pass a multi-sig and a 24-hour or 7-day timelock.

See Next Project

NADHR

A Claude-powered platform that classifies innovation requests, blocks vendors that fail compliance controls and explains every match it makes.

AICompliance
View case

Madini

A geospatial ML platform that fuses six-plus satellite and geophysical sources into ranked exploration targets, each with an uncertainty map.

AIData & ML
View case

SolidiFi FX

A fiat-in, fiat-out payments platform with virtual IBANs, KYC and AML screening, and settlement on the XRP Ledger that users never see.

FintechCompliance
View case

SolidiFi Nexus

One React Native codebase for 19 blockchains, Ledger signing over Bluetooth and a security model that passed two independent Cure53 audits.

Web3Mobile
View case

SolidiFi Nexus web & dApp

The web side of Nexus: a multilingual website whose pages come from a CMS, and a dApp to wrap, delegate and claim rewards on Flare.

Web3Web
View case

SolidiFi One website

The website of the SolidiFi group holding in Dubai: a Next.js site on a dedicated design system, with Markdown for AI agents and scripted, reversible deploys.

Web
View case

Let’s talk

info@solidifilabs.com

Not sure where AI fits in your business? In a free 30-minute call we look at your processes and tell you honestly what is worth building, and what isn’t.