ZERONE
Back to projects
DeFi · Smart Contracts · RWA · 2026

Case 02 — RWA-backed NFT yield platform

On-chain protocol on Arbitrum: USDC locked into dynamic Relic NFTs, generating yield from RWA adapters, tradeable on an integrated marketplace. Audit-ready with 96 % coverage.

96 %Test coverage
407Automated tests
6Smart contracts
22 kLines of code

The challenge

A DeFi protocol needed a production-grade bridge between real-world assets and on-chain yield. Requirements: dynamic NFTs as tradeable positions, 6–15 % APR via RWA adapters, community-funded insurance pool, marketplace for early exit — all auditable, gas-optimised on Arbitrum.

Architecture

Solidity core (6 contracts) for locking, yield accrual, insurance pool and marketplace. The-Graph subgraph as indexer. Next.js 14 frontend with Ethers.js for direct wallet interaction. Python backend for off-chain APY computation and reporting. Telegram mini-app for social mechanics.

Next.js 14 · Wallet Connect · Ethers.js v6WEBORCHESTRATORUSDC lock · position mintingVAULTWORKERDynamic NFT · on-chain metadataRELICWORKERRWA adapter · accrual engineYIELDWORKERInsurance pool · claims logicINSWORKERRelic marketplace · offer systemMKTWORKERThe Graph subgraph · event indexIDXPRIMARY
WEBNext.js 14 · Wallet Connect · Ethers.js v6
VAULTUSDC lock · position minting
RELICDynamic NFT · on-chain metadata
YIELDRWA adapter · accrual engine
INSInsurance pool · claims logic
MKTRelic marketplace · offer system
IDXThe Graph subgraph · event index

Pipeline

Deployment & quality pipeline

  1. 01Hardhat test suite: 243 contract tests, 119 backend tests, 45 frontend tests
  2. 02Static analysis + fuzz tests across critical money paths
  3. 03Internal audit report + production-readiness report as a gate
  4. 04Deterministic deploy script (Arbitrum One + Sepolia testnet)
  5. 05Subgraph sync + frontend verification before go-live

Technology stack

Solidity 0.8.24Hardhat · ForgeOpenZeppelinThe GraphEthers.js v6Next.js 14Python (RWA backend)OpenAPI 3.0Arbitrum OneIPFSTelegram Mini-App

Outcome

100 % smart-contract coverage. 407 automated tests. Complete OpenAPI documentation, internal audit passed, production-readiness check complete. The protocol is ready for external audit — not done-until-it-breaks, but verifiably safe.

Similar challenge?

Talk to us — we listen first, deliver second.

Request a project