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.
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.
Pipeline
Deployment & quality pipeline
- 01Hardhat test suite: 243 contract tests, 119 backend tests, 45 frontend tests
- 02Static analysis + fuzz tests across critical money paths
- 03Internal audit report + production-readiness report as a gate
- 04Deterministic deploy script (Arbitrum One + Sepolia testnet)
- 05Subgraph sync + frontend verification before go-live
Technology stack
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.