vestor

VESTOR: RWA inventory financing with tokenized collateral and automated USDT credit distributions.

vestor

Created At

ETHGlobal Mumbai

Project Description

VESTOR transforms illiquid physical warehouse inventory into programmable, asset-backed debt tranches on Whitechain Sepolia (Chain ID 1874). Operating at the intersection of supply chain logistics and on-chain credit, VESTOR enables commodity enterprises to unlock upfront working capital by securitizing verified warehouse receipts. Featuring EIP-712 cryptographic off-take attestations, smart-contract-enforced compliance allowlists and lockups, and deterministic 5-tier cash-flow waterfalls, VESTOR settles every investment subscription and yield distribution natively in official testnet USDT with sub-two-second finality and sub-cent gas fees.

How it's Made

VESTOR is an institutional-grade Real World Asset (RWA) tokenization and credit facility platform built on a four-tier architecture consisting of Solidity smart contracts, a Node.js/TypeScript blockchain adapter, a Go 1.24 core backend, and a Next.js 14 web portal. Certified warehouse inventory is uploaded to our Go service, which calculates haircut valuations, bundles inspection receipts into an immutable SHA-256 evidence root, and stages transactions via a database transactional outbox. A dedicated Node.js adapter pulls these tasks and calls InventoryRegistry and InventoryTokenFactory on-chain to issue asset-backed debt tranches. Investors fund these tranches by depositing official 6-decimal USDT into FinancingVault, while subsequent retail off-take sales are cryptographically verified through SalesSettlement using EIP-712 structured signatures before being routed into a 5-tier waterfall engine (DistributionManager) where lenders claim their yield via Merkle proofs.

Deploying on Whitechain Sepolia (Chain ID: 1874) with canonical USDT settlement provided critical structural advantages over traditional banking rails and congested L1s. Whitechain’s ~2-second block finality completely eliminates counterparty double-pledging risk—where issuers traditionally exploit the T+2/T+3 banking delay to pledge the same warehouse commodity to multiple lenders—by guaranteeing that collateral encumbrance and USDT loan funding happen atomically within the same block. Furthermore, Whitechain's sub-cent gas fees ($0.0001 per tx) enabled us to abandon the customary 30–90 day batch payout cycles of invoice factoring and instead execute high-frequency, real-time micro-waterfall yield streaming directly to investors whenever an individual off-take invoice clears.

A notable technical challenge arose from Whitechain’s public RPC, which enforces a strict 10,000-block ceiling on eth_getLogs. Because Whitechain mines blocks every ~2 seconds, that 10,000-block limit elapses in just ~5.5 hours, causing standard Web3 event indexers to crash when querying historical contract events. To resolve this without running a heavy external indexer, we implemented a custom 5,000-block sliding-window chunked pagination engine with cursor tracking across our adapter and frontend listeners. Additionally, we bound off-chain ERP delivery documents to on-chain state by hashing physical receipts into SHA-256 roots and combining them with EIP-712 typed digests, ensuring cryptographic auditability and zero state desynchronization between PostgreSQL and the EVM ledger.

background image mobile

Join the mailing list

Get the latest news and updates

vestor | ETHGlobal